3

I am doing filter less comfortable in pset4. My filter file compiles fine, but helpers.c gives the following error : clang-7: error: linker command failed with exit code 1 (use -v to see invocation)

Help50 told me to include a main function in helpers, so i simply wrote int main(void){return 0;}, but than filter won't compile!

i don't know what to do!

1 Answer 1

3

You are not meant to compile helpers.c to its own programme. Just make filter. The Makefile will make sure that helpers.c gets compiled as well, and that it gets linked into filter.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .