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

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

Moderators: cheriff, Herben

Post Reply
Toker
Posts: 28
Joined: Thu Nov 04, 2004 9:18 am

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

Post 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...
Last edited by Toker on Wed Nov 24, 2004 6:01 am, edited 1 time in total.
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Can you try just "-lc -lkernel"? This is how it's supposed to work now.
"He was warned..."
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

This thread is off topic. It has nothing to do with ps2client.
Toker
Posts: 28
Joined: Thu Nov 04, 2004 9:18 am

Post 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...
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Now instead of you looking like a fool, I look like a fool!

Curses! Foiled again!
Toker
Posts: 28
Joined: Thu Nov 04, 2004 9:18 am

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