This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linker problems: dependencies with .a file not resolved?


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]