| View previous topic :: View next topic |
| Author |
Message |
luxhit
Joined: 24 Jul 2008 Posts: 1
|
Posted: Thu Jul 24, 2008 8:57 pm Post subject: help:psp install error |
|
|
main.c: In function `exit_app':
main.c:2470: warning: passing arg 1 of `close_device' from incompatible pointer
type
main.c: In function `main':
main.c:3124: warning: implicit declaration of function `usb_init'
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/Lux/psptoolchain/build/psplinkusb/usbhostfs_pc
'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.
This error waste me 3 hours intalled, can someone help me |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Jul 24, 2008 10:52 pm Post subject: |
|
|
You should install the libusb development files (this package is called libusb-dev in Ubuntu), then re-run step 9 by typing:
./toolchain.sh 9
The good news is that by the time you get to step 9 you already have a working toolchain. There's no need to waste another three hours. In fact, if you don't want to use psplink then you're already done and ready to compile programs.
You may want to grab the psplibraries package as it can build a lot of useful libraries for you automatically. |
|
| Back to top |
|
 |
|