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 

Toolchain building problems

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



Joined: 25 Apr 2005
Posts: 95

PostPosted: Thu Jan 03, 2008 8:09 am    Post subject: Toolchain building problems Reply with quote

I have been trying to build the PSP toolchain on Windows with Cygwin for a day now. I have tried searching the forum but nothing seems to help. I know it is probably a missing library or something simple but I'd stuck. Here is what I am getting:

Code:
make[1]: Entering directory `/home/Shapyi/psphome/psptoolchain/build/psplinkusb/
tools/remotejoy/pc'
cc -Wall -g   -c -o remotejoy.o remotejoy.c
remotejoy.c:27:28: linux/joystick.h: No such file or directory
remotejoy.c: In function `get_joyinfo':
remotejoy.c:318: warning: implicit declaration of function `ioctl'
remotejoy.c:318: warning: implicit declaration of function `JSIOCGNAME'
remotejoy.c:324: error: `JSIOCGVERSION' undeclared (first use in this function)
remotejoy.c:324: error: (Each undeclared identifier is reported only once
remotejoy.c:324: error: for each function it appears in.)
remotejoy.c:330: error: `JSIOCGAXES' undeclared (first use in this function)
remotejoy.c:336: error: `JSIOCGBUTTONS' undeclared (first use in this function)
remotejoy.c: At top level:
remotejoy.c:461: warning: "struct js_event" declared inside parameter list
remotejoy.c:461: warning: its scope is only this definition or declaration, whic
h is probably not what you want
remotejoy.c: In function `read_event':
remotejoy.c:467: error: invalid application of `sizeof' to incomplete type `js_e
vent'
remotejoy.c:481: error: dereferencing pointer to incomplete type
remotejoy.c:481: error: `JS_EVENT_INIT' undeclared (first use in this function)
remotejoy.c:486: error: dereferencing pointer to incomplete type
remotejoy.c: In function `make_mapfile':
remotejoy.c:498: error: storage size of 'joydata' isn't known
remotejoy.c:535: error: `JS_EVENT_AXIS' undeclared (first use in this function)
remotejoy.c:548: error: `JS_EVENT_BUTTON' undeclared (first use in this function
)
remotejoy.c:498: warning: unused variable `joydata'
remotejoy.c: In function `mainloop':
remotejoy.c:627: error: storage size of 'joydata' isn't known
remotejoy.c:678: error: `JS_EVENT_INIT' undeclared (first use in this function)
remotejoy.c:680: error: `JS_EVENT_BUTTON' undeclared (first use in this function
)
remotejoy.c:706: error: `JS_EVENT_AXIS' undeclared (first use in this function)
remotejoy.c:627: warning: unused variable `joydata'
make[1]: *** [remotejoy.o] Error 1
make[1]: Leaving directory `/home/Shapyi/psphome/psptoolchain/build/psplinkusb/t
ools/remotejoy/pc'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.


Can anyone point me to what I am missing? I have libusb-win32 installed and libsdl. What else could it be? Thank you for the help guys.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Jan 03, 2008 8:13 am    Post subject: Reply with quote

http://forums.ps2dev.org/viewtopic.php?t=9137&highlight=cygwin+remotejoy
Back to top
View user's profile Send private message
Shapyi



Joined: 25 Apr 2005
Posts: 95

PostPosted: Thu Jan 03, 2008 10:26 am    Post subject: Reply with quote

Thanks for the thread but it really doesn't provide a solution to my problem building psplinkusb. Has anyone who is running cygwin been able to build this or get this final script to run?
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Jan 03, 2008 2:41 pm    Post subject: Reply with quote

It's failing to build remotejoy. If you don't need that (you probably don't), you could just remove it from the psplink makefile.
Back to top
View user's profile Send private message
Shapyi



Joined: 25 Apr 2005
Posts: 95

PostPosted: Fri Jan 04, 2008 3:42 am    Post subject: Reply with quote

Alright, I just removed it all from the makefile and it built fine. Thank you for the help.
Back to top
View user's profile Send private message
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