Compiling ps2link with Builtin IRXs

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Compiling ps2link with Builtin IRXs

Post 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?
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

...are you using cygwin?
Shoot Pixels Not People!
Makeshift Development
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

yes i am
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post 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
Shoot Pixels Not People!
Makeshift Development
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

Any reason you need to build your own version?
Shoot Pixels Not People!
Makeshift Development
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post 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
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

I swear it was already possible to do that, I just forget how ;)

hrm... odd. are permissions set correctly?
Shoot Pixels Not People!
Makeshift Development
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post 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
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

Does cygwin have execute permissions? Dunno if cygwin tracks them or not...
Shoot Pixels Not People!
Makeshift Development
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post 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 ;)
User avatar
jbit
Site Admin
Posts: 293
Joined: Sat May 28, 2005 3:11 am
Location: København, Danmark
Contact:

Post 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
Post Reply