g++ -o iceTest TestMain.cpp MyObject.o -LCE_HOME/LIB -LIce -lIceUtil /tmp/ccFkiOVW.o: In function `__static_initialization_and_destruction_0(int, int)':TestMain.cpp:(.text+0x53): undefined reference to `IceInternal::GCRecMutexInit::GCRecMutexInit()' :TestMain.cpp:(.text+0x7b): undefined reference to `IceInternal::FactoryTable::FactoryTable()' /tmp/ccFkiOVW.o: In function `__tcf_2':TestMain.cpp:(.text+0x100): undefined reference to `IceInternal::FactoryTable::~FactoryTable()' /tmp/ccFkiOVW.o: In function `__tcf_1':TestMain.cpp:(.text+0x114): undefined reference to `IceInternal::GCRecMutexInit::~GCRecMutexInit()' /tmp/ccFkiOVW.o: In function `Ice::UserException::UserException()':TestMain.cpp:(.text._ZN3Ice13UserExceptionC2Ev[Ice::UserException::UserException()]+0x12): undefined reference to `vtable for Ice::UserException' /tmp/ccFkiOVW.o: In function `Ice::AdapterNotFoundException::AdapterNotFoundException()':TestMain.cpp:(.text._ZN3Ice24AdapterNotFoundExceptionC1Ev[Ice::AdapterNotFoundException::AdapterNotFoundException()]+0x12): undefined reference to `vtable for Ice::AdapterNotFoundException' /tmp/ccFkiOVW.o: In function `Ice::UserException::~UserException()':TestMain.cpp:(.text._ZN3Ice13UserExceptionD2Ev[Ice::UserException::~UserException()]+0x7): undefined reference to `vtable for Ice::UserException' /tmp/ccFkiOVW.o: In function `Ice::AdapterNotFoundException::~AdapterNotFoundException()':TestMain.cpp:(.text._ZN3Ice24AdapterNotFoundExceptionD1Ev[Ice::AdapterNotFoundException::~AdapterNotFoundException()]+0x7): undefined reference to `vtable for Ice::AdapterNotFoundException' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x10): undefined reference to `IceInternal::GCShared::__incRef()' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x14): undefined reference to `IceInternal::GCShared::__decRef()' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x20): undefined reference to `IceInternal::GCShared::__getRef() const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x24): undefined reference to `IceInternal::GCShared::__setNoDelete(bool)' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x30): undefined reference to `Ice::Object::operator==(Ice::Object const&) const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x34): undefined reference to `Ice::Object::operator!=(Ice::Object const&) const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x38): undefined reference to `Ice::Object::operator<(Ice::Object const&) const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x3c): undefined reference to `Ice::Object::ice_hash() const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x40): undefined reference to `Ice::Object::ice_isA(std::basic_string, std::allocator > const&, Ice::Current const&) const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x44): undefined reference to `Ice::Object::ice_ping(Ice::Current const&) const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x48): undefined reference to `Ice::Object::ice_ids(Ice::Current const&) const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x4c): undefined reference to `Ice::Object::ice_id(Ice::Current const&) const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x50): undefined reference to `Ice::Object::ice_clone() const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x54): undefined reference to `Ice::Object::ice_preMarshal()' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x58): undefined reference to `Ice::Object::ice_postUnmarshal()' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x5c): undefined reference to `Ice::Object::__dispatch(IceInternal::Incoming&, Ice::Current const&)' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x60): undefined reference to `Ice::Object::__write(IceInternal::BasicStream*) const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x64): undefined reference to `Ice::Object::__read(IceInternal::BasicStream*, bool)' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x68): undefined reference to `Ice::Object::__write(IceInternal::Handle const&) const' /tmp/ccFkiOVW.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x6c): undefined reference to `Ice::Object::__read(IceInternal::Handle const&, bool)' /tmp/ccFkiOVW.o:(.rodata._ZTI8MyObject[typeinfo for MyObject]+0x8): undefined reference to `typeinfo for Ice::Object' MyObject.o: In function `__static_initialization_and_destruction_0(int, int)':MyObject.cpp:(.text+0x53): undefined reference to `IceInternal::GCRecMutexInit::GCRecMutexInit()' :MyObject.cpp:(.text+0x7b): undefined reference to `IceInternal::FactoryTable::FactoryTable()' MyObject.o: In function `__tcf_2':MyObject.cpp:(.text+0x196): undefined reference to `IceInternal::FactoryTable::~FactoryTable()' MyObject.o: In function `__tcf_1':MyObject.cpp:(.text+0x1aa): undefined reference to `IceInternal::GCRecMutexInit::~GCRecMutexInit()' MyObject.o: In function `IceInternal::GCShared::~GCShared()':MyObject.cpp:(.text._ZN11IceInternal8GCSharedD2Ev[IceInternal::GCShared::~GCShared()]+0x7): undefined reference to `vtable for IceInternal::GCShared' MyObject.o: In function `Ice::Object::~Object()':MyObject.cpp:(.text._ZN3Ice6ObjectD2Ev[Ice::Object::~Object()]+0x7): undefined reference to `vtable for Ice::Object' MyObject.o: In function `Ice::Object::Object()':MyObject.cpp:(.text._ZN3Ice6ObjectC2Ev[Ice::Object::Object()]+0xd): undefined reference to `IceInternal::GCShared::GCShared()' :MyObject.cpp:(.text._ZN3Ice6ObjectC2Ev[Ice::Object::Object()]+0x12): undefined reference to `vtable for Ice::Object' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x10): undefined reference to `IceInternal::GCShared::__incRef()' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x14): undefined reference to `IceInternal::GCShared::__decRef()' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x20): undefined reference to `IceInternal::GCShared::__getRef() const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x24): undefined reference to `IceInternal::GCShared::__setNoDelete(bool)' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x30): undefined reference to `Ice::Object::operator==(Ice::Object const&) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x34): undefined reference to g++ -o iceTest TestMain.cpp MyObject.o -LCE_HOME/LIB -LIce -lIceUtil /tmp/cc0elcgc.o: In function `__static_initialization_and_destruction_0(int, int)':TestMain.cpp:(.text+0x53): undefined reference to `IceInternal::GCRecMutexInit::GCRecMutexInit()' :TestMain.cpp:(.text+0x7b): undefined reference to `IceInternal::FactoryTable::FactoryTable()' /tmp/cc0elcgc.o: In function `__tcf_2':TestMain.cpp:(.text+0x100): undefined reference to `IceInternal::FactoryTable::~FactoryTable()' /tmp/cc0elcgc.o: In function `__tcf_1':TestMain.cpp:(.text+0x114): undefined reference to `IceInternal::GCRecMutexInit::~GCRecMutexInit()' /tmp/cc0elcgc.o: In function `Ice::UserException::UserException()':TestMain.cpp:(.text._ZN3Ice13UserExceptionC2Ev[Ice::UserException::UserException()]+0x12): undefined reference to `vtable for Ice::UserException' /tmp/cc0elcgc.o: In function `Ice::AdapterNotFoundException::AdapterNotFoundException()':TestMain.cpp:(.text._ZN3Ice24AdapterNotFoundExceptionC1Ev[Ice::AdapterNotFoundException::AdapterNotFoundException()]+0x12): undefined reference to `vtable for Ice::AdapterNotFoundException' /tmp/cc0elcgc.o: In function `Ice::UserException::~UserException()':TestMain.cpp:(.text._ZN3Ice13UserExceptionD2Ev[Ice::UserException::~UserException()]+0x7): undefined reference to `vtable for Ice::UserException' /tmp/cc0elcgc.o: In function `Ice::AdapterNotFoundException::~AdapterNotFoundException()':TestMain.cpp:(.text._ZN3Ice24AdapterNotFoundExceptionD1Ev[Ice::AdapterNotFoundException::~AdapterNotFoundException()]+0x7): undefined reference to `vtable for Ice::AdapterNotFoundException' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x10): undefined reference to `IceInternal::GCShared::__incRef()' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x14): undefined reference to `IceInternal::GCShared::__decRef()' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x20): undefined reference to `IceInternal::GCShared::__getRef() const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x24): undefined reference to `IceInternal::GCShared::__setNoDelete(bool)' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x30): undefined reference to `Ice::Object::operator==(Ice::Object const&) const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x34): undefined reference to `Ice::Object::operator!=(Ice::Object const&) const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x38): undefined reference to `Ice::Object::operator<(Ice::Object const&) const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x3c): undefined reference to `Ice::Object::ice_hash() const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x40): undefined reference to `Ice::Object::ice_isA(std::basic_string, std::allocator > const&, Ice::Current const&) const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x44): undefined reference to `Ice::Object::ice_ping(Ice::Current const&) const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x48): undefined reference to `Ice::Object::ice_ids(Ice::Current const&) const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x4c): undefined reference to `Ice::Object::ice_id(Ice::Current const&) const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x50): undefined reference to `Ice::Object::ice_clone() const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x54): undefined reference to `Ice::Object::ice_preMarshal()' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x58): undefined reference to `Ice::Object::ice_postUnmarshal()' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x5c): undefined reference to `Ice::Object::__dispatch(IceInternal::Incoming&, Ice::Current const&)' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x60): undefined reference to `Ice::Object::__write(IceInternal::BasicStream*) const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x64): undefined reference to `Ice::Object::__read(IceInternal::BasicStream*, bool)' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x68): undefined reference to `Ice::Object::__write(IceInternal::Handle const&) const' /tmp/cc0elcgc.o:(.rodata._ZTV10TestObject[vtable for TestObject]+0x6c): undefined reference to `Ice::Object::__read(IceInternal::Handle const&, bool)' /tmp/cc0elcgc.o:(.rodata._ZTI8MyObject[typeinfo for MyObject]+0x8): undefined reference to `typeinfo for Ice::Object' MyObject.o: In function `__static_initialization_and_destruction_0(int, int)':MyObject.cpp:(.text+0x53): undefined reference to `IceInternal::GCRecMutexInit::GCRecMutexInit()' :MyObject.cpp:(.text+0x7b): undefined reference to `IceInternal::FactoryTable::FactoryTable()' MyObject.o: In function `__tcf_2':MyObject.cpp:(.text+0x196): undefined reference to `IceInternal::FactoryTable::~FactoryTable()' MyObject.o: In function `__tcf_1':MyObject.cpp:(.text+0x1aa): undefined reference to `IceInternal::GCRecMutexInit::~GCRecMutexInit()' MyObject.o: In function `IceInternal::GCShared::~GCShared()':MyObject.cpp:(.text._ZN11IceInternal8GCSharedD2Ev[IceInternal::GCShared::~GCShared()]+0x7): undefined reference to `vtable for IceInternal::GCShared' MyObject.o: In function `Ice::Object::~Object()':MyObject.cpp:(.text._ZN3Ice6ObjectD2Ev[Ice::Object::~Object()]+0x7): undefined reference to `vtable for Ice::Object' MyObject.o: In function `Ice::Object::Object()':MyObject.cpp:(.text._ZN3Ice6ObjectC2Ev[Ice::Object::Object()]+0xd): undefined reference to `IceInternal::GCShared::GCShared()' :MyObject.cpp:(.text._ZN3Ice6ObjectC2Ev[Ice::Object::Object()]+0x12): undefined reference to `vtable for Ice::Object' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x10): undefined reference to `IceInternal::GCShared::__incRef()' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x14): undefined reference to `IceInternal::GCShared::__decRef()' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x20): undefined reference to `IceInternal::GCShared::__getRef() const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x24): undefined reference to `IceInternal::GCShared::__setNoDelete(bool)' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x30): undefined reference to `Ice::Object::operator==(Ice::Object const&) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x34): undefined reference to `Ice::Object::operator!=(Ice::Object const&) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x38): undefined reference to `Ice::Object::operator<(Ice::Object const&) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x3c): undefined reference to `Ice::Object::ice_hash() const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x40): undefined reference to `Ice::Object::ice_isA(std::basic_string, std::allocator > const&, Ice::Current const&) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x44): undefined reference to `Ice::Object::ice_ping(Ice::Current const&) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x48): undefined reference to `Ice::Object::ice_ids(Ice::Current const&) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x4c): undefined reference to `Ice::Object::ice_id(Ice::Current const&) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x50): undefined reference to `Ice::Object::ice_clone() const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x54): undefined reference to `Ice::Object::ice_preMarshal()' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x58): undefined reference to `Ice::Object::ice_postUnmarshal()' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x5c): undefined reference to `Ice::Object::__dispatch(IceInternal::Incoming&, Ice::Current const&)' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x60): undefined reference to `Ice::Object::__write(IceInternal::BasicStream*) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x64): undefined reference to `Ice::Object::__read(IceInternal::BasicStream*, bool)' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x68): undefined reference to `Ice::Object::__write(IceInternal::Handle const&) const' MyObject.o:(.rodata._ZTV8MyObject[vtable for MyObject]+0x6c): undefined reference to `Ice::Object::__read(IceInternal::Handle const&, bool)' collect2: ld returned 1 exit status make: *** [iceTest] Error 1