I’ve succeeded in cross compiling a few apps including appweb for the gumstix system with ease.  I’m having a problem with a lot of apps error’n during the make process (including finch).

 

I’ve been using slackware linux for about 4-5 years but I’m still not 100% (not that anyone truly is) on the build system and I’ve only recently started cross compiling for embedded systems (my cable box, and my wrt router and gumstix).

 

I’ve looked at a few posts regarding the error and its related somehow to the OE system in general, but none really explain in full why this is happening and I’m still yet to get it to work, even editing Makefile manually, but then again I’m no expert like I said…

 

I configure the app like so…

 

#!/bin/bash

 

export CXX=~/gumstix/gumstix3/tmp/cross/arm-angstrom-linux-gnueabi/bin/g++

export CC=~/gumstix/gumstix3/tmp/cross/arm-angstrom-linux-gnueabi/bin/gcc

export STRIP=~/gumstix/gumstix3/tmp/cross/arm-angstrom-linux-gnueabi/bin/strip

export AR=~/gumstix/gumstix3/tmp/cross/arm-angstrom-linux-gnueabi/bin/ar

export LDXX=~/gumstix/gumstix3/tmp/cross/arm-angstrom-linux-gnueabi/bin/g++

export LD=~/gumstix/gumstix3/tmp/cross/arm-angstrom-linux-gnueabi/bin/gcc

 

./configure --host=arm-angstrom-linux-gnueabi --disable-gtkui

 

But when I do a make, I get a few screens on text that look completely fine then I suddenly get this…

 

CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/glib-2.0

cc1: internal compiler error: in add_path, at c-incpath.c:362

 

Thanks very much in advance J

 

Drew