On Thu, Mar 25, 2010 at 8:58 PM, Roland Haeder <r.hae...@gmx.de> wrote:

> Not yet solved:
> --------------------
> libMain.a(main.o): In function `osg::Referenced::unref() const':
> /usr/local/include/osg/Referenced:194: undefined reference to
> `osg::Referenced::signalObserversAndDelete(bool, bool, bool) const'
> --------------------
> And many more of them. OSG is checked out from tag 2.9.7:
>
> http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.7
>
> Please assist. :)
>
It looks like your OSG libraries are out of sync with your header files. You
might need to run ldconfig.

Tim

>
> Roland
>
> On Tue, 2010-03-09 at 19:57 +0100, Roland Haeder wrote:
> > Hi all,
> >
> > I still have linker problems. I use the following compiler and linker:
> >
> > - GCC 4.4.3-3 (Debian Unstable)
> > - GNU ld (GNU Binutils for Debian) 2.20
> >
> > I still got tons of these messages:
> > -------------------------------
> > libMain.a(main.o): In function `osg::Referenced::unref() const':
> > /usr/local/include/osg/Referenced:194: undefined reference to
> > `osg::Referenced::signalObserversAndDelete(bool, bool, bool) const'
> > -------------------------------
> >
> > OSG is 2.9.7 can compiles without errors (no special options specified).
> >
> > SimGear is recent CVS (updated some minutes ago) and compiles:
> >
> > ./configure --with-jpeg-factory --prefix=/opt/ --with-osg=/usr/local
> >
> > FlightGear is also updated some minutes ago and compiles but does not
> > link.
> >
> > ./configure --with-osg=/usr/local --with-eventinput --with-logging
> > --enable-osgviewer --enable-sp-fdms --prefix=/opt/
> > --datarootdir=/home/quix0r/fgfs/fgfs-base/data/
> >
> > I use these "special" environment variables:
> > ----------------------------------------------
> > declare -x CC="ccache gcc"
> > declare -x CXX="ccache g++"
> > declare -x CXXFLAGS="-g -O0"
> > ----------------------------------------------
> >
> > As I found out with the help from Jester (strace), the linker seems to
> > take the right lib but cannot link it.
> >
> > I already tried GCC 4.3.x but doesn't help. :(
> >
> > Please help me here. :)
> >
> > Regards,
> > Roland
> >
> > [spam killed... :(]
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to