1 msgcross compiler building
2 msgx86_64-pc-mingw32
1 msgComparison failure Comiling 4.2 svn on RedHat EL-3
1 msgRe: Compilation Error on AIX 5.3 with g++ 3.3.2
2 msgg77 question.
1 msgBasic blocks and profiling information
3 msgVariadic macros and commas
1 msgBuilding cross compiler
2 msgMissing file in GCC build
4 msgbetter load/store scheduling
9 msgIs there a free substitute for Flexilint?
4 msgHow to pass function names as parameter?
1 msgwhat is the exact nature of special treatment t...
4 msgglibc-2.5 compilation failing
12 msgAdding include directories (-I)
2 msglanguages supported by gcc-3.x
3 msgbuilding gcc cross compiler
1 msgbuilding gcc-3.x cross compiler
3 msgcannot exec cpp0

Linker problems: dependencies with .a file not ...
\ Christian Convey (27 Feb 2007)
. \ Christian Convey (28 Feb 2007)
. . \ Ian Lance Taylor (28 Feb 2007)

Subject:Re: Linker problems: dependencies with .a file not resolved?
Group:Gcc-help
From:Ian Lance Taylor
Date:28 Feb 2007


"Christian Convey" <christian.convey> writes:

> ImageReader.cpp:(.text+0x90): undefined reference to
> `uriVideoSources::ImageReader_gen::getFrame_(bool,
> uriBase::RasterImage*)'
>
> (there are more errors as well, but I figured this was enough to make my point).
>
> I thought that perhaps the supposedly missing function wasn't in the
> .a file, so I check with nm as follows:
>
> cjc@peace:~$ nm --demangle
> /home/cjc/csc583-svn/uriVisionLib/trunk/Development/Source/C++/liburiVision.a
> | grep outputFrame
> 0000002c T uriMovieEditing::ImageWriter::outputFrame(uriBase::RasterImage*)
> 00000000 T uriMovieEditing::ImageWriter::outputFrame(uriBase::RasterImage*,
> bool)
> U uriMovieEditing::ImageWriter_gen::outputFrame_(uriBase::RasterImage*,
> bool)

The error above refers to
uriVideoSources::ImageReader_gen::getFrame_(bool, uriBase::RasterImage*)
You didn't show whether the library defines that symbol or not.

Ian


© 2004-2008 readlist.com