undefined reference to `foo()'

John Love-Jensen eljay@adobe.com
Thu Dec 14 12:58:00 GMT 2006


Hi Ramirez,

I recommend you look for where the missing symbol is located (which .o or .a
or .so), and then investigate why that symbol is not available to the
linker.

The 'nm' command is helpful to see what symbols are in what files.

HTH,
--Eljay



More information about the Gcc-help mailing list