Page 1 of 1

Compiling ps2link with Builtin IRXs

Posted: Fri Jun 30, 2006 6:04 am
by JorDy
Im having trouble compiling ps2link with the builtin irxs enabled it returns this

Code: Select all

dev@jordans /usr/local/ps2dev/ps2sdk/ps2link
$ make
DEBUG=0 LOADHIGH=0 BUILTIN_IRXS=1 ZEROCOPY=0 PWOFFONRESET=0 CACHED_CFG=1 make -C
 iop
make[1]: Entering directory `/usr/local/ps2dev/ps2sdk/ps2link/iop'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/ps2dev/ps2sdk/ps2link/iop'
Embedding IRX file ps2link
/usr/local/ps2dev/ps2sdk/bin/bin2o: /usr/local/ps2dev/ps2sdk/bin/bin2o: cannot e
xecute binary file
Embedding IRX file ps2ip
/usr/local/ps2dev/ps2sdk/bin/bin2o: /usr/local/ps2dev/ps2sdk/bin/bin2o: cannot e
xecute binary file
Embedding IRX file ps2smap
/usr/local/ps2dev/ps2sdk/bin/bin2o: /usr/local/ps2dev/ps2sdk/bin/bin2o: cannot e
xecute binary file
Embedding IRX file iomanX
/usr/local/ps2dev/ps2sdk/bin/bin2o: /usr/local/ps2dev/ps2sdk/bin/bin2o: cannot e
xecute binary file
Embedding IRX file ioptrap
/usr/local/ps2dev/ps2sdk/bin/bin2o: /usr/local/ps2dev/ps2sdk/bin/bin2o: cannot e
xecute binary file
Embedding IRX file ps2dev9
/usr/local/ps2dev/ps2sdk/bin/bin2o: /usr/local/ps2dev/ps2sdk/bin/bin2o: cannot e
xecute binary file
Embedding IRX file poweroff
/usr/local/ps2dev/ps2sdk/bin/bin2o: /usr/local/ps2dev/ps2sdk/bin/bin2o: cannot e
xecute binary file
make: *** [builtins] Error 126
any help?

Posted: Fri Jun 30, 2006 6:12 am
by Drakonite
...are you using cygwin?

Posted: Fri Jun 30, 2006 6:15 am
by JorDy
yes i am

Posted: Fri Jun 30, 2006 6:22 am
by Drakonite
I'm guessing it decided to give a bunch of programs .exe extensions then eh?

Inside the makefile is a line that says:

Code: Select all

BIN2O = $(PS2SDK)/bin/bin2o
You need to change it to:

Code: Select all

BIN2O = $(PS2SDK)/bin/bin2o.exe

Posted: Fri Jun 30, 2006 6:23 am
by Drakonite
Any reason you need to build your own version?

Posted: Fri Jun 30, 2006 7:17 am
by JorDy
modding it so it prints the debug exceptions to the ps2link console, because the scr_printf is a bugger to read ;)

anyway that didnt work... my bin2o is down as "bin2o" not "bin2o.exe" in the ps2sdk/bin/ directory

Posted: Fri Jun 30, 2006 7:19 am
by Drakonite
I swear it was already possible to do that, I just forget how ;)

hrm... odd. are permissions set correctly?

Posted: Fri Jun 30, 2006 7:25 am
by JorDy
m ok thanks for the fast reply il check now

*edit: nope still returns the same error and if i change it to bin2o.exe it says "File not found", i gave the full directory full read and write permissions aswell

Posted: Fri Jun 30, 2006 7:35 am
by Drakonite
Does cygwin have execute permissions? Dunno if cygwin tracks them or not...

Posted: Fri Jun 30, 2006 7:36 am
by JorDy
unsure but i have now given it full permission to do as it pleases and still doesnt like it. i may have to resort to getting my linnux back on my new pc. but im only running a 20gb hdd atm
can someone just send me the object files? it would make it alot easier ;)

Posted: Fri Jun 30, 2006 7:39 am
by jbit
Drakonite wrote:I swear it was already possible to do that, I just forget how ;)
It does, this will make it dump to UDP (the console on the PC):

Code: Select all

ps2client netdump