Hello,
I'm trying to build the "whole thing" (TM) on AIX and I get a linker
message that I don't understand:

osprey: 21:15:49 /usr/local/src/SimGear/simgear/misc> g++ -mcpu=604e
-mtune=604e -mpowerpc-gpopt -mpowerpc-gfxopt -O3 -D_REENTRANT
-L/usr/local/lib -L/opt/gnu/lib -L/opt/freeware/lib -s
-L/usr/local/FlightGear/lib -L/usr/X11R6/lib -o tabbed_value_test
tabbed_values_test.o ../../simgear/misc/libsgmisc.a
../../simgear/xml/libsgxml.a ../../simgear/debug/libsgdebug.a
ld: 0711-317 ERROR: Undefined symbol: .gzopen
ld: 0711-317 ERROR: Undefined symbol: .gzdopen
ld: 0711-317 ERROR: Undefined symbol: .gzclose
ld: 0711-317 ERROR: Undefined symbol: .gzwrite
ld: 0711-317 ERROR: Undefined symbol: .gzread
ld: 0711-317 ERROR: Undefined symbol: .SGSubsystem::~SGSubsystem [not-in-charge]()
ld: 0711-317 ERROR: Undefined symbol: .SGPropertyNode::getDoubleValue() const
ld: 0711-317 ERROR: Undefined symbol: .SGPropertyNode::setDoubleValue(double)
ld: 0711-317 ERROR: Undefined symbol: 
.SGPropertyNode_ptr::SGPropertyNode_ptr[in-charge]()
ld: 0711-317 ERROR: Undefined symbol: 
.SGPropertyNode_ptr::SGPropertyNode_ptr[in-charge](SGPropertyNode*)
ld: 0711-317 ERROR: Undefined symbol: 
.SGPropertyNode_ptr::operator=(SGPropertyNode_ptr const&)
ld: 0711-317 ERROR: Undefined symbol: .SGPropertyNode_ptr::~SGPropertyNode_ptr 
[in-charge]()
ld: 0711-317 ERROR: Undefined symbol: .SGPropertyNode_ptr::operator SGPropertyNode*()
ld: 0711-317 ERROR: Undefined symbol: .SGPropertyNode_ptr::operator->()
ld: 0711-317 ERROR: Undefined symbol: SGSubsystem::reinit()
ld: 0711-317 ERROR: Undefined symbol: SGSubsystem::bind()
ld: 0711-317 ERROR: Undefined symbol: SGSubsystem::unbind()
ld: 0711-317 ERROR: Undefined symbol: SGSubsystem::suspend()
ld: 0711-317 ERROR: Undefined symbol: SGSubsystem::suspend(bool)
ld: 0711-317 ERROR: Undefined symbol: SGSubsystem::resume()
ld: 0711-317 ERROR: Undefined symbol: SGSubsystem::is_suspended() const
ld: 0711-317 ERROR: Undefined symbol: typeinfo for SGSubsystem
ld: 0711-317 ERROR: Undefined symbol: 
.sg_location::sg_location[in-charge](std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, int, int)
ld: 0711-317 ERROR: Undefined symbol: 
.sg_io_exception::sg_io_exception[in-charge](std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, sg_location const&, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
ld: 0711-317 ERROR: Undefined symbol: .sg_location::~sg_location [in-charge]()
ld: 0711-317 ERROR: Undefined symbol: sg_io_exception::~sg_io_exception [in-charge]()
ld: 0711-317 ERROR: Undefined symbol: typeinfo for sg_io_exception
ld: 0711-317 ERROR: Undefined symbol: vtable for sg_throwable
ld: 0711-317 ERROR: Undefined symbol: sg_throwable::~sg_throwable [in-charge]()
ld: 0711-317 ERROR: Undefined symbol: typeinfo for sg_throwable
ld: 0711-317 ERROR: Undefined symbol: vtable for sg_location
ld: 0711-317 ERROR: Undefined symbol: vtable for sg_io_exception
ld: 0711-317 ERROR: Undefined symbol: .sg_exception::~sg_exception [not-in-charge]()
collect2: ld returned 8 exit status
make: *** [tabbed_value_test] Error 1


Adding '-lz ../structure/libsgstructure.a ../props/libsgprops.a' helps,
'-lz' for the ".gz..." symbols, 'libsgprops.a' for all the
".SGPropertyNode" stuff and 'libsgstructure.a' for the rest.
But: Why do I need to add this only on AIX !???

Martin.
P.S.: This is not the end of difficulties, simgear/io/decode_binobj
      makes even more trouble ....
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

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

Reply via email to