| View previous topic :: View next topic |
| Author |
Message |
deadly_despair
Joined: 09 Nov 2009 Posts: 1
|
Posted: Mon Nov 09, 2009 6:36 pm Post subject: error with ps2-packer |
|
|
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 |
|
 |
cosmito
Joined: 04 Mar 2007 Posts: 314 Location: Portugal
|
Posted: Mon Nov 09, 2009 7:24 pm Post subject: |
|
|
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 |
|
 |
ragnarok2040
Joined: 09 Aug 2006 Posts: 230
|
Posted: Mon Nov 09, 2009 8:03 pm Post subject: |
|
|
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 |
|
 |
|