Are you sure you have Simgear installed?
barrabas:/usr1/HAMRADIO/QEX # grep -r global_logstream /usr/include/*
grep: warning: /usr/include/gnome-xml/libxml: recursive directory loop
/usr/include/simgear/debug/logstream.hxx:extern logstream
*global_logstream;
/usr/include/simgear/debug/logstream.hxx: if (global_logstream == NULL)
{
/usr/include/simgear/debug/logstream.hxx: global_logstream = new
logstream (cerr);
/usr/include/simgear/debug/logstream.hxx: return *global_logstream;
Regards
Sid.
On Tue, 2003-01-07 at 01:04, Roland H�der wrote:
> On Tuesday 07 January 2003 01:41, Sid Boyce wrote:
> > I had no trouble compiling it all for SuSE 8.1 and with the patches
> > supplied, I have the CH control yoke and Rudder pedals working on
> > 2.4.20.
> I have SuSE 8.0 with online-updated rpms and some self-compiled apps and games.
>
> gcc -v tells me: gcc version 2.95.3 20010315 (SuSE)
>
> Well, FlightGear isn't the only-one program which makes trouble here. Also
>Counter-Strike and not-useable framerates in Direct-3D games over WineX make trouble.
>I got WineX (always latest CVS) compiled but e.g. Counter-Strike is terminating with
>an error.
>
> The current output of make all on FlightGears well configured source code tree
>(./configure --with-network-olk --with-weathercm --with-threads
>--with-jpeg-factory=yes) does end up at this last file: (maybe word-wrapped)
>
> make[2]: Entering directory `/root/Test/Extract/FlightGear/src/Airports'
> g++ -g -O2 -D_REENTRANT -L/usr/X11R6/lib -o gensimple gensimple.o libAirports.a
>-lsgdebug -lsgmisc -lsgxml -lmk4 -lz -ljpeg -lm
>
> and "produces" these error messages:
>
> gensimple.o: In function `logstream_base type_info function':
> /usr/include/g++/stl_set.h:61: undefined reference to `global_logstream'
> /usr/include/g++/stl_set.h:61: undefined reference to `global_logstream'
> /usr/include/g++/stl_set.h:61: undefined reference to `global_logstream'
> libAirports.a(simple.o): In function `gzifstream_base type_info function':
> /usr/include/g++/stl_set.h(.text+0x3d): undefined reference to
>`c4_Storage::c4_Storage(char const *, int)'
> /usr/include/g++/stl_set.h(.text+0x99): undefined reference to `global_logstream'
> /usr/include/g++/stl_set.h(.text+0x1ad): undefined reference to `global_logstream'
> /usr/include/g++/stl_set.h(.text+0x1cc): undefined reference to `global_logstream'
> libAirports.a(simple.o): In function `FGAirportsUtil::load(basic_string<char,
>string_char_traits<char>, __default_alloc_template<true, 0> > const &)':
> /usr/local/include/simgear/debug/logstream.hxx:267: undefined reference to
>`global_logstream'
> /usr/local/include/simgear/debug/logstream.hxx:279: undefined reference to
>`global_logstream'
> libAirports.a(simple.o):/usr/local/include/simgear/debug/logstream.hxx:282: more
>undefined references to `global_logstream' follow
> libAirports.a(simple.o): In function `FGAirportsUtil::dump_mk4(basic_string<char,
>string_char_traits<char>, __default_alloc_template<true, 0> > const &)':
> /root/Test/Extract/FlightGear/src/Airports/simple.cxx:197: undefined reference to
>`c4_Storage::c4_Storage(char const *, int)'
> /root/Test/Extract/FlightGear/src/Airports/simple.cxx:228: undefined reference to
>`c4_Storage::Commit(bool)'
> collect2: ld returned 1 exit status
> make[2]: *** [gensimple] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> I have backtraced it and ends at the libstdc++ headers.
>
> Do you have any idea? Or do you need more infos?
>
> Regards,
> Roland
>
>
> _______________________________________________
> Flightgear-users mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-users
--
Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot
Linux only shop
_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users