forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

usb_init?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
_protytype_



Joined: 05 Sep 2007
Posts: 3

PostPosted: Wed Sep 05, 2007 11:43 am    Post subject: usb_init? Reply with quote

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
View user's profile Send private message
AllSystemGo



Joined: 02 Jun 2007
Posts: 26

PostPosted: Wed Sep 05, 2007 11:47 am    Post subject: Reply with quote

Try this:

apt-get install libusb-dev

Hope it helps.
Back to top
View user's profile Send private message
_protytype_



Joined: 05 Sep 2007
Posts: 3

PostPosted: Wed Sep 05, 2007 1:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
AllSystemGo



Joined: 02 Jun 2007
Posts: 26

PostPosted: Thu Sep 06, 2007 3:43 am    Post subject: Reply with quote

Happy I could finally help someone!!

:)

Cheers
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Sep 06, 2007 6:07 am    Post subject: Reply with quote

Sounds like something to be added to the depends checking in psptoolchain.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group