ps2eth error? Trying to build ps2link from CVS.
Posted: Thu Jan 20, 2005 12:57 am
I put the cvs files into the "samples" dir of ps2sdk to build ps2eth but it was a no-go.
After browsing the make file for a couple of minutes, I noticed that there are 2 include statements at the bottom of the make file for ps2smap, which when put at the top allow the ps2smap.irx to build fine.
Not sure yet if this builds the correct IRX but I will soon find out if the CVS of ps2link works....
edit: I built ps2sdk again yesterday from CVS before I started on trying to build ps2link....
edit: OK, with that change all builds seem to be building except when debug is turned on or when I try to do a make release.
here is what I get when I turn debug on (which is kind of odd because it doesnt happen with the debug 0):
Ill keep slogging at it and test the elfs I have built so far on some hardware.
edit: duh - debug on and builtin irx on at the same time seems to cause the above code....
After browsing the make file for a couple of minutes, I noticed that there are 2 include statements at the bottom of the make file for ps2smap, which when put at the top allow the ps2smap.irx to build fine.
Not sure yet if this builds the correct IRX but I will soon find out if the CVS of ps2link works....
edit: I built ps2sdk again yesterday from CVS before I started on trying to build ps2link....
edit: OK, with that change all builds seem to be building except when debug is turned on or when I try to do a make release.
here is what I get when I turn debug on (which is kind of odd because it doesnt happen with the debug 0):
Code: Select all
ps2link.c: In function `loadModules':
ps2link.c:388: warning: unsigned int format, pointer arg (arg 2)
ps2link.c:391: `_binary_iomanX_ps2dev9_irx_start' undeclared (first use in this function)
ps2link.c:391: (Each undeclared identifier is reported only once
ps2link.c:391: for each function it appears in.)
ps2link.c:394: `_binary_iomanX_ps2ip_irx_start' undeclared (first use in this function)
ps2link.c:397: `_binary_iomanX_ps2smap_irx_start' undeclared (first use in this function)
ps2link.c:400: `_binary_iomanX_ioptrap_irx_start' undeclared (first use in this function)
ps2link.c:403: `_binary_iomanX_ps2link_irx_start' undeclared (first use in this function)
make[1]: *** [ps2link.o] Error 1
make[1]: Leaving directory `/usr/local/ps2dev/ps2sdk/samples/ps2link/ee'
make: *** [ee] Error 2
edit: duh - debug on and builtin irx on at the same time seems to cause the above code....