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 

error with ps2-packer

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



Joined: 09 Nov 2009
Posts: 1

PostPosted: Mon Nov 09, 2009 6:36 pm    Post subject: error with ps2-packer Reply with quote

Well I got the ps2toolchain and sdk all set up(from the svn and using the tutorial at http://lukasz.dk/playstation-2-programming/mingw-tutorial/) and everything, but when i tried to install ps2-packer from the svn, i got the following:



Any ideas as to what the problem is?
Back to top
View user's profile Send private message
cosmito



Joined: 04 Mar 2007
Posts: 314
Location: Portugal

PostPosted: Mon Nov 09, 2009 7:24 pm    Post subject: Reply with quote

Judging by your output (gcc -O3 ...) it seems you're not using the ee-gcc from the toolchain. Mostly probabily you forgot the usual mantra :
Code:
 export PS2DEV=/usr/local/ps2dev
 export PATH=$PATH:$PS2DEV/bin
 export PATH=$PATH:$PS2DEV/ee/bin
 export PATH=$PATH:$PS2DEV/iop/bin
 export PATH=$PATH:$PS2DEV/dvp/bin
 export PS2SDK=$PS2DEV/ps2sdk
 export PATH=$PATH:$PS2SDK/bin

You should get instead something like : ee-gcc -D_EE -O2 -G0 -Wall ...
Back to top
View user's profile Send private message Visit poster's website
ragnarok2040



Joined: 09 Aug 2006
Posts: 230

PostPosted: Mon Nov 09, 2009 8:03 pm    Post subject: Reply with quote

That won't help since ps2-packer is a computer application for compressing elfs. The library libdl.a is provided by glibc on linux in relation to loading shared libraries.

You should use the command 'make mingw', but you'll need to fix the Makefile's rules and definitions, like the MINGW_LIBGCC definition, and the gcc program name used for the compilation rules for the mingw target.

I remember actually trying to getting this to compile a couple years back using a recent version of mingw at the time, and it didn't work for some reason. I can't remember the problem.
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 -> PS2 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