When i try to cross compile for x86 i am stuck on the following error.
AcceptThread.cpp: In member function 'void CAcceptThread::operator()(bool)':
AcceptThread.cpp:187:15: error: 'accept4' was not declared in this scope
make: *** [urbackupsrv-AcceptThread.o] Error 1
make: *** [all-recursive] Error 1
Compile for x86_x64 is ok but binary urbackupsrv is deleted when make install finished. From the log i see that this command which delete the urbackupsrv binary is runned after the new binary is copied and not before
root@debian:/develop/src/urbackup-server-2.1.17# make install
Making install in .
make: Entering directory /develop/src/urbackup-server-2.1.17'
make: Entering directory/develop/src/urbackup-server-2.1.17'
/bin/mkdir -p '/raid/data/module/UrBackup/sys/bin'
/usr/bin/install -c urbackupsrv urbackup_snapshot_helper urbackup_mount_helper '/raid/data/module/UrBackup/sys/bin'
mkdir -p "/raid/data/module/UrBackup/sys/var/urbackup"
! test -e /raid/data/module/UrBackup/sys/bin/urbackupsrv || rm /raid/data/module/UrBackup/sys/bin/urbackupsrv
i686-nptl-linux-gnu-gcc (crosstool-NG hg+-7fe58a4f79f8) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.