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 

compilation of psix

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



Joined: 16 Aug 2006
Posts: 7

PostPosted: Wed Aug 16, 2006 9:40 am    Post subject: compilation of psix Reply with quote

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:

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:
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 !!
Back to top
View user's profile Send private message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Wed Aug 16, 2006 12:24 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
baallrog



Joined: 16 Aug 2006
Posts: 7

PostPosted: Wed Aug 16, 2006 4:24 pm    Post subject: Reply with quote

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 !!!
Back to top
View user's profile Send private message
0okm0000



Joined: 13 Jan 2006
Posts: 116

PostPosted: Wed Aug 16, 2006 5:06 pm    Post subject: Reply with quote

Code:

cd ..
svn checkout svn://svn.pspdev.org/psp/trunk/libpng
cd libpng
make
make install

_________________
PSP hardware hack
http://0okm.blogspot.com/
Back to top
View user's profile Send private message Visit poster's website
pipspsp



Joined: 13 May 2006
Posts: 4

PostPosted: Thu Aug 17, 2006 7:34 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
baallrog



Joined: 16 Aug 2006
Posts: 7

PostPosted: Thu Aug 17, 2006 7:40 am    Post subject: Reply with quote

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 !!
Back to top
View user's profile Send private message
pspwill



Joined: 17 Nov 2005
Posts: 51

PostPosted: Sat Aug 19, 2006 6:49 am    Post subject: Reply with quote

see my post here:
http://forums.qj.net/showpost.php?p=945960&postcount=94
Back to top
View user's profile Send private message
baallrog



Joined: 16 Aug 2006
Posts: 7

PostPosted: Mon Aug 21, 2006 5:54 am    Post subject: Reply with quote

thank you very much!! i will see if someone could help me on compilling this.
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