GCC undefined object reference

manaankit2 ankit.anand1@wipro.com
Thu Aug 11 11:36:00 GMT 2011


Hello,

I have a c file which uses the function defined in a library. In my makefile
i am providing the -lCOM option with gcc. Where COM is the library. The
Library Path is there in the LD_LIBRARY_PATH. 

But when i run the gmake, i get the error which says that undefined Object
reference.
That function is there in the COM lib(libCOM.a).

Can someone help me with the same?
-- 
View this message in context: http://old.nabble.com/GCC-undefined-object-reference-tp32241304p32241304.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list