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 

Compiling ps2link with Builtin IRXs

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



Joined: 11 Dec 2005
Posts: 121

PostPosted: Fri Jun 30, 2006 6:04 am    Post subject: Compiling ps2link with Builtin IRXs Reply with quote

Im having trouble compiling ps2link with the builtin irxs enabled it returns this
Code:

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?
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Jun 30, 2006 6:12 am    Post subject: Reply with quote

...are you using cygwin?
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
JorDy



Joined: 11 Dec 2005
Posts: 121

PostPosted: Fri Jun 30, 2006 6:15 am    Post subject: Reply with quote

yes i am
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Jun 30, 2006 6:22 am    Post subject: Reply with quote

I'm guessing it decided to give a bunch of programs .exe extensions then eh?

Inside the makefile is a line that says:
Code:
BIN2O = $(PS2SDK)/bin/bin2o


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

_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Jun 30, 2006 6:23 am    Post subject: Reply with quote

Any reason you need to build your own version?
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
JorDy



Joined: 11 Dec 2005
Posts: 121

PostPosted: Fri Jun 30, 2006 7:17 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Jun 30, 2006 7:19 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
JorDy



Joined: 11 Dec 2005
Posts: 121

PostPosted: Fri Jun 30, 2006 7:25 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Jun 30, 2006 7:35 am    Post subject: Reply with quote

Does cygwin have execute permissions? Dunno if cygwin tracks them or not...
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
JorDy



Joined: 11 Dec 2005
Posts: 121

PostPosted: Fri Jun 30, 2006 7:36 am    Post subject: Reply with quote

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 ;)
Back to top
View user's profile Send private message
jbit
Site Admin


Joined: 28 May 2005
Posts: 293
Location: København, Danmark

PostPosted: Fri Jun 30, 2006 7:39 am    Post subject: Reply with quote

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:
ps2client netdump
Back to top
View user's profile Send private message Visit poster's website
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