[BitBucket user: qoolbox]
[BitBucket date: 2016-07-19.17:42:19]
Hi i am the dev for your great apps,
i made an x86 version for 1.0 version, but since 1.1 getting the following error on make
```
-- Build files have been written to: /SRC/Orthanc-1.1.0
root@debian:/SRC/Orthanc-1.1.0# make
make: Warning: File `Makefile' has modification time 1.1e+06 s in the future
make[1]: Warning: File `CMakeFiles/Makefile2' has modification time 1.1e+06 s in the future
make[2]: Warning: File `CMakeFiles/CoreLibrary.dir/flags.make' has modification time 1.1e+06 s in the future
Scanning dependencies of target CoreLibrary
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File `CMakeFiles/CoreLibrary.dir/flags.make' has modification time 1.1e+06 s in the future
[ 0%] Building CXX object CMakeFiles/CoreLibrary.dir/Core/DicomFormat/DicomMap.cpp.o
/SRC/Orthanc-1.1.0/Core/DicomFormat/DicomMap.cpp: In function ‘uint16_t Orthanc::ReadUnsignedInteger16(const char*)’:
/SRC/Orthanc-1.1.0/Core/DicomFormat/DicomMap.cpp:479: error: ‘le16toh’ was not declared in this scope
/SRC/Orthanc-1.1.0/Core/DicomFormat/DicomMap.cpp: In function ‘uint32_t Orthanc::ReadUnsignedInteger32(const char*)’:
/SRC/Orthanc-1.1.0/Core/DicomFormat/DicomMap.cpp:485: error: ‘le32toh’ was not declared in this scope
make[2]: *** [CMakeFiles/CoreLibrary.dir/Core/DicomFormat/DicomMap.cpp.o] Error 1
make[1]: *** [CMakeFiles/CoreLibrary.dir/all] Error 2
make: *** [all] Error 2
```
any chance to fix this ?
glibc is 2.6.0 and GCC 4.3.6 (cross compilation)
command used
```
CXX=${HOST}-g++ \
LD=${HOST}-ld \
AS=${HOST}-as \
AR=${HOST}-ar \
CC=${HOST}-gcc \
PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig" \
CFLAGS="-O2 -I$PREFIX/include " \
CXXFLAGS="-O2 -I$PREFIX/include" \
LDFLAGS="-L$PREFIX/lib -Wl,-rpath,$PREFIX/lib" \
CPPFLAGS="-O2 -I$PREFIX/include" \
FFLAGS="-O2 -I$PREFIX/include" \
cmake \
-DCMAKE_SYSTEM_NAME=Linux \
-DCMAKE_SYSTEM_PROCESSOR=x86 \
-DCMAKE_CROSSCOMPILING=1 \
-DCMAKE_C_COMPILER=/data/x-tools/i686-QNAP-linux-gnu/bin/i686-QNAP-linux-gnu-gcc \
-DCMAKE_CXX_COMPILER=/data/x-tools/i686-QNAP-linux-gnu/bin/i686-QNAP-linux-gnu-g++ \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
-DCMAKE_LIBRARY_PATH=$PREFIX/lib \
-DCMAKE_INCLUDE_PATH=$PREFIX/include \
-DCMAKE_BUILD_TYPE=Release \
```
thanks for all |