forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trouble building FreeType

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
daveyc



Joined: 24 Sep 2005
Posts: 5

PostPosted: Sat Sep 24, 2005 12:04 pm    Post subject: Trouble building FreeType Reply with quote

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:

## ----------- ##
## 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.
[/code]
Back to top
View user's profile Send private message
Shazz



Joined: 31 Aug 2004
Posts: 244
Location: Somewhere over the rainbow

PostPosted: Sun Sep 25, 2005 9:18 pm    Post subject: Reply with quote

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

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

Code:

running `aclocal -I .'
/sw/share/aclocal/libtool.m4:25: warning: underquoted definition of AC_PROG_LIBTOOL
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/sw/share/aclocal/libtool.m4:55: warning: underquoted definition of AC_LIBTOOL_SETUP
/sw/share/aclocal/libtool.m4:135: warning: underquoted definition of AC_LIBTOOL_DLOPEN
/sw/share/aclocal/libtool.m4:138: warning: underquoted definition of AC_LIBTOOL_WIN32_DLL
/sw/share/aclocal/libtool.m4:144: warning: underquoted definition of AC_ENABLE_SHARED
/sw/share/aclocal/libtool.m4:170: warning: underquoted definition of AC_DISABLE_SHARED
/sw/share/aclocal/libtool.m4:177: warning: underquoted definition of AC_ENABLE_STATIC
/sw/share/aclocal/libtool.m4:203: warning: underquoted definition of AC_DISABLE_STATIC
/sw/share/aclocal/libtool.m4:211: warning: underquoted definition of AC_ENABLE_FAST_INSTALL
/sw/share/aclocal/libtool.m4:237: warning: underquoted definition of AC_DISABLE_FAST_INSTALL
/sw/share/aclocal/libtool.m4:241: warning: underquoted definition of AC_PROG_LD
/sw/share/aclocal/libtool.m4:311: warning: underquoted definition of AC_PROG_LD_GNU
/sw/share/aclocal/libtool.m4:322: warning: underquoted definition of AC_PROG_NM
/sw/share/aclocal/libtool.m4:356: warning: underquoted definition of AC_CHECK_LIBM
/sw/share/aclocal/libtool.m4:383: warning: underquoted definition of AC_LIBLTDL_CONVENIENCE
/sw/share/aclocal/libtool.m4:404: warning: underquoted definition of AC_LIBLTDL_INSTALLABLE
/sw/share/aclocal/libtool.m4:425: warning: underquoted definition of AM_PROG_LIBTOOL
/sw/share/aclocal/libtool.m4:426: warning: underquoted definition of AM_ENABLE_SHARED
/sw/share/aclocal/libtool.m4:427: warning: underquoted definition of AM_ENABLE_STATIC
/sw/share/aclocal/libtool.m4:428: warning: underquoted definition of AM_DISABLE_SHARED
/sw/share/aclocal/libtool.m4:429: warning: underquoted definition of AM_DISABLE_STATIC
/sw/share/aclocal/libtool.m4:430: warning: underquoted definition of AM_PROG_LD
/sw/share/aclocal/libtool.m4:431: warning: underquoted definition of AM_PROG_NM
running `libtoolize --copy'
libtoolize: `configure.in' does not exist
Try `libtoolize --help' for more information.
error while running `libtoolize --copy'

_________________
- TiTAN Art Division -
http://www.titandemo.org
Back to top
View user's profile Send private message Visit poster's website
chinaet



Joined: 08 May 2005
Posts: 7

PostPosted: Fri Oct 07, 2005 1:21 pm    Post subject: Reply with quote

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

fink -y install libtool14

then sh autogen.sh
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group