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: Compiling a lib for the psp...

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



Joined: 05 Feb 2006
Posts: 11
Location: Burgwedel

PostPosted: Tue Oct 31, 2006 5:14 am    Post subject: HELP: Compiling a lib for the psp... Reply with quote

Hello!

I've got the following problem: I wanna use a lib (openobex), which is platform-independent and configure;make;make install went good...now I've got a *.a file in /usr/local/pspdev/psp/lib ...and when I include it with:
I do think that I haven't installed the desired lib correctly for the psp...

how - in general- do I do this? I tried the configure/make/make install
I also tried the way to build the libMAD for the PSP...and I still get: "undefinde reference" for every function of the lib, I am calling.

Can anybody tell me how to fix that?

GreetZ AVGP
_________________
Theory is, when nothing works and everybody knows that it should...

Pactic is, when everything works and nobody knows why...


Last edited by 0xAVGP on Sat Nov 04, 2006 1:08 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Oct 31, 2006 5:43 am    Post subject: Reply with quote

Undefined reference to what?
Back to top
View user's profile Send private message
0xAVGP



Joined: 05 Feb 2006
Posts: 11
Location: Burgwedel

PostPosted: Tue Oct 31, 2006 6:06 am    Post subject: Reply with quote

...to every function of the lib that I use in my Code...
_________________
Theory is, when nothing works and everybody knows that it should...

Pactic is, when everything works and nobody knows why...
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
SamuraiX



Joined: 31 Jan 2006
Posts: 76
Location: USA

PostPosted: Tue Oct 31, 2006 8:02 am    Post subject: Reply with quote

Sounds like your not linking properly. Did you specify -lnameoflib under LIBS?
Back to top
View user's profile Send private message Visit poster's website
f_bohmann



Joined: 02 May 2005
Posts: 16
Location: hamburg, germany

PostPosted: Tue Oct 31, 2006 6:00 pm    Post subject: Reply with quote

are you sure that you actually compiled the lib for psp? and not for the host system that you use to compile?

f
Back to top
View user's profile Send private message
0xAVGP



Joined: 05 Feb 2006
Posts: 11
Location: Burgwedel

PostPosted: Thu Nov 02, 2006 6:23 am    Post subject: Reply with quote

Well...how do I find that out...or how explicitely do u do it...?

I did it like I did for the libMad....

greetz AVGP
_________________
Theory is, when nothing works and everybody knows that it should...

Pactic is, when everything works and nobody knows why...
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
0xAVGP



Joined: 05 Feb 2006
Posts: 11
Location: Burgwedel

PostPosted: Sun Nov 05, 2006 6:38 am    Post subject: Reply with quote

Does nobody know ho to do it? ):

greetz avgp
_________________
Theory is, when nothing works and everybody knows that it should...

Pactic is, when everything works and nobody knows why...
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Nov 05, 2006 7:01 am    Post subject: Reply with quote

If you're not going to give us any of the relevant info (the exact errors, the commands you're using to build the lib, the link lines you're using, makefiles, etc) then I would guess no, nobody's going to help you.
Back to top
View user's profile Send private message
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