Page 1 of 1

ps2link from cvs won't compile (simple fix included)

Posted: Wed Nov 24, 2004 2:17 am
by Toker
I've been trying to resolve my toolchain / compilation issues for about a week and thought I had it (I probably do) but ran into an unexpected problem:
the current ps2link from CVS will not compile.
Simply changing the LDFLAGS in ee/Rules.make fixed the problem:
-EE_LIBS += -lkernel -lc -lsyscall
+EE_LIBS += -lkernel -lc -lkernel -lsyscall

I found the solution in this thread. It's obvious there are changes to ps2sdk going on, so I guessing I may run into other problems...

Posted: Wed Nov 24, 2004 2:40 am
by mrbrown
Can you try just "-lc -lkernel"? This is how it's supposed to work now.

Posted: Wed Nov 24, 2004 3:17 am
by ooPo
This thread is off topic. It has nothing to do with ps2client.

Posted: Wed Nov 24, 2004 5:28 am
by Toker
mrbrown wrote:Can you try just "-lc -lkernel"? This is how it's supposed to work now.
That works fine, thank-you!
ooPo wrote:This thread is off topic. It has nothing to do with ps2client.
Doh! I edited...

Posted: Wed Nov 24, 2004 10:39 am
by ooPo
Now instead of you looking like a fool, I look like a fool!

Curses! Foiled again!

Posted: Thu Nov 25, 2004 2:57 am
by Toker
Ha! It's a good thing there's an edit feature: when I first read you're reply I hadn't noticed the mistake I'd made... guess I'm lucky you didn't see my first reply!

And don't worry... I feel like a fool already. I have the impression I'm the only one who cannot compile ps2link out of CVS and get it to load ps2hdd properly. At least the stuff I'm learning by reading the source should be useful once I get over this "roadblock".