I am developing on Ubuntu 10.4 and have the following environment variables set:
Code: Select all
DEVKITARM=/opt/devkitpro/devkitARM
DEVKITPRO=/opt/devkitpro
Code: Select all
~/svn/pogo2/libpogo$ ./configure --enable-platform=NDS --host=arm-eabi --build=arm-eabi --prefix=/opt/devkitpro/devkitARM/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: Selected ARM based platform NDS
configure: Using ../../libnds as libnds location
checking build system type... arm-unknown-eabi
checking host system type... arm-unknown-eabi
checking for freetype-config... freetype-config
checking for arm-eabi-gcc... arm-eabi-gcc
checking whether the C compiler works... no
configure: error: in `/home/stuart/svn/pogo2/libpogo':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Code: Select all
Configured with: ../../gcc-4.4.3/configure --enable-languages=c,c++,objc --with-cpu=arm7tdmi --enable-interwork --enable-multilib --with-gcc --with-gnu-ld --with-gnu-as --disable-dependency-tracking --disable-shared --disable-threads --disable-win32-registry --disable-nls --disable-debug --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --target=arm-eabi --with-newlib --prefix=/opt/devkitpro/devkitARM --with-bugurl=http://wiki.devkitpro.org/index.php/Bug_Reports --with-pkgversion='devkitARM release 30'
Thread model: single
gcc version 4.4.3 (devkitARM release 30)
configure:2898: $? = 0
configure:2887: arm-eabi-gcc -V >&5
arm-eabi-gcc: '-V' option must have argument
configure:2898: $? = 1
configure:2887: arm-eabi-gcc -qversion >&5
arm-eabi-gcc: unrecognized option '-qversion'
arm-eabi-gcc: no input files
configure:2898: $? = 1
configure:2918: checking whether the C compiler works
configure:2940: arm-eabi-gcc -mthumb-interwork -specs=ds_arm9.specs conftest.c >&5
/opt/devkitpro/devkitARM/lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
(.init+0x1c0): undefined reference to `__libnds_mpu_setup'
/opt/devkitpro/devkitARM/lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
(.init+0x210): undefined reference to `initSystem'
/opt/devkitpro/devkitARM/lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/lib/ds_arm9_crt0.o: In function `CIDLoop':
(.init+0x21c): undefined reference to `__libnds_exit'
collect2: ld returned 1 exit status
configure:2944: $? = 1
configure:2982: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpogo"
| #define PACKAGE_TARNAME "libpogo"
| #define PACKAGE_VERSION "2.0"
| #define PACKAGE_STRING "libpogo 2.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libpogo"
| #define VERSION "2.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2987: error: in `/home/stuart/svn/pogo2/libpogo':
configure:2991: error: C compiler cannot create executables
Stuart