I am trying to install Poco 1.4.3, downloaded today, on a Centos 5 linux box.
I did:
./configure --omit=Data/MySQL
gmake -s
and got the following error:
- Code: Select all
** Compiling src/MemoryStreamTest.cpp (debug, shared)
** Building shared executable (debug) /websites/libraries/poco/poco-1.4.3/Foundation/testsuite/bin/Linux/i686/testrunnerd
/websites/libraries/poco/poco-1.4.3/Foundation/testsuite/obj/Linux/i686/debug_shared/ActiveMethodTest.o: In function `Poco::AtomicCounter::operator++()':
/websites/libraries/poco/poco-1.4.3/Foundation/include/Poco/AtomicCounter.h:260: undefined reference to `__sync_add_and_fetch_4'
/websites/libraries/poco/poco-1.4.3/Foundation/testsuite/obj/Linux/i686/debug_shared/ActiveMethodTest.o: In function `Poco::AtomicCounter::operator--()':
/websites/libraries/poco/poco-1.4.3/Foundation/include/Poco/AtomicCounter.h:272: undefined reference to `__sync_sub_and_fetch_4'
/websites/libraries/poco/poco-1.4.3/Foundation/testsuite/obj/Linux/i686/debug_shared/CoreTest.o: In function `Poco::AtomicCounter::operator++(int)':
/websites/libraries/poco/poco-1.4.3/Foundation/include/Poco/AtomicCounter.h:266: undefined reference to `__sync_fetch_and_add_4'
/websites/libraries/poco/poco-1.4.3/Foundation/testsuite/obj/Linux/i686/debug_shared/CoreTest.o: In function `Poco::AtomicCounter::operator--(int)':
/websites/libraries/poco/poco-1.4.3/Foundation/include/Poco/AtomicCounter.h:278: undefined reference to `__sync_fetch_and_sub_4'
collect2: ld returned 1 exit status
gmake[2]: *** [/websites/libraries/poco/poco-1.4.3/Foundation/testsuite/bin/Linux/i686/testrunnerd] Error 1
gmake[1]: *** [projects] Error 2
gmake: *** [Foundation-tests] Error 2
I am stuck here without any idea on what to do next
Thanks!





