Gwenole Beauchesne wrote:
>On Wed, 15 Aug 2001, Pedro Rosa wrote:
>
>> As this library seems to be new, all C++ buildings start to cry wild
>>at linking moment.
>>
>
>You are probably trying to link C++ objects with the C compiler (gcc).
>
Not the case as on old gcc things were working relatively. Well,
compilation broke but due to other reasons, connected with the rawish
C++ support on 2.96. But Apple warned about this.
>
>
>>Even printf seems to be dependent on its functions (the linker claims
>>to be unable to find gxx_personality_v0, which is located in this
>>library).
>>
>
>Complete test code, please.
>
Well first I cant reach the https://qa.mandrakesoft.com (connection
refused, it says). Second the stuff I am compiling is Apple Darwin
Stream Server (build 338). Due to the marvelous ( :E ) way these guys
made the build process, the package of errors reaches more than 300kb
(without any special options for gcc debugging).
>
>
>
>
An excerpt of the listing:
usr/src/qtssServer-338/QTFileLib/QTAtom_stsz.cpp:120: undefined reference to `operator
new[](unsigned)'
../../QTFileLib/libQTFileLib.a(QTAtom_stsz.o): In function
`QTAtom_stsz::QTAtom_stsz(QTFile*, QTFile::AtomTOCEntry*, unsigned short, unsigned
short)':
/usr/src/qtssServer-338/QTFileLib/QTAtom_stsz.cpp:69: undefined reference to `vtable
for __cxxabiv1::__si_class_type_info'
/usr/src/qtssServer-338/QTFileLib/QTAtom_stsz.cpp:69: undefined reference to
`__gxx_personality_v0'
../../QTFileLib/libQTFileLib.a(QTAtom_stts.o): In function
`QTAtom_stts_SampleTableControlBlock::~QTAtom_stts_SampleTableControlBlock()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_stts.cpp:75: undefined reference to `operator
delete(void*)'
../../QTFileLib/libQTFileLib.a(QTAtom_stts.o): In function
`QTAtom_stts::~QTAtom_stts()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_stts.cpp:108: undefined reference to
`operator delete[](void*)'
../../QTFileLib/libQTFileLib.a(QTAtom_stts.o): In function
`QTAtom_stts::~QTAtom_stts()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_stts.cpp:108: undefined reference to
`operator delete[](void*)'
../../QTFileLib/libQTFileLib.a(QTAtom_stts.o): In function
`QTAtom_stts::~QTAtom_stts()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_stts.cpp:108: undefined reference to
`operator delete[](void*)'
/usr/src/qtssServer-338/QTFileLib/QTAtom_stts.cpp:109: undefined reference to
`operator delete(void*)'
../../QTFileLib/libQTFileLib.a(QTAtom_stts.o): In function `QTAtom_stts::Initialize()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_stts.cpp:137: undefined reference to
`operator new[](unsigned)'
../../QTFileLib/libQTFileLib.a(QTAtom_stts.o): In function
`QTAtom_stts_SampleTableControlBlock::QTAtom_stts_SampleTableControlBlock()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_stts.cpp:69: undefined reference to `vtable
for __cxxabiv1::__si_class_type_info'
/usr/src/qtssServer-338/QTFileLib/QTAtom_stts.cpp:69: undefined reference to `vtable
for __cxxabiv1::__class_type_info'
/usr/src/qtssServer-338/QTFileLib/QTAtom_stts.cpp:79: undefined reference to
`__gxx_personality_v0'
../../QTFileLib/libQTFileLib.a(QTAtom_tkhd.o): In function
`QTAtom_tkhd::~QTAtom_tkhd()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_tkhd.cpp:86: undefined reference to `operator
delete(void*)'
../../QTFileLib/libQTFileLib.a(QTAtom_tkhd.o): In function
`QTAtom_tkhd::QTAtom_tkhd(QTFile*, QTFile::AtomTOCEntry*, unsigned short, unsigned
short)':
/usr/src/qtssServer-338/QTFileLib/QTAtom_tkhd.cpp:80: undefined reference to `vtable
for __cxxabiv1::__si_class_type_info'
/usr/src/qtssServer-338/QTFileLib/QTAtom_tkhd.cpp:80: undefined reference to
`__gxx_personality_v0'
../../QTFileLib/libQTFileLib.a(QTAtom_tref.o): In function
`QTAtom_tref::~QTAtom_tref()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_tref.cpp:72: undefined reference to `operator
delete[](void*)'
../../QTFileLib/libQTFileLib.a(QTAtom_tref.o): In function
`QTAtom_tref::~QTAtom_tref()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_tref.cpp:72: undefined reference to `operator
delete[](void*)'
../../QTFileLib/libQTFileLib.a(QTAtom_tref.o): In function
`QTAtom_tref::~QTAtom_tref()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_tref.cpp:72: undefined reference to `operator
delete[](void*)'
/usr/src/qtssServer-338/QTFileLib/QTAtom_tref.cpp:73: undefined reference to `operator
delete(void*)'
../../QTFileLib/libQTFileLib.a(QTAtom_tref.o): In function `QTAtom_tref::Initialize()':
/usr/src/qtssServer-338/QTFileLib/QTAtom_tref.cpp:88: undefined reference to `operator
new[](unsigned)'
../../QTFileLib/libQTFileLib.a(QTAtom_tref.o): In function
`QTAtom_tref::QTAtom_tref(QTFile*, QTFile::AtomTOCEntry*, unsigned short, unsigned
short)':
/usr/src/qtssServer-338/QTFileLib/QTAtom_tref.cpp:62: undefined reference to `vtable
for __cxxabiv1::__si_class_type_info'
/usr/src/qtssServer-338/QTFileLib/QTAtom_tref.cpp:62: undefined reference to
`__gxx_personality_v0'
../../CommonUtilitiesLib/libCommonUtilitiesLib.a(DateTranslator.o): In function
`DateTranslator::ParseDate(StrPtrLen*)':
/usr/src/qtssServer-338/CommonUtilitiesLib/DateTranslator.cpp:66: undefined reference
to `__gxx_personality_v0'
../../CommonUtilitiesLib/libCommonUtilitiesLib.a(OSMutex.o): In function
`OSMutex::OSMutex()':
/usr/src/qtssServer-338/CommonUtilitiesLib/OSMutex.cpp:55: undefined reference to
`__gxx_personality_v0'
collect2: ld returned 1 exit status
make: *** [QTTrackInfo] Error 1
Ektanoor