compilation of psix

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

Moderators: cheriff, TyRaNiD

Post Reply
baallrog
Posts: 7
Joined: Wed Aug 16, 2006 9:30 am

compilation of psix

Post by baallrog »

Hi everybody !!

I try to compil the source code of psix ...
First i have try to compile the core of the application ...
i have a little trouble :

Code: Select all

Admin@xpsp2-ce69314ad ~/psix_src-1.90/core
$ make
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -DPSPGU  -L. -L/us
r/local/pspdev/psp/sdk/lib   main.o usb.o power.o input.o pbp.o time.o dashboard
.o transition.o page.o audio.o image.o file.o sdi/sdi.o sdi/backends/psp/gu.o me
.o umd.o audiolib.o osk.o net.o ezxml.o update.o devhook.o -lpspgu -lpsppower -l
pspusb -lpspwlan -lpspusbstor -lpspaudiolib -lpspaudio -lpspumd -lc -lpng -lz -l
m -ljpeg -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspne
t_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o ps
ix.elf
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/bin/ld: [b]cannot find -lpng[/b]
collect2: ld returned 1 exit status
make: *** [psix.elf] Error 1

Admin@xpsp2-ce69314ad ~/psix_src-1.90/core
$
so i think the problem come from my installation!
So i have reinstall cygwin, like it's advise in all the tutorial. There is the end of the installation :

Code: Select all

make[2]: Entering directory `/tmp/pspdev/pspsdk/src/ge'
test -z "libpspge.a libpspge_driver.a" || rm -f libpspge.a libpspge_driver.a
rm -f *.o
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src/ge'
Making clean in fpu
make[2]: Entering directory `/tmp/pspdev/pspsdk/src/fpu'
test -z "libpspfpu.a" || rm -f libpspfpu.a
rm -f *.o
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src/fpu'
Making clean in display
make[2]: Entering directory `/tmp/pspdev/pspsdk/src/display'
test -z "libpspdisplay.a libpspdisplay_driver.a" || rm -f libpspdisplay.a libpsp
display_driver.a
rm -f *.o
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src/display'
Making clean in debug
make[2]: Entering directory `/tmp/pspdev/pspsdk/src/debug'
test -z "libpspdebug.a libpspgdb.a libpspgdb_user.a libpspgdb_kernel.a" || rm -f
 libpspdebug.a libpspgdb.a libpspgdb_user.a libpspgdb_kernel.a
rm -f *.o
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src/debug'
Making clean in ctrl
make[2]: Entering directory `/tmp/pspdev/pspsdk/src/ctrl'
test -z "libpspctrl.a libpspctrl_driver.a" || rm -f libpspctrl.a libpspctrl_driv
er.a
rm -f *.o
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src/ctrl'
Making clean in base
make[2]: Entering directory `/tmp/pspdev/pspsdk/src/base'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src/base'
Making clean in audio
make[2]: Entering directory `/tmp/pspdev/pspsdk/src/audio'
test -z "libpspaudio.a libpspaudiolib.a" || rm -f libpspaudio.a libpspaudiolib.a

rm -f *.o
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src/audio'
Making clean in atrac3
make[2]: Entering directory `/tmp/pspdev/pspsdk/src/atrac3'
test -z "libpspatrac3.a " || rm -f libpspatrac3.a
rm -f *.o
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src/atrac3'
Making clean in .
make[2]: Entering directory `/tmp/pspdev/pspsdk/src'
make[2]: Nothing to be done for `clean-am'.
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src'
make[1]: Leaving directory `/tmp/pspdev/pspsdk/src'
Making clean in .
make[1]: Entering directory `/tmp/pspdev/pspsdk'
test -z "doc/pspsdk.tag -r doc/html        " || rm -f doc/pspsdk.tag -r doc/html

make[1]: Leaving directory `/tmp/pspdev/pspsdk'

Admin@xpsp2-ce69314ad ~/psptoolchain
$
I don't think this is normal but perhaps it's good ...
After that i have modified the windows path and add the path when cygwin is launch!

Trying to recompile psix : same error ...
Don't have any idea on how can i fix the problem !

anyne can help me??

thank you in advance !!

ps : sorry for my english
ps 2 : tomorrow i will try under Linux, for now it's time to sleep a little !!
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

The error you are getting is because you don't have libpng installed.

You'll likely be required to install a lot more libraries to compile something like that.

Libpng is on the SVN.
baallrog
Posts: 7
Joined: Wed Aug 16, 2006 9:30 am

Post by baallrog »

ok ! but with the toolchain, all the library are installed ??

Else how can i install an additionnal library from the svn ??
I'm new to the svn.

thank you very much !!!
User avatar
0okm0000
Posts: 116
Joined: Fri Jan 13, 2006 9:51 am
Contact:

Post by 0okm0000 »

Code: Select all

cd ..
svn checkout svn://svn.pspdev.org/psp/trunk/libpng
cd libpng
make
make install
PSP hardware hack
http://0okm.blogspot.com/
pipspsp
Posts: 4
Joined: Sat May 13, 2006 1:43 am

Post by pipspsp »

http://www.psp-programming.com/tutorials/c/lesson04.htm

its a good tut for installing png in cygwin.

http://www.psp-programming.com/tutorials/c/lesson06.htm

is for mp3 libs, but I don't think you can use this for psix.
baallrog
Posts: 7
Joined: Wed Aug 16, 2006 9:30 am

Post by baallrog »

thank you very much !!!

i have succeed in psix compilation but the eboot i obtain don't work at all ...

i have do a make with total success, a mak kxploit with success, but i think there more than the core directory to compile to obtain something that work.

There is also a lot of ressources ...
But the developper team of psix doesn't have deliver any kind of documentation !

so for now i give up !
if i found more documentation i'll take a look at it !!

anyway thank you very much !!
pspwill
Posts: 51
Joined: Thu Nov 17, 2005 8:07 am

Post by pspwill »

baallrog
Posts: 7
Joined: Wed Aug 16, 2006 9:30 am

Post by baallrog »

thank you very much!! i will see if someone could help me on compilling this.
Post Reply