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 

Help with linking order

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



Joined: 28 Apr 2006
Posts: 190

PostPosted: Thu Nov 29, 2007 9:17 pm    Post subject: Help with linking order Reply with quote

Hi! :)

I'm having some problems with linking order and cannot find a solution.

I have this libs linked in the makefile:
Code:
LIBS = -lFLAC -lmad -lvorbisidec -lm \
       -lpspgu -lpspgum -lpspaudio -lpsppower \
       -lpsphprm -lpspusb -lpspusbstor -lpspaudio -lpspaudiocodec -lpspkubridge


I need to add -lpsputility but then I get the "Error, could not fixup imports, stubs out of order" error.
I tried to put it in different positions.

How can I know the correct order?
Can someone please help me? :)
Many thanks.

Ciaooo
Sakya
Back to top
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Fri Nov 30, 2007 6:45 am    Post subject: Reply with quote

Is that for an uncommitted change? A current checkout compiles without that lib just fine.
Back to top
View user's profile Send private message AIM Address
sakya



Joined: 28 Apr 2006
Posts: 190

PostPosted: Fri Nov 30, 2007 7:55 pm    Post subject: Reply with quote

Hi! :)
J.F. wrote:
Is that for an uncommitted change?

Yes. ;)
I'd like to add Sony OSK (and it needs psputility).

EDIT: I solved the linking error.
-lpsputility was just in the library list (is it added automatically for some dependencies?).

Ciaooo
Sakya
Back to top
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Dec 01, 2007 6:57 am    Post subject: Reply with quote

The build.mak file seems to add most of the sdk libs to the list normally. I'm not sure what criteria it uses as I've never looked at it closely.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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