I've tried to compile multiple versions of CommonC++...stable, unstable, etc. I know it's possible, because there are ppc debian packages for 1.9.x ...here are the errors I get:
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c mutex.cpp -fPIC -DPIC -o .libs/mutex.lo
mutex.cpp: In method `int cc_AtomicCounter::operator ++()':
mutex.cpp:276: implicit declaration of function `int atomic_inc(...)'
mutex.cpp:277: implicit declaration of function `int atomic_read(...)'
mutex.cpp: In method `int cc_AtomicCounter::operator --()':
mutex.cpp:282: implicit declaration of function `int atomic_dec_and_test(...)'
mutex.cpp: In method `int cc_AtomicCounter::operator +=(int)':
mutex.cpp:293: implicit declaration of function `int atomic_add(...)'
mutex.cpp: In method `int cc_AtomicCounter::operator -=(int)':
mutex.cpp:299: implicit declaration of function `int atomic_sub(...)'
mutex.cpp: In method `int cc_AtomicCounter::operator =(int)':
mutex.cpp:315: implicit declaration of function `int atomic_set(...)'
make[1]: *** [mutex.lo] Error 1
make[1]: Leaving directory `/usr/src/CommonC++-1.6.4/posix'
make: *** [all-recursive] Error 1
geefour:/usr/src/CommonC++-1.6.4#
anyone have any thoughts?? I know that those atomic functions are in linux/atomic.h, but they aren't int functions, they're void.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've tried to compile multiple versions of CommonC++...stable, unstable, etc. I know it's possible, because there are ppc debian packages for 1.9.x ...here are the errors I get:
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c mutex.cpp -fPIC -DPIC -o .libs/mutex.lo
mutex.cpp: In method `int cc_AtomicCounter::operator ++()':
mutex.cpp:276: implicit declaration of function `int atomic_inc(...)'
mutex.cpp:277: implicit declaration of function `int atomic_read(...)'
mutex.cpp: In method `int cc_AtomicCounter::operator --()':
mutex.cpp:282: implicit declaration of function `int atomic_dec_and_test(...)'
mutex.cpp: In method `int cc_AtomicCounter::operator +=(int)':
mutex.cpp:293: implicit declaration of function `int atomic_add(...)'
mutex.cpp: In method `int cc_AtomicCounter::operator -=(int)':
mutex.cpp:299: implicit declaration of function `int atomic_sub(...)'
mutex.cpp: In method `int cc_AtomicCounter::operator =(int)':
mutex.cpp:315: implicit declaration of function `int atomic_set(...)'
make[1]: *** [mutex.lo] Error 1
make[1]: Leaving directory `/usr/src/CommonC++-1.6.4/posix'
make: *** [all-recursive] Error 1
geefour:/usr/src/CommonC++-1.6.4#
anyone have any thoughts?? I know that those atomic functions are in linux/atomic.h, but they aren't int functions, they're void.
Fixed very recently.