Oder auch nicht ... Habe mir jetzt genau die Version 1.0.9 geholt, eingebaut, bricht aber mit folgendem Fehler ab:
Code: Alles auswählen
/usr/local/src/tuxbox-cvs-build/cdk/powerpc-tuxbox-linux-gnu/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
thread.cpp: In function `void* operator new(unsigned int, void*)':
thread.cpp:50: redefinition of `void* operator new(unsigned int, void*)'
/usr/local/src/tuxbox-cvs-build/cdk/include/c++/3.2.3/new:89: `void* operator
new(unsigned int, void*)' previously defined here
thread.cpp:50: redefinition of `void* operator new(unsigned int, void*)'
/usr/local/src/tuxbox-cvs-build/cdk/include/c++/3.2.3/new:89: `void* operator
new(unsigned int, void*)' previously defined here
thread.cpp: In constructor `Thread::Thread(bool)':
thread.cpp:409: invalid conversion from `int (*)(int)' to `void (*)(int)'
thread.cpp: In function `Thread* getThread()':
thread.cpp:1153: call of overloaded `operator new(unsigned int, MainThread*)'
is ambiguous
/usr/local/src/tuxbox-cvs-build/cdk/include/c++/3.2.3/new:89: candidates are:
void* operator new(unsigned int, void*)
thread.cpp:50: void* operator new(unsigned int, void*)
/usr/local/src/tuxbox-cvs-build/cdk/powerpc-tuxbox-linux-gnu/include/signal.h: In
member function `void PosixThread::waitSignal(int)':
/usr/local/src/tuxbox-cvs-build/cdk/powerpc-tuxbox-linux-gnu/include/signal.h:252: too
few arguments to function `int sigwait(const sigset_t*, int*)'
thread.cpp:1364: at this point in file
thread.cpp: In function `void sigInstall(int)':
thread.cpp:1393: invalid conversion from `int (*)(int)' to `void (*)(int)'
/usr/local/src/tuxbox-cvs-build/cdk/include/c++/3.2.3/bits/basic_string.tcc: In
static member function `static std::basic_string<_CharT, _Traits,
_Alloc>::_Rep* std::basic_string<_CharT, _Traits,
_Alloc>::_Rep::_S_create(unsigned int, const _Alloc&) [with _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
/usr/local/src/tuxbox-cvs-build/cdk/include/c++/3.2.3/bits/basic_string.tcc:468: instantiated from `_CharT* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M
_clone(const _Alloc&, _Alloc::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/local/src/tuxbox-cvs-build/cdk/include/c++/3.2.3/bits/basic_string.h:175: instantiated from `_CharT* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_g
rab(const _Alloc&, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/local/src/tuxbox-cvs-build/cdk/include/c++/3.2.3/bits/basic_string.tcc:194: instantiated from `std::basic_string<_CharT, _Traits, _Alloc>::basic_string(con
st std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
thread.cpp:520: instantiated from here
/usr/local/src/tuxbox-cvs-build/cdk/include/c++/3.2.3/bits/basic_string.tcc:444: call
of overloaded `operator new(unsigned int, void*&)' is ambiguous
/usr/local/src/tuxbox-cvs-build/cdk/include/c++/3.2.3/new:89: candidates are:
void* operator new(unsigned int, void*)
thread.cpp:50: void* operator new(unsigned int, void*)
make[2]: *** [thread.lo] Error 1
make[2]: Leaving directory `/usr/local/src/tuxbox-cvs-20030721/cdk/commoncpp2-1.0.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/tuxbox-cvs-20030721/cdk/commoncpp2-1.0.9'
make: *** [.libcommoncplusplus] Error 2