cross compiling for ArmV5 Qnap crashed

Description

Many request from Qnap forum users to have an ARMv5 URbackup working version

on cross compiling it crash at :

mv -f .deps/urbackupsrv-file_linux.Tpo .deps/urbackupsrv-file_linux.Po
arm-none-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I/opt/QUrBackup/include -D_FILE_OFFSET_BITS=64 -I/opt/QUrBackup/include/fuse -DSQLITE_PREPARE_RETRIES=5 -O2 -I/opt/QUrBackup/include -I/usr/local/include -I/usr/local/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/opt/QUrBackup/var"' -DBINDIR='"/opt/QUrBackup/bin"' -DDATADIR='"/opt/QUrBackup/share"' -DCRYPTOPP_INCLUDE_PREFIX=cryptoplugin -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -O2 -I/opt/QUrBackup/include -MT fsimageplugin/urbackupsrv-cowfile.o -MD -MP -MF fsimageplugin/.deps/urbackupsrv-cowfile.Tpo -c -o fsimageplugin/urbackupsrv-cowfile.o `test -f 'fsimageplugin/cowfile.cpp' || echo './'`fsimageplugin/cowfile.cpp
In file included from fsimageplugin/fs/ntfs.h:2,
from fsimageplugin/cowfile.cpp:30:
fsimageplugin/fs/../filesystem.h:120:24: warning: no newline at end of file
In file included from fsimageplugin/cowfile.cpp:30:
fsimageplugin/fs/ntfs.h:154:3: warning: no newline at end of file
In file included from fsimageplugin/cowfile.cpp:34:
fsimageplugin/FileWrapper.h:44:3: warning: no newline at end of file
In file included from fsimageplugin/cowfile.cpp:35:
fsimageplugin/ClientBitmap.h:26:3: warning: no newline at end of file
fsimageplugin/cowfile.cpp:736:19: warning: no newline at end of file
In file included from fsimageplugin/fs/ntfs.h:2,
from fsimageplugin/cowfile.cpp:30:
fsimageplugin/fs/../filesystem.h:47: warning: 'Filesystem' has a field 'Filesystem::readahead_thread' whose type uses the anonymous namespace
mv -f fsimageplugin/.deps/urbackupsrv-cowfile.Tpo fsimageplugin/.deps/urbackupsrv-cowfile.Po
arm-none-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I/opt/QUrBackup/include -D_FILE_OFFSET_BITS=64 -I/opt/QUrBackup/include/fuse -DSQLITE_PREPARE_RETRIES=5 -O2 -I/opt/QUrBackup/include -I/usr/local/include -I/usr/local/include -DLINUX -DSTATIC_PLUGIN -DWITH_FUSEPLUGIN -DVARDIR='"/opt/QUrBackup/var"' -DBINDIR='"/opt/QUrBackup/bin"' -DDATADIR='"/opt/QUrBackup/share"' -DCRYPTOPP_INCLUDE_PREFIX=cryptoplugin -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -O2 -I/opt/QUrBackup/include -MT urbackupcommon/urbackupsrv-os_functions_lin.o -MD -MP -MF urbackupcommon/.deps/urbackupsrv-os_functions_lin.Tpo -c -o urbackupcommon/urbackupsrv-os_functions_lin.o `test -f 'urbackupcommon/os_functions_lin.cpp' || echo './'`urbackupcommon/os_functions_lin.cpp
In file included from urbackupcommon/os_functions_lin.cpp:19:
urbackupcommon/os_functions.h:225:24: warning: no newline at end of file
urbackupcommon/os_functions_lin.cpp: In function 'bool os_set_file_time(const std::string&, int64, int64, int64)':
urbackupcommon/os_functions_lin.cpp:730: error: 'utimensat' was not declared in this scope
make[2]: *** [urbackupcommon/urbackupsrv-os_functions_lin.o] Error 1
make[2]: Leaving directory `/SRC/urbackup-server-2.1.18'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/SRC/urbackup-server-2.1.18'
make: *** [all] Error 2

Environment

cross compilate for glibc 2.5.0 with arm-none-linux-gnueabi-gcc (GCC) 4.2.1
on Ubuntu x86 (32bit)

Assignee

Martin Raiber

Reporter

Stephane Guerithault

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure