| View previous topic :: View next topic |
| Author |
Message |
_protytype_
Joined: 05 Sep 2007 Posts: 3
|
Posted: Wed Sep 05, 2007 11:43 am Post subject: usb_init? |
|
|
I was trying to the install the PSPSDK on ubuntu linux today and everything went smoothly until I encountered a usb_init problem. I've truncated the console output:
| Code: | main.c: In function ‘main’:
main.c:3119: warning: implicit declaration of function ‘usb_init’
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/muon/Desktop/psptoolchain/build/psplinkusb/usbhostfs_pc'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.
ERROR: Could not run the toolchain script. |
Now, seeing as I'm a complete linux newbie I would like to ask the able members here if they could help me out. I've installed all the dependencies and have followed a ps2dev.org forum thread about installing ubuntu. I don't know what to do, It's failed with both the ./toolchain.sh and ./toolchain-sudo.sh. And yes I've exported the variables as well.
Unexpectedly the sdk works until I try to Make the usb example included. I also don't know If any other parts of the sdk that come after the usb part installed correctly.
Any help would be appreciated, thanks. |
|
| Back to top |
|
 |
AllSystemGo
Joined: 02 Jun 2007 Posts: 26
|
Posted: Wed Sep 05, 2007 11:47 am Post subject: |
|
|
Try this:
apt-get install libusb-dev
Hope it helps. |
|
| Back to top |
|
 |
_protytype_
Joined: 05 Sep 2007 Posts: 3
|
Posted: Wed Sep 05, 2007 1:50 pm Post subject: |
|
|
| thanks man, that pretty much did the magic. I've finally installed the pspsdk and I'm ready to rumble! thanks again. |
|
| Back to top |
|
 |
AllSystemGo
Joined: 02 Jun 2007 Posts: 26
|
Posted: Thu Sep 06, 2007 3:43 am Post subject: |
|
|
Happy I could finally help someone!!
:)
Cheers |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Sep 06, 2007 6:07 am Post subject: |
|
|
| Sounds like something to be added to the depends checking in psptoolchain. |
|
| Back to top |
|
 |
|