rutura/The-C-20-Masterclass-Source-Code

Undefined reference error

Closed this issue · 1 comments

gijso commented

I keep getting the following error when trying to compile the code as provided in 16.4MultipleFiles_CompilationModelRevisited: undefined reference to `incr_mult(int, int)' collect2.exe: error: ld returned 1 exit status

I copied the files which should be fine. I cannot find any solution, I tried everything from reinstalling GCC to restarting my pc. Please help

You should ask on Stack overflow, Reddit or some other active forums, I don't know how to help you, but here noone will respond you