Trouble building FreeType

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
daveyc
Posts: 5
Joined: Sat Sep 24, 2005 11:59 am

Trouble building FreeType

Post by daveyc »

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?

Code: Select all

## ----------- ##
## 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&#58;1936&#58; psp-gcc --version </dev/null >&5
psp-gcc &#40;GCC&#41; 4.0.1 &#40;PSPDEV 20050827&#41;
Copyright &#40;C&#41; 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&#58;1939&#58; $? = 0
configure&#58;1941&#58; psp-gcc -v </dev/null >&5
Using built-in specs.
Target&#58; psp
Configured with&#58; ../configure --prefix=/usr/local/pspdev --target=psp --enable-languages=c,c++ --with-newlib --enable-cxx-flags=-G0
Thread model&#58; single
gcc version 4.0.1 &#40;PSPDEV 20050827&#41;
configure&#58;1944&#58; $? = 0
configure&#58;1946&#58; psp-gcc -V </dev/null >&5
psp-gcc&#58; '-V' option must have argument
configure&#58;1949&#58; $? = 1
configure&#58;1972&#58; checking for C compiler default output file name
configure&#58;1975&#58; psp-gcc    conftest.c  >&5
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/crt0.o&#58; In function `_main'&#58;
/tmp/pspdev/pspsdk/sdk/startup/crt0.c&#58;72&#58; undefined reference to `atexit'
/tmp/pspdev/pspsdk/sdk/startup/crt0.c&#58;78&#58; undefined reference to `exit'
/tmp/pspdev/pspsdk/sdk/startup/crt0.c&#58;65&#58; undefined reference to `strlen'
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/crt0.o&#58; In function `_start'&#58;
/tmp/pspdev/pspsdk/sdk/startup/crt0.c&#58;134&#58; undefined reference to `sceKernelCreateThread'
/tmp/pspdev/pspsdk/sdk/startup/crt0.c&#58;135&#58; undefined reference to `sceKernelStartThread'
collect2&#58; ld returned 1 exit status
configure&#58;1978&#58; $? = 1
configure&#58; failed program was&#58;
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main &#40;&#41;
| &#123;
| 
|   ;
|   return 0;
| &#125;
configure&#58;2017&#58; error&#58; C compiler cannot create executables
See `config.log' for more details.
[/code]
User avatar
Shazz
Posts: 244
Joined: Tue Aug 31, 2004 11:42 pm
Location: Somewhere over the rainbow
Contact:

Post by Shazz »

You're (a little) luckier than me :D

I stop at the autogen... (Mac OS X/Fink)

Code: Select all

running `aclocal -I .'
/sw/share/aclocal/libtool.m4&#58;25&#58; warning&#58; underquoted definition of AC_PROG_LIBTOOL
  run info '&#40;automake&#41;Extending aclocal'
  or see http&#58;//sources.redhat.com/automake/automake.html#Extending%20aclocal
/sw/share/aclocal/libtool.m4&#58;55&#58; warning&#58; underquoted definition of AC_LIBTOOL_SETUP
/sw/share/aclocal/libtool.m4&#58;135&#58; warning&#58; underquoted definition of AC_LIBTOOL_DLOPEN
/sw/share/aclocal/libtool.m4&#58;138&#58; warning&#58; underquoted definition of AC_LIBTOOL_WIN32_DLL
/sw/share/aclocal/libtool.m4&#58;144&#58; warning&#58; underquoted definition of AC_ENABLE_SHARED
/sw/share/aclocal/libtool.m4&#58;170&#58; warning&#58; underquoted definition of AC_DISABLE_SHARED
/sw/share/aclocal/libtool.m4&#58;177&#58; warning&#58; underquoted definition of AC_ENABLE_STATIC
/sw/share/aclocal/libtool.m4&#58;203&#58; warning&#58; underquoted definition of AC_DISABLE_STATIC
/sw/share/aclocal/libtool.m4&#58;211&#58; warning&#58; underquoted definition of AC_ENABLE_FAST_INSTALL
/sw/share/aclocal/libtool.m4&#58;237&#58; warning&#58; underquoted definition of AC_DISABLE_FAST_INSTALL
/sw/share/aclocal/libtool.m4&#58;241&#58; warning&#58; underquoted definition of AC_PROG_LD
/sw/share/aclocal/libtool.m4&#58;311&#58; warning&#58; underquoted definition of AC_PROG_LD_GNU
/sw/share/aclocal/libtool.m4&#58;322&#58; warning&#58; underquoted definition of AC_PROG_NM
/sw/share/aclocal/libtool.m4&#58;356&#58; warning&#58; underquoted definition of AC_CHECK_LIBM
/sw/share/aclocal/libtool.m4&#58;383&#58; warning&#58; underquoted definition of AC_LIBLTDL_CONVENIENCE
/sw/share/aclocal/libtool.m4&#58;404&#58; warning&#58; underquoted definition of AC_LIBLTDL_INSTALLABLE
/sw/share/aclocal/libtool.m4&#58;425&#58; warning&#58; underquoted definition of AM_PROG_LIBTOOL
/sw/share/aclocal/libtool.m4&#58;426&#58; warning&#58; underquoted definition of AM_ENABLE_SHARED
/sw/share/aclocal/libtool.m4&#58;427&#58; warning&#58; underquoted definition of AM_ENABLE_STATIC
/sw/share/aclocal/libtool.m4&#58;428&#58; warning&#58; underquoted definition of AM_DISABLE_SHARED
/sw/share/aclocal/libtool.m4&#58;429&#58; warning&#58; underquoted definition of AM_DISABLE_STATIC
/sw/share/aclocal/libtool.m4&#58;430&#58; warning&#58; underquoted definition of AM_PROG_LD
/sw/share/aclocal/libtool.m4&#58;431&#58; warning&#58; underquoted definition of AM_PROG_NM
running `libtoolize --copy'
libtoolize&#58; `configure.in' does not exist
Try `libtoolize --help' for more information.
error while running `libtoolize --copy'
- TiTAN Art Division -
http://www.titandemo.org
chinaet
Posts: 7
Joined: Sun May 08, 2005 10:53 am

Post by chinaet »

hi,Shazz
you libtool version is too low
pls follow this

fink -y install libtool14

then sh autogen.sh
Post Reply