-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Thanks to timoore on IRC for helping find the cause of this.

It seems that a recent checkin broke the build system if osg is installed in a 
custom location.
- --with-osg=/home/anmaster/local/flightgear-osg in my case.

I got this from configure:
checking osg/Version usability... yes
checking osg/Version presence... yes
checking for osg/Version... yes
./configure: line 11740: USE_OSGDEBUG: command not found
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

but configure finished successfully.

But then I got this at the final linking of the binary:
../../src/Main/libMain.a(renderer.o): In function 
`fgDumpTerrainBranchToFile(char const*)':
renderer.cxx:(.text+0x2bb): undefined reference to 
`osgDB::Registry::instance(bool)'
renderer.cxx:(.text+0x2cd): undefined reference to 
`osgDB::writeNodeFile(osg::Node const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, 
osgDB::
ReaderWriter::Options const*)'
../../src/Main/libMain.a(renderer.o): In function `fgDumpSceneGraphToFile(char 
const*)':
renderer.cxx:(.text+0x380): undefined reference to 
`osgDB::Registry::instance(bool)'
renderer.cxx:(.text+0x392): undefined reference to 
`osgDB::writeNodeFile(osg::Node const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, 
osgDB::
ReaderWriter::Options const*)'
../../src/Main/libMain.a(renderer.o): In function `fgDumpNodeToFile(osg::Node*, 
char const*)':
renderer.cxx:(.text+0x439): undefined reference to 
`osgDB::Registry::instance(bool)'
renderer.cxx:(.text+0x44b): undefined reference to 
`osgDB::writeNodeFile(osg::Node const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, 
osgDB::
ReaderWriter::Options const*)'
../../src/Main/libMain.a(renderer.o): In function `FGRenderer::update(bool)':
renderer.cxx:(.text+0x7a5): undefined reference to 
`osg::FrameStamp::setCalendarTime(tm const&)'
../../src/Main/libMain.a(renderer.o): In function 
`__static_initialization_and_destruction_0(int, int)':

And about 6000 lines more like that...

After reverting according to timoore's instructions:
<timoore> cvs update -r1.125 configure.ac
<timoore> cvs update -r1.79 src/Main/Makefile.am
and re-running autogen.sh
the building works again.


Regards,

Arvid Norlander



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHh0J6WmK6ng/aMNkRCgfSAJ9ORAZOIibUKrFjFyGuQ4GtomHmoACZAR5E
fROUIZD+pRDWN2RnXlHyOT0=
=LICF
-----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

Reply via email to