This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: undefined reference to `foo()'
- From: John Love-Jensen <eljay at adobe dot com>
- To: Ramírez Gengis Kanhg Toledo <gengiskanhg dot geo at yahoo dot com>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Thu, 14 Dec 2006 06:58:21 -0600
- Subject: Re: undefined reference to `foo()'
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