ld error
Posted: Sat Jul 24, 2004 5:53 pm
ld reported a message like :
"undefiend reference f in file mainfile.c "
f is a function declared in a header , say : "file.h" and I included it in mainfile.c !!
when I put
#include "file.c" instead of #include "file.h" , things go right !
thanks
"undefiend reference f in file mainfile.c "
f is a function declared in a header , say : "file.h" and I included it in mainfile.c !!
when I put
#include "file.c" instead of #include "file.h" , things go right !
thanks