help:psp install error

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
luxhit
Posts: 1
Joined: Thu Jul 24, 2008 8:40 pm

help:psp install error

Post by luxhit »

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

Post by ooPo »

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