Wed 08 Apr 2009 08:01:03 AM UTC, original submission:
When cross-compiling for an ARM/Qt4/Angstrom device, after a successful "configure" I get this error when running "make":
../libcore/StringPredicates.h:24:46: error: boost/algorithm/string/compare.hpp: No such file or directory
../libcore/StringPredicates.h:25:48: error: boost/algorithm/string/predicate.hpp: No such file or directory
Apparently the libcore Makefile misses the Boost include path?
Making a symlink in libcore/ fixes this:
cd libcore && ln -s ../../../boost_1_38_0/boost && cd ..
but I get a bunch of warnings (and it fails to build in the end, but that is probably another problem).
Attached files for details:
configure.output: Full output of ./configure
make.output: Full output of make
make-with-symlink.output: Full output of make after creating the described symlink
./configure and make calls:
PATH=/opt/sdg/angstrom2007.12/sdk/bin:$PATH \
CC=arm-angstrom-linux-gnueabi-gcc \
GCC=arm-angstrom-linux-gnueabi-gcc \
CXX=arm-angstrom-linux-gnueabi-gcc \
STRIP=arm-angstrom-linux-gnueabi-strip \
LD=arm-angstrom-linux-gnueabi-ld \
./configure \
--host=arm-linux \
--enable-fps-debug \
--enable-gui=qt4 \
--with-top-level=/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi \
--with-qt4-incl=/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/include/qt4 \
--with-qt4-lib=/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib \
--enable-mit-shm \
--with-boost-incl=../../boost_1_38_0/boost \
--with-boost-lib=../../boost_1_38_0/stage/lib \
--with-gif-incl=../../giflib-4.1.6/lib \
--with-gif-lib=../../giflib-4.1.6/lib/.libs \
--with-agg-incl=../../agg-2.5/include \
--with-agg-lib=../../agg-2.5/src \
--with-sdl-incl=../../SDL-1.2.8/include \
--with-sdl-lib=../../SDL-1.2.8/src/.libs
PATH=/opt/sdg/angstrom2007.12/sdk/bin:$PATH \
CC=arm-angstrom-linux-gnueabi-gcc \
GCC=arm-angstrom-linux-gnueabi-gcc \
CXX=arm-angstrom-linux-gnueabi-gcc \
STRIP=arm-angstrom-linux-gnueabi-strip \
LD=arm-angstrom-linux-gnueabi-ld \
make
Boost, Giflib, Agg and SDL have been built from sources before trying to build Gnash.
Same thing happens with Gnash 0.8.5 and with Boost 1.35
|