On 27 Feb 2007 21:11:26 -0800, Ian Lance Taylor <[EMAIL PROTECTED]> wrote:
"Christian Convey" <[EMAIL PROTECTED]> 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:
>
> [EMAIL PROTECTED]:~$ 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


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:

[EMAIL PROTECTED]:~$ 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*)

Reply via email to