-
issues with libraries
I am getting " undefined reference " errors at compile time with the following symbols :
f_clos , s _ copy , do_lio , e_wsle etc...
I came to know, f_clos comes under libf77 or libI77.. But, I dont have it on my machine..
I know how these .a and .so lib files are created , can we get the .c files that are used to generate these lib files?
-
what compiler are you using? GNU source is available on their web site.
-
I am using GCC 3. 2. 2.
Ok, I will take a look...
-
one thing that will trip you up is if you attempt to compile and link C source code (with *.c extension) with a c++ compiler and c++ libraries. It can be done but only if the c++ libraries were compiled with extern "C" scoping so that the compiler does not mangle the function names. I don't know if the libraries you are trying to link with have that problem or now.