On Tuesday 24 April 2007 19:10, Mathias Fröhlich wrote:
> On Monday 23 April 2007, Andy Ross wrote:
> > Indeed.  Nonetheless, from a build just completed:
> >
> > $ ldd ./yasim
> >         libdl.so.2 => /lib/libdl.so.2 (0x00002ac79e774000)
> >         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002ac79e878000)
> >         libm.so.6 => /lib/libm.so.6 (0x00002ac79ea78000)
> >         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002ac79ebf9000)
> >         libc.so.6 => /lib/libc.so.6 (0x00002ac79ed07000)
> >         /lib64/ld-linux-x86-64.so.2 (0x00002ac79e657000)
> >
> > Those extra SimGear libraries don't require anything from OSG, except
> > perhaps the compile-time headers.  Are you doing anything fancy like
> > building SimGear as a shared library?
>
> Hmm, the same for me.
> What symbols are missing for you link?
>

Hi Matthias (and Andy),

In response to Andy's question; no, I don't recall doing anything fancy, 
just ./configure; make; make install where appropriate. I also completely 
removed every hint of SimGear and OSG from /usr/local/include 
and /usr/local/lib, and recompiled the "clean" versions of OpenThreads, 
Producer, OpenSceneGraph, and SimGear, but still yasim standalone refuses to 
compile. 

FWIW, I'm using gcc 3.3.5. 20050117, as part of Suse 9.3.
[EMAIL PROTECTED]:/usr/include> gcc --version
gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


In response to Matthias, here's the full error log produced by g++. I tried 
googeling the exact error message, but that didn't bring up anything.

Cheers,
Durk



if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. 
-I../../../src  -I/usr/X11R6/include -I/usr/local/include  -g -O2 
-D_REENTRANT -MT yasim-test.o -MD -MP -MF ".deps/yasim-test.Tpo" -c -o 
yasim-test.o yasim-test.cpp; \
then mv -f ".deps/yasim-test.Tpo" ".deps/yasim-test.Po"; else rm -f 
".deps/yasim-test.Tpo"; exit 1; fi
g++  -g -O2 -D_REENTRANT  -L/usr/X11R6/lib -L/usr/local/lib -o yasim  
yasim-test.o Airplane.o Atmosphere.o ControlMap.o FGFDM.o Gear.o Glue.o 
Ground.o Hitch.o Hook.o Launchbar.o Integrator.o Jet.o Math.o Model.o 
PropEngine.o Propeller.o PistonEngine.o TurbineEngine.o RigidBody.o Rotor.o 
Rotorpart.o SimpleJet.o Surface.o Thruster.o Wing.o Turbulence.o -lsgxml 
-lsgprops -lsgdebug -lsgmisc -lsgstructure -ldl -lm
Gear.o(.gnu.linkonce.r._ZTIN3osg6ObjectE+0x8): undefined reference to 
`typeinfo for osg::Referenced'
Gear.o(.gnu.linkonce.t._ZN3osg12NodeCallbackclEPNS_4NodeEPNS_11NodeVisitorE+0x5):
 
In function `osg::NodeCallback::operator()(osg::Node*, osg::NodeVisitor*)':
/usr/local/include/osg/NodeCallback:45: undefined reference to 
`osg::NodeCallback::traverse(osg::Node*, osg::NodeVisitor*)'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD2Ev+0x5a): In function 
`osg::Object::~Object [not-in-charge]()':
/usr/include/c++/3.3.5/bits/stl_alloc.h:656: undefined reference to 
`osg::Referenced::~Referenced [not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD2Ev+0xa1): In function 
`osg::Object::~Object [not-in-charge]()':
/usr/local/include/osg/Referenced:173: undefined reference to 
`osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD2Ev+0xc2):/usr/local/include/osg/Referenced:174:
 
undefined reference to `osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD2Ev+0xed): In function 
`osg::Object::~Object [not-in-charge]()':
/usr/include/c++/3.3.5/bits/stl_alloc.h:656: undefined reference to 
`osg::Referenced::~Referenced [not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD0Ev+0x5a): In function 
`osg::Object::~Object [in-charge deleting]()':
/usr/include/c++/3.3.5/bits/stl_alloc.h:656: undefined reference to 
`osg::Referenced::~Referenced [not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD0Ev+0xa1): In function 
`osg::Object::~Object [in-charge deleting]()':
/usr/local/include/osg/Referenced:173: undefined reference to 
`osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD0Ev+0xc2):/usr/local/include/osg/Referenced:174:
 
undefined reference to `osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD0Ev+0xed): In function 
`osg::Object::~Object [in-charge deleting]()':
/usr/include/c++/3.3.5/bits/stl_alloc.h:656: undefined reference to 
`osg::Referenced::~Referenced [not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD1Ev+0x5a): In function 
`osg::Object::~Object [in-charge]()':
/usr/include/c++/3.3.5/bits/stl_alloc.h:656: undefined reference to 
`osg::Referenced::~Referenced [not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD1Ev+0xa1): In function 
`osg::Object::~Object [in-charge]()':
/usr/local/include/osg/Referenced:173: undefined reference to 
`osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD1Ev+0xc2):/usr/local/include/osg/Referenced:174:
 
undefined reference to `osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZN3osg6ObjectD1Ev+0xed): In function 
`osg::Object::~Object [in-charge]()':
/usr/include/c++/3.3.5/bits/stl_alloc.h:656: undefined reference to 
`osg::Referenced::~Referenced [not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZN3osg12NodeCallbackD0Ev+0xa1): In function 
`osg::NodeCallback::~NodeCallback [in-charge deleting]()':
/usr/local/include/osg/Referenced:173: undefined reference to 
`osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZN3osg12NodeCallbackD0Ev+0xbf):/usr/local/include/osg/Referenced:174:
 
undefined reference to `osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZN3osg12NodeCallbackD1Ev+0x91): In function 
`osg::NodeCallback::~NodeCallback [in-charge]()':
/usr/local/include/osg/Referenced:173: undefined reference to 
`osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZN3osg12NodeCallbackD1Ev+0xaf):/usr/local/include/osg/Referenced:174:
 
undefined reference to `osg::Referenced::getDeleteHandler()'
Gear.o(.gnu.linkonce.t._ZNK3osg12NodeCallback5cloneERKNS_6CopyOpE+0x19): In 
function `osg::NodeCallback::clone(osg::CopyOp const&) const':
/usr/local/include/osg/Object:53: undefined reference to 
`osg::Referenced::Referenced[not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZNK3osg12NodeCallback9cloneTypeEv+0x18): In function 
`osg::NodeCallback::cloneType() const':
/usr/local/include/osg/Object:53: undefined reference to 
`osg::Referenced::Referenced[not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZNK3osg8StateSet8Callback5cloneERKNS_6CopyOpE+0x18): 
In function `osg::StateSet::Callback::clone(osg::CopyOp const&) const':
/usr/local/include/osg/Object:53: undefined reference to 
`osg::Referenced::Referenced[not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZNK3osg8StateSet8Callback9cloneTypeEv+0x18): In 
function `osg::StateSet::Callback::cloneType() const':
/usr/local/include/osg/Object:53: undefined reference to 
`osg::Referenced::Referenced[not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZNK3osg7Uniform8Callback5cloneERKNS_6CopyOpE+0x18): In 
function `osg::Uniform::Callback::clone(osg::CopyOp const&) const':
/usr/local/include/osg/Object:53: undefined reference to 
`osg::Referenced::Referenced[not-in-charge]()'
Gear.o(.gnu.linkonce.t._ZNK3osg7Uniform8Callback9cloneTypeEv+0x18):/usr/local/include/osg/Object:53:
 
more undefined references to `osg::Referenced::Referenced[not-in-charge]()' 
follow
collect2: ld returned 1 exit status
make[3]: *** [yasim] Error 1

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to