Code: Select all
[root@localhost onscripter-20070826a]# make -f Makefile.PSP
Makefile.PSP:82: warning: overriding commands for target `clean'
Makefile.onscripter:42: warning: ignoring old commands for target `clean'
psp-gcc -oonscripter.elf onscripter.o DirectReader.o SarReader.o NsaReader.o ScriptHandler.o ScriptParser.o ScriptParser_command.o ONScripterLabel.o ONScripterLabel_command.o ONScripterLabel_text.o ONScripterLabel_effect.o ONScripterLabel_event.o ONScripterLabel_rmenu.o ONScripterLabel_animation.o ONScripterLabel_sound.o ONScripterLabel_file.o ONScripterLabel_file2.o ONScripterLabel_image.o AnimationInfo.o FontInfo.o DirtyRect.o resize_image.o sjis2utf16.o MadWrapper.o -L/usr/local/pspdev/psp/lib -lSDLmain -lSDL -lm -L/usr/local/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputility -lpspkernel -lpspnet_inet -lSDL_ttf -lSDL_image -lSDL_mixer -lSDL -lSDLmain -lfreetype -lbz2 -lm -ljpeg -lpng -lz -lmad -lvorbisidec -L/usr/local/pspdev/psp/sdk/lib -L/usr/local/pspdev/lib -lstdc++ -lpspsdk -lpspgu -lpspdebug -lpspdisplay -lpsphprm -lpspaudio -lpspge -lpspctrl -lc -lpspnet_inet -lpspuser -lpspkernel -lpsppower
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/bin/ld: skipping incompatible /usr/local/pspdev/psp/lib/libfreetype.a when searching for -lfreetype
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/bin/ld: skipping incompatible /usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libfreetype.a when searching for -lfreetype
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/bin/ld: skipping incompatible /usr/local/pspdev/psp/bin/../lib/libfreetype.a when searching for -lfreetype
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/bin/ld: skipping incompatible /usr/local/pspdev/psp/lib/libfreetype.a when searching for -lfreetype
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make: *** [onscripter.elf] Error 1
Code: Select all
[root@localhost freetype-2.3.5]# LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./configure --host psp --prefix=$(psp-config --psp-prefix)
FreeType build system -- automatic system detection
The following settings are used:
platform unix
compiler cc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.
Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).
cd builds/unix; ./configure "--host" "psp" "--prefix=/usr/local/pspdev/psp"
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration `psp': machine `psp' not recognized
configure: error: /bin/sh ./config.sub psp failed
make: *** [setup] Error 1
Thanks!