I'm trying to cross-compile, but I'm not sure if I'm doing it right. I'm using scons and just added the following:
In include/pandora there's OpenAL.
When I compile I get the following compile errors:
Maybe it's related to boost?
Code:
env['CC'] = '/home/jhasse/pandora-dev/arm-2011.09/bin/pandora-gcc'
env['CXX'] = '/home/jhasse/pandora-dev/arm-2011.09/bin/pandora-g++'
env.Append(CPPPATH=Split('include/pandora /home/jhasse/pandora-dev/arm-2011.09/usr/include/'))
In include/pandora there's OpenAL.
When I compile I get the following compile errors:
Code:
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
compiling: src/audio.o
compiling: src/finally.o
In file included from /home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/random:38:0,
from /home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/bits/stl_algo.h:67,
from /home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/algorithm:63,
from /home/jhasse/pandora-dev/arm-2011.09/usr/include/boost/smart_ptr/shared_ptr.hpp:41,
from /home/jhasse/pandora-dev/arm-2011.09/usr/include/boost/shared_ptr.hpp:17,
from src/jngl/sprite.hpp:13,
from src/jngl.hpp:10,
from src/audio.cpp:14:
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:975:11: error: '::acoshl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:979:11: error: '::asinhl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:983:11: error: '::atanhl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:987:11: error: '::cbrtl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:991:11: error: '::copysignl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:995:11: error: '::erfl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:999:11: error: '::erfcl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1003:11: error: '::exp2l' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1007:11: error: '::expm1l' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1011:11: error: '::fdiml' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1015:11: error: '::fmal' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1019:11: error: '::fmaxl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1023:11: error: '::fminl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1027:11: error: '::hypotl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1031:11: error: '::ilogbl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1035:11: error: '::lgammal' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1039:11: error: '::llrintl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1043:11: error: '::llroundl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1047:11: error: '::log1pl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1051:11: error: '::log2l' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1055:11: error: '::logbl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1059:11: error: '::lrintl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1063:11: error: '::lroundl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1067:11: error: '::nanl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1071:11: error: '::nearbyintl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1075:11: error: '::nextafterl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1079:11: error: '::nexttowardl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1083:11: error: '::remainderl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1087:11: error: '::remquol' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1091:11: error: '::rintl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1095:11: error: '::roundl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1099:11: error: '::scalblnl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1103:11: error: '::scalbnl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1107:11: error: '::tgammal' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1111:11: error: '::truncl' has not been declared
In file included from /home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/random:38:0,
from /home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/bits/stl_algo.h:67,
from /home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/algorithm:63,
from /home/jhasse/pandora-dev/arm-2011.09/usr/include/boost/function/detail/prologue.hpp:13,
from /home/jhasse/pandora-dev/arm-2011.09/usr/include/boost/function.hpp:24,
from src/finally.hpp:8,
from src/finally.cpp:6:
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:975:11: error: '::acoshl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:979:11: error: '::asinhl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:983:11: error: '::atanhl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:987:11: error: '::cbrtl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:991:11: error: '::copysignl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:995:11: error: '::erfl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:999:11: error: '::erfcl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1003:11: error: '::exp2l' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1007:11: error: '::expm1l' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1011:11: error: '::fdiml' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1015:11: error: '::fmal' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1019:11: error: '::fmaxl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1023:11: error: '::fminl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1027:11: error: '::hypotl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1031:11: error: '::ilogbl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1035:11: error: '::lgammal' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1039:11: error: '::llrintl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1043:11: error: '::llroundl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1047:11: error: '::log1pl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1051:11: error: '::log2l' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1055:11: error: '::logbl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1059:11: error: '::lrintl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1063:11: error: '::lroundl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1067:11: error: '::nanl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1071:11: error: '::nearbyintl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1075:11: error: '::nextafterl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1079:11: error: '::nexttowardl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1083:11: error: '::remainderl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1087:11: error: '::remquol' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1091:11: error: '::rintl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1095:11: error: '::roundl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1099:11: error: '::scalblnl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1103:11: error: '::scalbnl' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1107:11: error: '::tgammal' has not been declared
/home/jhasse/pandora-dev/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/include/c++/4.6.1/cmath:1111:11: error: '::truncl' has not been declared
scons: *** [src/audio.o] Error 1
scons: *** [src/finally.o] Error 1
scons: building terminated because of errors.
Maybe it's related to boost?