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)

Submitted by:  Udo Giacomozzi <udog>
Submitted on:  Wed 08 Apr 2009 08:01:03 AM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Ready For Test
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 31 Jul 2011 11:41:26 AM UTCstrkStatusNone=>Ready For Test
    Sun 13 Mar 2011 02:29:48 PM UTCbjacquesCategoryNone=>build
    Wed 08 Apr 2009 08:01:03 AM UTCudogAttached 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.1-cleanup