This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linker problems: dependencies with .a file not resolved?
- From: Ian Lance Taylor <iant at google dot com>
- To: "Christian Convey" <christian dot convey at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 28 Feb 2007 07:15:30 -0800
- Subject: Re: Linker problems: dependencies with .a file not resolved?
- References: <6addebae0702271411r5d782711s46abb0695ae03cf7@mail.gmail.com> <6addebae0702272002t55a33eednee53218b25d81e10@mail.gmail.com> <m3fy8q6f41.fsf@localhost.localdomain> <6addebae0702280703w75c4a71awaa5047f1aa53e08c@mail.gmail.com>
"Christian Convey" <christian.convey@gmail.com> writes:
> Sorry, I re-typed the operation to have output for my email and
> goofed. But the symbol really does appear to be in the archive:
>
> cjc@peace:~$ nm --demangle
> /home/cjc/csc583-svn/uriVisionLib/trunk/Development/Source/C++/liburiVision.a
> | grep "uriVideoSources::ImageReader_gen::getFrame"
> U uriVideoSources::ImageReader_gen::getFrame_(bool)
> U uriVideoSources::ImageReader_gen::getFrame_(bool,
> uriBase::RasterImage*)
This question should be on gcc-help@gcc.gnu.org, not on
gcc@gcc.gnu.org. The latter list is for gcc developers. In fact, I
thought I answered on gcc-help. Please take any followups to
gcc-help. Thanks.
When nm lists a symbol with 'U', it means that there is an undefined
reference to that symbol. It does not mean that the symbol is
defined. This is fully consistent with the error messages you are
seeing.
Ian