usb_init?

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

Moderators: cheriff, TyRaNiD

Post Reply
_protytype_
Posts: 3
Joined: Wed Sep 05, 2007 11:33 am

usb_init?

Post by _protytype_ »

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: Select all

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.
AllSystemGo
Posts: 26
Joined: Sat Jun 02, 2007 1:15 am

Post by AllSystemGo »

Try this:

apt-get install libusb-dev

Hope it helps.
_protytype_
Posts: 3
Joined: Wed Sep 05, 2007 11:33 am

Post by _protytype_ »

thanks man, that pretty much did the magic. I've finally installed the pspsdk and I'm ready to rumble! thanks again.
AllSystemGo
Posts: 26
Joined: Sat Jun 02, 2007 1:15 am

Post by AllSystemGo »

Happy I could finally help someone!!

:)

Cheers
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Sounds like something to be added to the depends checking in psptoolchain.
Post Reply