-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 This does NOT solve it:
from configure after update to your patched version: checking for osg/Version... yes checking for osgViewerGetVersion in -losgViewer... no checking for osgGAGetVersion in -losgGA... no checking for osgTextGetVersion in -losgText... no checking for osgUtilGetVersion in -losgUtil... no checking for osgDBGetVersion in -losgDB... no checking for osgSimGetVersion in -losgSim... no checking for osgGetVersion in -losg... no checking for OpenThreadsGetVersion in -lOpenThreads... no Later: g++ -pipe -march=k8 -O2 -I/home/arvid/local/flightgear-osg -D_REENTRANT -Wl,-O1,--hash-style=both - -L/home/arvid/local/flightgear-osg/lib -L/usr/X11R6/lib -L/usr/local/lib -o calc_loc calc_loc.o - -lsgmath -lsgdebug -lsgmisc -lz -ldl -lm -losgFX /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libosgUtil.so.27, needed by /home/arvid/local/flightgear-osg/lib/libosgFX.so, not found (try using - -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libosgDB.so.27, needed by /home/arvid/local/flightgear-osg/lib/libosgFX.so, not found (try using - -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libosg.so.27, needed by /home/arvid/local/flightgear-osg/lib/libosgFX.so, not found (try using - -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libOpenThreads.so.9, needed by /home/arvid/local/flightgear-osg/lib/libosgFX.so, not found (try using -rpath or -rpath-link) calc_loc.o: In function `main': calc_loc.cxx:(.text+0x21a): undefined reference to `SGGeodesy::direct(SGGeod const&, double, double, SGGeod&, double&)' calc_loc.cxx:(.text+0x32f): undefined reference to `SGGeodesy::inverse(SGGeod const&, SGGeod const&, double&, double&, double&)' calc_loc.cxx:(.text+0x3b2): undefined reference to `SGGeodesy::direct(SGGeod const&, double, double, SGGeod&, double&)' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::NodeVisitor::~NodeVisitor()' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::TexEnvCombine::TexEnvCombine()' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::Group::removeChildren(unsigned int, unsigned int)' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::VertexProgram::VertexProgram()' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::TexEnvCombine::setOperand1_RGB(int)' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::Group::releaseGLObjects(osg::State*) const' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `virtual thunk to osg::NodeVisitor::~NodeVisitor()' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osgUtil::CubeMapGenerator::generateMap(bool)' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::Group::insertChild(unsigned int, osg::Node*)' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::Material::setEmission(osg::Material::Face, osg::Vec4f const&)' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::Material::setSpecular(osg::Material::Face, osg::Vec4f const&)' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `typeinfo for osg::Group' /home/arvid/local/flightgear-osg/lib/libosgFX.so: undefined reference to `osg::Texture::setWrap(osg::Texture::WrapParameter, osg::Texture::WrapMode)' [and a lot more of that] For now I'll revert again. Regards, Arvid Norlander Curtis Olson wrote: > I just committed a patch that should fix this configure.ac problem. Guys, > it looks like no one tested this patch before committing it, or didn't look > close enough at the result. It doesn't bother me that mistakes happen once > in a while ... this is the dev tree after all, but it makes me nervous ... > this wasn't a typo or inadvertant bug, it was a clear misunderstanding of > the automake/autoconf system ... and it's hard to imagine this was ever > tested, otherwise it should have been clear that it didn't do what was > intended. Anyway, it should now be fixed, so on with life ... :-) > > Curt. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFHiKyBWmK6ng/aMNkRCtz4AJ41I4iatsY9puL0vvsH8QK75q9TlwCgyo74 AmSg6ErO7S4RFUjGSzbMSK4= =QKNu -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel