I'm trying to build the latest freetype from SVN, and I'm running into some errors. I've updated my cygwin to the latest versions of automake, libtool and autoconf (as per README.PSP).
The execution of autogen.sh works fine, but the configure is failing (as a note, running ./configure - eg building for unix as opposed to psp is working) with the following error:
Any ideas? I'm using the latest copy of the toolchain (psptoolchain-20050906). Has anyone else successfully built freetype with this toolchain?
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1537: checking build system type
configure:1555: result: i686-pc-cygwin
configure:1563: checking host system type
configure:1577: result: mipsallegrexel-psp-elf
configure:1585: checking target system type
configure:1599: result: mipsallegrexel-psp-elf
configure:1625: checking for psp-gcc
configure:1641: found /usr/local/pspdev/bin/psp-gcc
configure:1651: result: psp-gcc
configure:1933: checking for C compiler version
configure:1936: psp-gcc --version </dev/null >&5
psp-gcc (GCC) 4.0.1 (PSPDEV 20050827)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1939: $? = 0
configure:1941: psp-gcc -v </dev/null >&5
Using built-in specs.
Target: psp
Configured with: ../configure --prefix=/usr/local/pspdev --target=psp --enable-languages=c,c++ --with-newlib --enable-cxx-flags=-G0
Thread model: single
gcc version 4.0.1 (PSPDEV 20050827)
configure:1944: $? = 0
configure:1946: psp-gcc -V </dev/null >&5
psp-gcc: '-V' option must have argument
configure:1949: $? = 1
configure:1972: checking for C compiler default output file name
configure:1975: psp-gcc conftest.c >&5
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/crt0.o: In function `_main':
/tmp/pspdev/pspsdk/sdk/startup/crt0.c:72: undefined reference to `atexit'
/tmp/pspdev/pspsdk/sdk/startup/crt0.c:78: undefined reference to `exit'
/tmp/pspdev/pspsdk/sdk/startup/crt0.c:65: undefined reference to `strlen'
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/crt0.o: In function `_start':
/tmp/pspdev/pspsdk/sdk/startup/crt0.c:134: undefined reference to `sceKernelCreateThread'
/tmp/pspdev/pspsdk/sdk/startup/crt0.c:135: undefined reference to `sceKernelStartThread'
collect2: ld returned 1 exit status
configure:1978: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2017: error: C compiler cannot create executables
See `config.log' for more details.