Hello all and sorry for a question when I've only just got here. I wanted to start looking at developing code for the OpenMoko project and I'm eagerly awaiting the neo Freerunner. I followed the instructions on the toolchain page earlier in the week:
http://wiki.openmoko.org/wiki/Toolchain to try and build the first sample: om-conf openmoko-sample2 but got a load of errors on the arm-angstrom-linux-gnueabi-gcc compiler. I can't seem to find anything relevant on the web so after a few days I've sort of lost hope. I've already got the gumstix development environment on this machine so perhaps that's causing a problem as it uses Open Embedded as well. I'd rather have both on this machine to be honest but if that's going to be a problem I'll have to sort out something. I don't see how that should cause a problem but I suppose it might. Any help would be very gratefully received. The errors I'm getting are: configure:2570: checking for arm-angstrom-linux-gnueabi-gcc configure:2597: result: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t configure:2875: checking for C compiler version configure:2882: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t --version >&5 /usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error configure:2885: $? = 1 configure:2892: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -v >&5 /usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error configure:2895: $? = 1 configure:2902: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -V >&5 /usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error configure:2905: $? = 1 configure:2928: checking for C compiler default output file name configure:2955: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include -L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib -Wl,-O1 conftest.c >&5 /usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc: Exec format error configure:2958: $? = 1 configure:2996: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "openmoko-sample" | #define PACKAGE_TARNAME "openmoko-sample" | #define PACKAGE_VERSION "0.0.1" | #define PACKAGE_STRING "openmoko-sample 0.0.1" | #define PACKAGE_BUGREPORT "http://www.openmoko.org/" | #define PACKAGE "openmoko-sample" | #define VERSION "0.0.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3003: error: C compiler cannot create executables See `config.log' for more details.