I am using a function written by someone else, that I am trying to use myself. It doesnt run successfully with the GCC compiler, but I think the issues are solveable - with a little help:
I have a file called mat.c that is included in my project it has a load of lines like this in it
extern void vectorfprint(fd, n, x) ; //ベクトル x の出力
about 20 of them.
the function i am using calls this line
vectorfprint(fd, nvar, simp[i]);
however it states that it is an undefined reference to vectorfprint although mat.c is included in the project. How do i define it?



LinkBack URL
About LinkBacks



