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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Christian Convey" <christian.convey@xxxxxxxxx> 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux