bugGnash - The GNU Flash player - Bugs: bug #26115, make fails to include Boost...

 
 

bug #26115: make fails to include Boost (probably BOOST flags not set)

Submitter:  Udo Giacomozzi <udog>
Submitted:  Wed 08 Apr 2009 08:01:03 AM UTC
   
 
Category:  build Severity:  3 - Normal
Release:  None Status:  Ready For Test
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 31 Jul 2011 11:41:26 AM UTC, comment #2: 

I guess this was fixed long ago... are you in a position to still test it Udo ?

Sandro Santilli <strk>
Group Member
Wed 08 Apr 2009 08:08:43 AM UTC, comment #1: 

FYI, the compiler used is GCC 4.1.2:

/opt/sdg/angstrom2007.12/sdk/bin/arm-angstrom-linux-gnueabi-gcc -v
Using built-in specs.
Target: arm-angstrom-linux-gnueabi
Configured with: /opt/aric/angstrom2007.12/work/i686-armv5te-sdk-angstrom-linux-gnueabi/gcc-cross-sdk-4.1.2-r11/gcc-4.1.2/configure --build=i686-linux --host=i686-linux --target=arm-angstrom-linux-gnueabi --prefix=/opt/sdg/angstrom2007.12/sdk --exec_prefix=/opt/sdg/angstrom2007.12/sdk --bindir=/opt/sdg/angstrom2007.12/sdk/bin --sbindir=/opt/sdg/angstrom2007.12/sdk/bin --libexecdir=/opt/sdg/angstrom2007.12/sdk/libexec --datadir=/opt/sdg/angstrom2007.12/sdk/share --sysconfdir=/opt/sdg/angstrom2007.12/sdk/etc --sharedstatedir=/opt/sdg/angstrom2007.12/sdk/share/com --localstatedir=/opt/sdg/angstrom2007.12/sdk/var --libdir=/opt/sdg/angstrom2007.12/sdk/lib --includedir=/opt/sdg/angstrom2007.12/sdk/include --oldincludedir=/opt/sdg/angstrom2007.12/sdk/include --infodir=/opt/sdg/angstrom2007.12/sdk/share/info --mandir=/opt/sdg/angstrom2007.12/sdk/share/man --with-gnu-ld --enable-shared --enable-target-optspace --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-gnueabi- --with-local-prefix=/opt/sdg/angstrom2007.12/sdk/local --with-gxx-include-dir=/opt/sdg/angstrom2007.12/sdk/include/c++/4.1.2 --with-float=soft --disable-libssp --with-sysroot=/opt/aric/angstrom2007.12/work/i686-armv5te-sdk-angstrom-linux-gnueabi/gcc-cross-sdk-4.1.2-r11/sysroot --disable-libunwind-exceptions --with-mpfr=/opt/aric/angstrom2007.12/staging/i686-linux --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.2


Build system is Debian Lenny.

Udo Giacomozzi <udog>
Group Member
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

Udo Giacomozzi <udog>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #17885:  configure.output added by udog (24KiB - application/octet-stream)
file #17886:  make-with-symlink.output added by udog (224KiB - application/octet-stream)
file #17887:  make.output added by udog (34KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by bjacques (Updated the item)
  • -email is unavailable- added by udog (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-07-31 strk StatusNone Ready For Test
    2011-03-13 bjacques CategoryNone build
    2009-04-08 udog Attached File- Added configure.output, #17885
        Attached File- Added make-with-symlink.output, #17886
        Attached File- Added make.output, #17887

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code