Hi. I managed somehow with low space for installing cryptopp. But now i have error with “3c) compiling (make)”. When i write make command it runs for a while but next i got an error:
make all-recursive
make[1]: Entering directory /mnt/HDA_ROOT/temp/urbackup-server-1.2.3.261' Making all in . make[2]: Entering directory
/mnt/HDA_ROOT/temp/urbackup-server-1.2.3.261’
g++ -pthread -DLINUX -g -O2 -o urbackup_srv AcceptThread.o Client.o Database.o Query.o SelectThread.o Server.o ServerLinux.o ServiceAcceptor.o ServiceWorker.o SessionMgr.o StreamPipe.o Template.o WorkerThread.o main.o md5.o stringtools.o fastcgi.o Mutex_lin.o LoadbalancerClient.o DBSettingsReader.o file_common.o file_fstream.o file_linux.o FileSettingsReader.o LookupService.o SettingsReader.o Table.o OutputStream.o ThreadPool.o MemoryPipe.o Condition_lin.o MemorySettingsReader.o sqlite3.o shell.o SQLiteFactory.o PipeThrottler.o mt19937ar.o -ldl
AcceptThread.o: In function __exchange_and_add': /share/MD0_DATA/.qpkg/Optware/bin/../lib/gcc/i686-unknown-linux-gnu/4.2.1/../../../../include/c++/4.2.1/ext/atomicity.h:51: undefined reference to
__sync_fetch_and_add_4’
/share/MD0_DATA/.qpkg/Optware/bin/…/lib/gcc/i686-unknown-linux-gnu/4.2.1/…/…/…/…/include/c++/4.2.1/ext/atomicity.h:51: undefined reference to __sync_fetch_and_add_4' /share/MD0_DATA/.qpkg/Optware/bin/../lib/gcc/i686-unknown-linux-gnu/4.2.1/../../../../include/c++/4.2.1/ext/atomicity.h:51: undefined reference to
__sync_fetch_and_add_4’
/share/MD0_DATA/.qpkg/Optware/bin/…/lib/gcc/i686-unknown-linux-gnu/4.2.1/…/…/…/…/include/c++/4.2.1/ext/atomicity.h:51: undefined reference to __sync_fetch_and_add_4' /share/MD0_DATA/.qpkg/Optware/bin/../lib/gcc/i686-unknown-linux-gnu/4.2.1/../../../../include/c++/4.2.1/ext/atomicity.h:51: undefined reference to
__sync_fetch_and_add_4’
AcceptThread.o:/share/MD0_DATA/.qpkg/Optware/bin/…/lib/gcc/i686-unknown-linux-gnu/4.2.1/…/…/…/…/include/c++/4.2.1/bits/basic_string.h:288: more undefined references to __sync_fetch_and_add_4' follow collect2: ld returned 1 exit status make[2]: *** [urbackup_srv] Error 1 make[2]: Leaving directory
/mnt/HDA_ROOT/temp/urbackup-server-1.2.3.261’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/HDA_ROOT/temp/urbackup-server-1.2.3.261’
make: *** [all] Error 2
Please, please help me with this I’m no Linux expert and i don’t know what to do with it.
Ok. i made some proggress. Now i only have:
[/share/MD0_DATA/temp/urbackup-server-1.2.3.261] # make
make all-recursive
make[1]: Entering directory /share/MD0_DATA/temp/urbackup-server-1.2.3.261' Making all in . make[2]: Entering directory
/share/MD0_DATA/temp/urbackup-server-1.2.3.261’
g++ -m32 -pthread -DLINUX -O2 -march=i686 -o urbackup_srv AcceptThread.o Client.o Database.o Query.o SelectThread.o Server.o ServerLinux.o ServiceAcceptor.o ServiceWorker.o SessionMgr.o StreamPipe.o Template.o WorkerThread.o main.o md5.o stringtools.o fastcgi.o Mutex_lin.o LoadbalancerClient.o DBSettingsReader.o file_common.o file_fstream.o file_linux.o FileSettingsReader.o LookupService.o SettingsReader.o Table.o OutputStream.o ThreadPool.o MemoryPipe.o Condition_lin.o MemorySettingsReader.o sqlite3.o shell.o SQLiteFactory.o PipeThrottler.o mt19937ar.o -ldl
fastcgi.o: In function __gnu_cxx::__exchange_and_add(int volatile*, int)': fastcgi.cpp:(.text+0x5c0): undefined reference to
__sync_fetch_and_add_4’
collect2: ld returned 1 exit status
make[2]: *** [urbackup_srv] Error 1
make[2]: Leaving directory /share/MD0_DATA/temp/urbackup-server-1.2.3.261' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/share/MD0_DATA/temp/urbackup-server-1.2.3.261’
make: *** [all] Error 2
Please help me with this fastcgi.cpp error. Am i missing something?