I managed to compile FlightGear/SimGear under NetBSD, with a few minor
changes and a bit of time. I have not changed anything other than what I
expected it needed in order to make it compile.

It dies while getting preferences. Here is a bt. I'd be glad if anyone has
any ideas. Sorry if this is a FAQ, I searched the mailing list archives.

FlightGear:  Version 0.9.2
Built with GNU C++ version 2.95

Scanning command line for: --fg-root=
fg_root = /usr/local/FlightGear-0.9.2
Reading global preferences
Finished Reading global preferences
Unable to detect the language
Selecting language: C
Reading localized strings from
/usr/local/FlightGear-0.9.2/data/Translations/strings-default.xml

Program received signal SIGSEGV, Segmentation fault.

#0  0x485db53d in __rethrow () from /usr/pkg/lib/libmk4.so
#1  0x485db67b in __rethrow () from /usr/pkg/lib/libmk4.so
#2  0x485db6dd in __rethrow () from /usr/pkg/lib/libmk4.so
#3  0x485dbdd8 in __frame_state_for () from /usr/pkg/lib/libmk4.so
#4  0x485db0f0 in __throw () from /usr/pkg/lib/libmk4.so
#5  0x485d84d1 in __builtin_new () from /usr/pkg/lib/libmk4.so
#6  0x8477921 in SGPropertyNode::getChild (this=0xff49000,
    name=0xff3984a "multiple-instance", index=0, create=true) at
props.cxx:871
#7  0x8480880 in PropsVisitor::startElement (this=0xbfbff2b8,
    name=0xff3984a "multiple-instance", [EMAIL PROTECTED]) at
props_io.cxx:175
#8  0x84907f8 in start_element (userData=0xbfbff2b8,
    name=0xff3984a "multiple-instance", atts=0xfef3600) at easyxml.cxx:175
#9  0x8494623 in doContent () at /usr/include/g++/std/bastring.h:218
#10 0x8493adf in contentProcessor () at
/usr/include/g++/std/bastring.h:218
#11 0x8496617 in prologProcessor () at /usr/include/g++/std/bastring.h:218
#12 0x8496286 in prologInitProcessor () at
/usr/include/g++/std/bastring.h:218
#13 0x8493434 in XML_Parse () at /usr/include/g++/std/bastring.h:218
#14 0x8490bc3 in readXML ([EMAIL PROTECTED], [EMAIL PROTECTED],
    [EMAIL PROTECTED]) at easyxml.cxx:231
#15 0x8491543 in readXML ([EMAIL PROTECTED], [EMAIL PROTECTED])
    at easyxml.cxx:261
#16 0x8482c89 in readProperties ([EMAIL PROTECTED], start_node=0xff49000)
    at props_io.cxx:319
#17 0x806554a in fgInitLocale (language=0x8528388 "C") at fg_init.cxx:416
#18 0x806663d in fgDetectLanguage () at fg_init.cxx:460
#19 0x80670e4 in fgInitConfig (argc=2, argv=0xbfbff58c) at fg_init.cxx:526
#20 0x80547c6 in fgMainInit (argc=2, argv=0xbfbff58c) at main.cxx:1624
#21 0x805610b in main (argc=2, argv=0xbfbff58c) at main.cxx:1889
#22 0x804ebb4 in ___start ()

Maybe I broke it getting it to compile.

Richard Smith



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

Reply via email to