Newer GCC (>= 4.4.5)?


Mr Rob

Active Member
Joined
Apr 23, 2011
Messages
805
Age
38
Location
Fargo, North Dakota, USA.
Hello all:


Has anyone gotten a newer gcc compiled and running on their Pandora for development?


I'm trying to get the latest version of Pingus running, and from what I can tell he's using newer features that the current GCC (4.3.3) on the Pandora doesn't support. Specifically 'unique_ptr'. I can get Pingus compiled running Debian 6 on my netbook, which has GCC 4.4.5.


I've grabbed GCC 4.4.5 source and GCC 4.6.1 (latest) source and both eventually ran into make compilation errors. It's not dependency problems; make just gets to a point where it collapses.


So has anyone successfully built a newer GCC on their Pandora? Or other recommendations as the best way to proceed?
 
So has anyone successfully built a newer GCC on their Pandora? Or other recommendations as the best way to proceed?
You could use a crosscompiler setup to compile this program. That is the toolchain based on codesourcery comes with gcc 4.5.2.


Please have a look at this post for more information:


The relevant link in there is "Crosscompiler Toolchain Based On Openpandora.org Ipks".
 
Last edited by a moderator:
Thanks Ivanovic, I'll get that set up. It's probably about time I have a real development environment instead of doing everything on my Pandora anyway.
 
And just so I'm clear, with cross-compiling, I pretty much need to recompile everything (glib, etc.) for ARM on my laptop, yes? Or are these already taken care off in the toolchain above and I simply have my paths wrong?
 
And just so I'm clear, with cross-compiling, I pretty much need to recompile everything (glib, etc.) for ARM on my laptop, yes? Or are these already taken care off in the toolchain above and I simply have my paths wrong?

no you dont need to build anything, the links Ivanovic posted are setting up a toolchain setup based on the code sourcery's prebuilt gcc with devel packages from ipk's.


The only case you may have to cross compile something if its a library that was not included. Note that this setup only works for the host being x86 and the target being ARM.
 
A couple more questions as I slowly putz along...


I know Ivanovic's cross compiler works, as I've used it on a different project as a test (traditional configure, make, make install. Easy peasy)..


Pingus uses Scons. I've cheated and pretty much used the pandora_configure.sh script and swapped out ./configure for scons. It uses the new paths and can still find sdl-config and pkg-config and the like from within the toolchain (prints out the paths, all's well). It can't find boost_signals, though.


Is boost_signals part of the default toolchain? I'm pretty sure it is, as I've nosed around the filesystem and can find it, so I think it's there.


@ivanovic; I know Wesnoth of late has been using scons for the build process. Do you have a more refined scons script that you use to build it for the Pandora?
 
@ivanovic; I know Wesnoth of late has been using scons for the build process. Do you have a more refined scons script that you use to build it for the Pandora?
Wesnoth offers scons as well as cmake. And as you might guess I am simply using cmake since it "just works" *and* I know how to modify the build files, too (since I was one of those working on the conversion from autotools to cmake). Sorry, I can't help you regarding how to make better use of scons as build system.
 
Ah, okay. I remember Wesnoth had gone to scons (as I tend to build the latest version for my laptop anyway).


Thanks. I'll keep hammering on it and get there eventually.
 
My problem is that the Scons script that ships with Pingus cannot find the boost_signals library from within Ivanovic's toolchain.


I know the toolchain works because I've built other things with it, so that's okay.


I take the pandora_configure.sh script and simply call 'scons' at the end instead of ./configure like so....

PATH=$PNDSDK/bin:$PNDSDK/usr/bin:$PATH LIBTOOL_SYSROOT_PATH=$PNDSDK PKG_CONFIG_PATH=$PNDSDK/usr/lib/pkgconfig PKG_CONFIG=$PNDSDK/bin/arm-none-linux-gnueabi-pkg-config CPATH="$PNDSDK/usr/include:$CPATH" CFLAGS="-DPANDORA -Os -pipe -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -fsingle-precision-constant" CPPFLAGS="-DPANDORA -Os -pipe -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -fsingle-precision-constant" CXXFLAGS="-I$PNDSDK/usr/include" LDFLAGS="-L$PNDSDK/usr/lib -Wl,-rpath,$PNDSDK/usr/lib" CXX=$CROSSTOOL-g++ CC=$CROSSTOOL-gcc AR=$CROSSTOOL-ar AS=$CROSSTOOL-as RANLIB=$CROSSTOOL-ranlib STRIP=$CROSSTOOL-strip HOST_CC=gcc HOST_CXX=g++ scons


Yet boost_signals is not found. Here is the Sconscript portion that 'finds' boost.

Code:
    def configure_boost(self):

        if not self.conf.CheckLibWithHeader('boost_signals', 'boost/signals.hpp', 'c++'):

            if not self.conf.CheckLibWithHeader('boost_signals-mt', 'boost/signals.hpp', 'c++'):

                self.fatal_error += "  * library 'boost_signals' not found\n"




Now building it for my i386 laptop works just fine, so finding boost isn't an issue. I also know that boost is in Ivanovic's toolchain, I just can't see why it doesn't piece the two together, as it can find the other libs (SDL_mixer and SDL_image) just fine. And I know it's using the proper paths because I'll get...




Code:
Checking for pkg-config...(cached) /home/me/Projects/pandora-dev/arm-2011.03/bin/pkg-config

Checking for sdl-config...(cached) /home/me/Projects/pandora-dev/arm-2011.03/usr/bin/sdl-config


So does that help? Let me know if there's any more information I can provide you.
 
Its trying to build with the headers and link with the library, so if the headers are there then are the libs? Also it could be that the linker is expecting some other libs. I think there should be a log file that should give the details on what failed.


I use ivanovic's toolchain and this is a common error, some reason the linker cant find library depenendies. For example say you use SDL, the linker might then report it cant find libts (even though its in the lib folder), which the only way I know to correct is to specify the libts in the linker flags i.e. -lSDL -lts


You might end up having to supply a full list of libraries that are needed in the LDFLAGS var.
 
I would love to see the log output of "self.conf.CheckLibWithHeader('boost_signals-mt', 'boost/signals.hpp', 'c++')" :


it should be trying to build a binary linking to 'libboost_signals-mt.so' I'ld love to know what's the building error (it could be either what pickle say or an header issue).
 
Last edited by a moderator:
This qualifies as a bit over my head, but enjoy!


I run scons, and here's the output of config.log (I do see that it's reaching out to /usr/include/c++ for some reason...)

Code:
file /home/foertsch/Projects/pandora-dev/pingus/pingus-0.7.4/SConscript,line 126:

Configure(confdir = .sconf_temp)

scons: Configure: Checking for C++ library boost_signals...

.sconf_temp/conftest_0.cpp <-

  |

  |

  |#include "boost/signals.hpp"

  |

  |int

  |main() {

  |  

  |return 0;

  |}

  |

g++ -o .sconf_temp/conftest_0.o -c -std=c++0x -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_0.cpp

In file included from /usr/include/c++/4.4/cmath:623,

         		from /usr/include/c++/4.4/complex:46,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/type_traits/is_complex.hpp:12,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/type_traits.hpp:81,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/trackable.hpp:13,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/slot.hpp:15,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/signal_template.hpp:21,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/signal0.hpp:24,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signal.hpp:19,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals.hpp:9,

         		from .sconf_temp/conftest_0.cpp:3:

/usr/include/c++/4.4/tr1_impl/cmath:153: error: &#8216;::acoshl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:157: error: &#8216;::asinhl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:161: error: &#8216;::atanhl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:165: error: &#8216;::cbrtl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:169: error: &#8216;::copysignl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:173: error: &#8216;::erfl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:177: error: &#8216;::erfcl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:181: error: &#8216;::exp2l&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:185: error: &#8216;::expm1l&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:189: error: &#8216;::fdiml&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:193: error: &#8216;::fmal&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:197: error: &#8216;::fmaxl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:201: error: &#8216;::fminl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:205: error: &#8216;::hypotl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:209: error: &#8216;::ilogbl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:213: error: &#8216;::lgammal&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:217: error: &#8216;::llrintl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:221: error: &#8216;::llroundl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:225: error: &#8216;::log1pl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:229: error: &#8216;::log2l&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:233: error: &#8216;::logbl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:237: error: &#8216;::lrintl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:241: error: &#8216;::lroundl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:245: error: &#8216;::nanl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:249: error: &#8216;::nearbyintl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:253: error: &#8216;::nextafterl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:257: error: &#8216;::nexttowardl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:261: error: &#8216;::remainderl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:265: error: &#8216;::remquol&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:269: error: &#8216;::rintl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:273: error: &#8216;::roundl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:277: error: &#8216;::scalblnl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:281: error: &#8216;::scalbnl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:285: error: &#8216;::tgammal&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:289: error: &#8216;::truncl&#8217; has not been declared

scons: Configure: no


scons: Configure: Checking for C++ library boost_signals-mt...

.sconf_temp/conftest_1.cpp <-

  |

  |

  |#include "boost/signals.hpp"

  |

  |int

  |main() {

  |  

  |return 0;

  |}

  |

g++ -o .sconf_temp/conftest_1.o -c -std=c++0x -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_1.cpp

In file included from /usr/include/c++/4.4/cmath:623,

         		from /usr/include/c++/4.4/complex:46,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/type_traits/is_complex.hpp:12,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/type_traits.hpp:81,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/trackable.hpp:13,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/slot.hpp:15,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/signal_template.hpp:21,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/signal0.hpp:24,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signal.hpp:19,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals.hpp:9,

         		from .sconf_temp/conftest_1.cpp:3:

/usr/include/c++/4.4/tr1_impl/cmath:153: error: &#8216;::acoshl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:157: error: &#8216;::asinhl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:161: error: &#8216;::atanhl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:165: error: &#8216;::cbrtl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:169: error: &#8216;::copysignl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:173: error: &#8216;::erfl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:177: error: &#8216;::erfcl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:181: error: &#8216;::exp2l&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:185: error: &#8216;::expm1l&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:189: error: &#8216;::fdiml&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:193: error: &#8216;::fmal&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:197: error: &#8216;::fmaxl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:201: error: &#8216;::fminl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:205: error: &#8216;::hypotl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:209: error: &#8216;::ilogbl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:213: error: &#8216;::lgammal&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:217: error: &#8216;::llrintl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:221: error: &#8216;::llroundl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:225: error: &#8216;::log1pl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:229: error: &#8216;::log2l&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:233: error: &#8216;::logbl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:237: error: &#8216;::lrintl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:241: error: &#8216;::lroundl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:245: error: &#8216;::nanl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:249: error: &#8216;::nearbyintl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:253: error: &#8216;::nextafterl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:257: error: &#8216;::nexttowardl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:261: error: &#8216;::remainderl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:265: error: &#8216;::remquol&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:269: error: &#8216;::rintl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:273: error: &#8216;::roundl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:277: error: &#8216;::scalblnl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:281: error: &#8216;::scalbnl&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:285: error: &#8216;::tgammal&#8217; has not been declared

/usr/include/c++/4.4/tr1_impl/cmath:289: error: &#8216;::truncl&#8217; has not been declared

scons: Configure: no


scons: Configure: Checking for pkg-config...

scons: Configure: (cached) /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/pkg-config


scons: Configure: Checking for sdl-config...

scons: Configure: (cached) /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/bin/sdl-config


scons: Configure: Checking for SDL_image...

.sconf_temp/conftest_2.cpp <-

  |

  |#include "SDL.h"

  |#include "SDL_image.h"

  |int main(int argc, char* argv[]) { return 0; }

  |

g++ -o .sconf_temp/conftest_2.o -c -std=c++0x -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/SDL -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_2.cpp

g++ -o .sconf_temp/conftest_2 -Wl,-rpath,/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib .sconf_temp/conftest_2.o -L/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib -lpng12 -lSDL -lpthread -lSDL_image

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpng12.so when searching for -lpng12

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpng12.a when searching for -lpng12

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL.so when searching for -lSDL

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpthread.so when searching for -lpthread

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpthread.a when searching for -lpthread

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_image.so when searching for -lSDL_image

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_image.a when searching for -lSDL_image

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libm.so when searching for -lm

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libm.a when searching for -lm

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libc.so when searching for -lc

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libc.a when searching for -lc

scons: Configure: ok


scons: Configure: Checking for SDL_mixer...

.sconf_temp/conftest_3.cpp <-

  |

  |#include "SDL.h"

  |#include "SDL_mixer.h"

  |int main(int argc, char* argv[]) { return 0; }

  |

g++ -o .sconf_temp/conftest_3.o -c -std=c++0x -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/SDL -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_3.cpp

g++ -o .sconf_temp/conftest_3 -Wl,-rpath,/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib .sconf_temp/conftest_3.o -L/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib -lpng12 -lSDL -lpthread -lSDL_image -lSDL_mixer

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpng12.so when searching for -lpng12

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpng12.a when searching for -lpng12

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL.so when searching for -lSDL

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpthread.so when searching for -lpthread

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpthread.a when searching for -lpthread

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_image.so when searching for -lSDL_image

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_image.a when searching for -lSDL_image

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_mixer.so when searching for -lSDL_mixer

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_mixer.a when searching for -lSDL_mixer

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libm.so when searching for -lm

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libm.a when searching for -lm

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libc.so when searching for -lc

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libc.a when searching for -lc

scons: Configure: ok


scons: Configure: Check how to call iconv...

.sconf_temp/conftest_4.cpp <-

  |

  |#include <iconv.h>

  |int main() {

  |    char *foo;

  |   (void)iconv(static_cast<iconv_t>(0), &foo, static_cast<size_t*>(0), static_cast<char**>(0), static_cast<size_t*>(0));

  |   return 0;

  |}

  |

g++ -o .sconf_temp/conftest_4.o -c -std=c++0x -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/SDL -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_4.cpp

scons: Configure: use ''


scons: Configure: Checking for C library iconv...

.sconf_temp/conftest_5.c <-

  |

  |

  |

  |int

  |main() {

  |  

  |return 0;

  |}

  |

gcc -o .sconf_temp/conftest_5.o -c -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/SDL -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_5.c

gcc -o .sconf_temp/conftest_5 -Wl,-rpath,/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib .sconf_temp/conftest_5.o -L/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib -lpng12 -lSDL -lpthread -lSDL_image -lSDL_mixer -liconv

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpng12.so when searching for -lpng12

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpng12.a when searching for -lpng12

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL.so when searching for -lSDL

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpthread.so when searching for -lpthread

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libpthread.a when searching for -lpthread

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_image.so when searching for -lSDL_image

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_image.a when searching for -lSDL_image

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_mixer.so when searching for -lSDL_mixer

/usr/bin/ld: skipping incompatible /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib/libSDL_mixer.a when searching for -lSDL_mixer

/usr/bin/ld: cannot find -liconv

collect2: ld returned 1 exit status

scons: Configure: no
 
Last edited by a moderator:
Those errors with the cmath header are odd, but the library issue i described is in fact what is failing the SDLlibrary tests that follow.


Also appears that the arm gcc/g++ are not being used.
 
Those errors with the cmath header are odd, but the library issue i described is in fact what is failing the SDLlibrary tests that follow.


Also appears that the arm gcc/g++ are not being used.

Thank you, I've added symlinks into the toolchain for the gcc and g++ (they were listed as arm-none-linux-gnueabi-gcc and pandora-gcc in /bin in the toolchain, symlinks solve that).


Here's the new config.log, I assume it's still looking for the libraries wrong, though.

Code:
file /home/foertsch/Projects/pandora-dev/pingus/pingus-0.7.4/SConscript,line 126:

Configure(confdir = .sconf_temp)

scons: Configure: Checking for C++ library boost_signals...

.sconf_temp/conftest_0.cpp <-

  |

  |

  |#include "boost/signals.hpp"

  |

  |int

  |main() {

  |  

  |return 0;

  |}

  |

g++ -o .sconf_temp/conftest_0.o -c -std=c++0x -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_0.cpp

In file included from /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/cmath:629:0,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/random:38,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/bits/stl_algo.h:66,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/algorithm:63,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/smart_ptr/shared_ptr.hpp:41,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/shared_ptr.hpp:17,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/smart_ptr.hpp:18,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/connection.hpp:14,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/signal_template.hpp:18,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/signal0.hpp:24,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signal.hpp:19,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals.hpp:9,

         		from .sconf_temp/conftest_0.cpp:3:

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:153:11: error: '::acoshl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:157:11: error: '::asinhl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:161:11: error: '::atanhl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:165:11: error: '::cbrtl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:169:11: error: '::copysignl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:173:11: error: '::erfl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:177:11: error: '::erfcl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:181:11: error: '::exp2l' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:185:11: error: '::expm1l' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:189:11: error: '::fdiml' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:193:11: error: '::fmal' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:197:11: error: '::fmaxl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:201:11: error: '::fminl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:205:11: error: '::hypotl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:209:11: error: '::ilogbl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:213:11: error: '::lgammal' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:217:11: error: '::llrintl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:221:11: error: '::llroundl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:225:11: error: '::log1pl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:229:11: error: '::log2l' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:233:11: error: '::logbl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:237:11: error: '::lrintl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:241:11: error: '::lroundl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:245:11: error: '::nanl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:249:11: error: '::nearbyintl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:253:11: error: '::nextafterl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:257:11: error: '::nexttowardl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:261:11: error: '::remainderl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:265:11: error: '::remquol' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:269:11: error: '::rintl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:273:11: error: '::roundl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:277:11: error: '::scalblnl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:281:11: error: '::scalbnl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:285:11: error: '::tgammal' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:289:11: error: '::truncl' has not been declared

scons: Configure: no


scons: Configure: Checking for C++ library boost_signals-mt...

.sconf_temp/conftest_1.cpp <-

  |

  |

  |#include "boost/signals.hpp"

  |

  |int

  |main() {

  |  

  |return 0;

  |}

  |

g++ -o .sconf_temp/conftest_1.o -c -std=c++0x -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_1.cpp

In file included from /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/cmath:629:0,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/random:38,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/bits/stl_algo.h:66,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/algorithm:63,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/smart_ptr/shared_ptr.hpp:41,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/shared_ptr.hpp:17,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/smart_ptr.hpp:18,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/connection.hpp:14,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/signal_template.hpp:18,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals/signal0.hpp:24,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signal.hpp:19,

         		from /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/boost/signals.hpp:9,

         		from .sconf_temp/conftest_1.cpp:3:

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:153:11: error: '::acoshl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:157:11: error: '::asinhl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:161:11: error: '::atanhl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:165:11: error: '::cbrtl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:169:11: error: '::copysignl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:173:11: error: '::erfl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:177:11: error: '::erfcl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:181:11: error: '::exp2l' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:185:11: error: '::expm1l' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:189:11: error: '::fdiml' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:193:11: error: '::fmal' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:197:11: error: '::fmaxl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:201:11: error: '::fminl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:205:11: error: '::hypotl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:209:11: error: '::ilogbl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:213:11: error: '::lgammal' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:217:11: error: '::llrintl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:221:11: error: '::llroundl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:225:11: error: '::log1pl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:229:11: error: '::log2l' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:233:11: error: '::logbl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:237:11: error: '::lrintl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:241:11: error: '::lroundl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:245:11: error: '::nanl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:249:11: error: '::nearbyintl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:253:11: error: '::nextafterl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:257:11: error: '::nexttowardl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:261:11: error: '::remainderl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:265:11: error: '::remquol' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:269:11: error: '::rintl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:273:11: error: '::roundl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:277:11: error: '::scalblnl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:281:11: error: '::scalbnl' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:285:11: error: '::tgammal' has not been declared

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/include/c++/4.5.2/tr1_impl/cmath:289:11: error: '::truncl' has not been declared

scons: Configure: no


scons: Configure: Checking for pkg-config...

scons: Configure: (cached) /home/foertsch/Projects/pandora-dev/arm-2011.03/bin/pkg-config


scons: Configure: Checking for sdl-config...

scons: Configure: (cached) /home/foertsch/Projects/pandora-dev/arm-2011.03/usr/bin/sdl-config


scons: Configure: Checking for SDL_image...

.sconf_temp/conftest_2.cpp <-

  |

  |#include "SDL.h"

  |#include "SDL_image.h"

  |int main(int argc, char* argv[]) { return 0; }

  |

g++ -o .sconf_temp/conftest_2.o -c -std=c++0x -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/SDL -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_2.cpp

g++ -o .sconf_temp/conftest_2 -Wl,-rpath,/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib .sconf_temp/conftest_2.o -L/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib -lpng12 -lSDL -lpthread -lSDL_image

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/bin/ld: BFD (Sourcery G++ Lite 2011.03-41) 2.20.51.20100809 assertion fail /scratch/janisjo/arm-linux-lite/obj/binutils-src-2011.03-41-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:10802

scons: Configure: ok


scons: Configure: Checking for SDL_mixer...

.sconf_temp/conftest_3.cpp <-

  |

  |#include "SDL.h"

  |#include "SDL_mixer.h"

  |int main(int argc, char* argv[]) { return 0; }

  |

g++ -o .sconf_temp/conftest_3.o -c -std=c++0x -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/SDL -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_3.cpp

g++ -o .sconf_temp/conftest_3 -Wl,-rpath,/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib .sconf_temp/conftest_3.o -L/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib -lpng12 -lSDL -lpthread -lSDL_image -lSDL_mixer

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/bin/ld: BFD (Sourcery G++ Lite 2011.03-41) 2.20.51.20100809 assertion fail /scratch/janisjo/arm-linux-lite/obj/binutils-src-2011.03-41-arm-none-linux-gnueabi-i686-pc-linux-gnu/bfd/elf32-arm.c:10802

scons: Configure: ok


scons: Configure: Check how to call iconv...

.sconf_temp/conftest_4.cpp <-

  |

  |#include <iconv.h>

  |int main() {

  |    char *foo;

  |   (void)iconv(static_cast<iconv_t>(0), &foo, static_cast<size_t*>(0), static_cast<char**>(0), static_cast<size_t*>(0));

  |   return 0;

  |}

  |

g++ -o .sconf_temp/conftest_4.o -c -std=c++0x -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/SDL -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_4.cpp

scons: Configure: use ''


scons: Configure: Checking for C library iconv...

.sconf_temp/conftest_5.c <-

  |

  |

  |

  |int

  |main() {

  |  

  |return 0;

  |}

  |

gcc -o .sconf_temp/conftest_5.o -c -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include -isystem/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/include/SDL -DVERSION="\"0.7.4\"" -DHAVE_LINUXEVDEV=1 -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_ICONV_CONST -DICONV_CONST= -Ibuild -I. -Ibuild/src -Isrc .sconf_temp/conftest_5.c

gcc -o .sconf_temp/conftest_5 -Wl,-rpath,/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib .sconf_temp/conftest_5.o -L/home/foertsch/Projects/pandora-dev/arm-2011.03/usr/lib -lpng12 -lSDL -lpthread -lSDL_image -lSDL_mixer -liconv

/home/foertsch/Projects/pandora-dev/arm-2011.03/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -liconv

collect2: ld returned 1 exit status

scons: Configure: no
 
Thank you, I've added symlinks into the toolchain for the gcc and g++ (they were listed as arm-none-linux-gnueabi-gcc and pandora-gcc in /bin in the toolchain, symlinks solve that).
Adding symlink on your OS install is probably a very bad idea.


you'ld better configure scon to actually use the right compiler (in the sconstruct file) :



Code:
env['CC'] = os.environ['CC']

env['CXX'] = os.environ['CXX']

env['LD'] = os.environ['CC']

env['AS'] = os.environ['AS']

env['AR'] = os.environ['AR']

I'm doing it this way as my toolchain set these environnements variables (I know that Ivanovic's one dont) but you can hardcode the value for you.


As for your real problem, I guess Ivanovic could help you a little bit more as your code issue look like an incompatibility between the OS libraries (boosts) and the CodeSourcery toolchain/compiler headers. (or you could try with yactfeau xD)
 
Thank you, I've added symlinks into the toolchain for the gcc and g++ (they were listed as arm-none-linux-gnueabi-gcc and pandora-gcc in /bin in the toolchain, symlinks solve that).
Adding symlink on your OS install is probably a very bad idea.


you'ld better configure scon to actually use the right compiler (in the sconstruct file) :



Code:
env['CC'] = os.environ['CC']

env['CXX'] = os.environ['CXX']

env['LD'] = os.environ['CC']

env['AS'] = os.environ['AS']

env['AR'] = os.environ['AR']

I'm doing it this way as my toolchain set these environnements variables (I know that Ivanovic's one dont) but you can hardcode the value for you.
The symlinks are withing the toolchain itself, so they won't interfere with my regular system's gcc and g++.

As for your real problem, I guess Ivanovic could help you a little bit more as your code issue look like an incompatibility between the OS libraries (boosts) and the CodeSourcery toolchain/compiler headers. (or you could try with yactfeau xD)

I think I have yactfeau set up somewhere, too. But I believe your gcc is too old for me, that's the same version on the Pandora, yes? Which is why I started the search for a newer gcc....
 
As for your real problem, I guess Ivanovic could help you a little bit more as your code issue look like an incompatibility between the OS libraries (boosts) and the CodeSourcery toolchain/compiler headers. (or you could try with yactfeau xD)
I am currently on holidays in San Francisco but once I am back I'll probably find the time to have a look at this stuff (unless jetlag kills me...), though I don't know how scons is (supposed to be) working. So no idea if I can really be of much help, but I might as well try.
 
Back
Top