| View previous topic :: View next topic |
| Author |
Message |
0xAVGP

Joined: 05 Feb 2006 Posts: 11 Location: Burgwedel
|
Posted: Tue Oct 31, 2006 5:14 am Post subject: HELP: Compiling a lib for the psp... |
|
|
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 |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Oct 31, 2006 5:43 am Post subject: |
|
|
| Undefined reference to what? |
|
| Back to top |
|
 |
0xAVGP

Joined: 05 Feb 2006 Posts: 11 Location: Burgwedel
|
Posted: Tue Oct 31, 2006 6:06 am Post subject: |
|
|
...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 |
|
 |
SamuraiX
Joined: 31 Jan 2006 Posts: 76 Location: USA
|
Posted: Tue Oct 31, 2006 8:02 am Post subject: |
|
|
| Sounds like your not linking properly. Did you specify -lnameoflib under LIBS? |
|
| Back to top |
|
 |
f_bohmann
Joined: 02 May 2005 Posts: 16 Location: hamburg, germany
|
Posted: Tue Oct 31, 2006 6:00 pm Post subject: |
|
|
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 |
|
 |
0xAVGP

Joined: 05 Feb 2006 Posts: 11 Location: Burgwedel
|
Posted: Thu Nov 02, 2006 6:23 am Post subject: |
|
|
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 |
|
 |
0xAVGP

Joined: 05 Feb 2006 Posts: 11 Location: Burgwedel
|
Posted: Sun Nov 05, 2006 6:38 am Post subject: |
|
|
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 |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Sun Nov 05, 2006 7:01 am Post subject: |
|
|
| 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 |
|
 |
|