Without looking too closely, have you built all the pieces (openal, plib, simgear, flightgear) with the same version of the compiler? Occasionally if you upgrade your compiler, it can change the munging scheme and then newly compiled code can't link properly with older compiled code and you can get a ton of undefined references ...

Curt.



Sid Boyce wrote:

Any ideas?
/usr/include/g++/bits/stl_tree.h:660: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_S_free_list'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libsgenvironment.a(metar.o)(.gnu.linkonce.t._ZNSt8_Rb_treeISsSt4pairIKSs13SGMetarRunwayESt10_Select1stIS3_ESt4lessISsESaIS3_EE14_M_create_nodeERKS3_+0x8e):/usr/include/g++/bits/stl_tree.h:657: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_S_node_allocator_lock'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libsgenvironment.a(metar.o)(.gnu.linkonce.t._ZNSt8_Rb_treeISsSt4pairIKSs13SGMetarRunwayESt10_Select1stIS3_ESt4lessISsESaIS3_EE14_M_create_nodeERKS3_+0x9d): In function `std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, SGMetarRunway>, std::_Select1st<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, SGMetarRunway> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, SGMetarRunway> > >::_M_create_node(std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, SGMetarRunway> const&)':
/usr/include/g++/bits/stl_iterator.h:735: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::_S_node_allocator_lock'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libsgenvironment.a(metar.o)(.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_+0x1c): In function `std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/g++/bits/stl_tree.h:1039: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libsgenvironment.a(metar.o)(.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_+0x26):/usr/include/g++/bits/stl_tree.h:235: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../libsgdebug.a(logstream.o)(.gnu.linkonce.r._ZTV6logbuf+0x18):/ftp/oct04/SimGear-0.3.7/simgear/debug/logstream.hxx:176: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::seekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode)'
collect2: ld returned 1 exit status
make[2]: *** [metar] Error 1
make[2]: Leaving directory `/usr/lib/FlightGear-0.9.6/src/Main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/lib/FlightGear-0.9.6/src'
make: *** [install-recursive] Error 1
===================================================
./configure --prefix=/usr --with-threads --with-simgear=/usr --with-plib=/usr --build=athlon --sysconfdir=/etc --mandir=/usr/share/man --includedir=/usr/include


plib-1.8.4-1, SimGear-0.3.7 and latest openal.

Regards
Sid.



--
Curtis Olson http://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/
FlightGear Project http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d



_______________________________________________ Flightgear-users mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to