Open outkastm opened 8 years ago
What's your gcc version?
Using built-in specs. COLLECT_GCC=x86_64-unknown-linux-gnu-g++ COLLECT_LTO_WRAPPER=/data/x-tools/x86_64-unknown-linux-gnu/libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /CROSS/crosstool-ng/.build/src/gcc-4.7.2/configure --build=x86_64-build_unknown-linux-gnu --host=x86_64-build_unknown-linux-gnu --target=x86_64-unknown-linux-gnu --prefix=/data/x-tools/x86_64-unknown-linux-gnu --with-sysroot=/data/x-tools/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot --enable-languages=c,c++,fortran,java --with-pkgversion='crosstool-NG hg+-7fe58a4f79f8' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --with-gmp=/CROSS/crosstool-ng/.build/x86_64-unknown-linux-gnu/buildtools --with-mpfr=/CROSS/crosstool-ng/.build/x86_64-unknown-linux-gnu/buildtools --with-mpc=/CROSS/crosstool-ng/.build/x86_64-unknown-linux-gnu/buildtools --with-ppl=/CROSS/crosstool-ng/.build/x86_64-unknown-linux-gnu/buildtools --with-cloog=/CROSS/crosstool-ng/.build/x86_64-unknown-linux-gnu/buildtools --with-libelf=/CROSS/crosstool-ng/.build/x86_64-unknown-linux-gnu/buildtools --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/CROSS/crosstool-ng/.build/x86_64-unknown-linux-gnu/buildtools/lib -lpwl' --enable-threads=posix --enable-target-optspace --enable-plugin --disable-nls --disable-multilib --with-local-prefix=/data/x-tools/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/sysroot --enable-c99 --enable-long-long Thread model: posix gcc version 4.7.2 (crosstool-NG hg+-7fe58a4f79f8)
You probably need gcc >= 4.8
I have this error when i try to cross compile on debian
root@debian:~/develop/src/PS3iso/ps3netsrv--# make CXX=${HOST}-g++ x86_64-unknown-linux-gnu-g++ -c -O3 -I./utils/inc -D_FILE_OFFSET_BITS=64 -DCONSOLE_SUPPORTS_COLOR -Wall -std=c++11 -Wfatal-errors ps3netsrv.cpp -o ps3netsrv.o In file included from ./utils/inc/utils/log.h:31:0, from ps3netsrv.cpp:20: ./utils/inc/utils/timeoperations.h: In function 'void utils::timeops::sleepMs(uint32_t)': ./utils/inc/utils/timeoperations.h:40:9: error: 'sleep_for' is not a member of 'std::this_thread' compilation terminated due to -Wfatal-errors. make: *** [ps3netsrv.o] Error 1