Hi folks, trying to build psptoolchain on cygwin. I triple-checked and reinstalled all necessary things (devel etc, the stuff from math, checked everything from the psptoolchain readme to be commands cygwin will execute from bash, those that don't I looked up on the cygwin installer, they should be correctly installed, just some additional libs or something that arent executables themselves). I did the EXPORT=... stuff and all, aswell.
Also, sorry for creating yet another psptoolchain-build-error thread, but I couldn't find anything fitting my case ;(
After a couple of hours I always get the following error. Any ideas?
For whatever reason, it isn't able to find that. Generally this means you haven't added /usr/local/pspdev/bin to your path. Are you using sudo to build the toolchain? Does cygwin even have sudo?
I don't think cygwin has sudo. I'm just executing the .sh
I've added /usr/local/pspdev/bin to the PATH in /etc/profile manually, now, aswell as windows' PATH var, since it's pulling that on execution of the bash. Don't ask me why I haven't done that before...
Trying to build, will report progress once known :)
remotejoy.c:27:28: linux/joystick.h: No such file or directory
remotejoy.c: In function `get_joyinfo':
remotejoy.c:322: warning: implicit declaration of function `ioctl'
remotejoy.c:322: warning: implicit declaration of function `JSIOCGNAME'
remotejoy.c:328: error: `JSIOCGVERSION' undeclared (first use in this function)
remotejoy.c:328: error: (Each undeclared identifier is reported only once
remotejoy.c:328: error: for each function it appears in.)
remotejoy.c:334: error: `JSIOCGAXES' undeclared (first use in this function)
remotejoy.c:340: error: `JSIOCGBUTTONS' undeclared (first use in this function)
remotejoy.c: At top level:
remotejoy.c:465: warning: "struct js_event" declared inside parameter list
remotejoy.c:465: warning: its scope is only this definition or declaration, which is probably not what you want
remotejoy.c: In function `read_event':
remotejoy.c:471: error: invalid application of `sizeof' to incomplete type `js_event'
remotejoy.c:485: error: dereferencing pointer to incomplete type
remotejoy.c:485: error: `JS_EVENT_INIT' undeclared (first use in this function)
remotejoy.c:490: error: dereferencing pointer to incomplete type
remotejoy.c: In function `make_mapfile':
remotejoy.c:502: error: storage size of 'joydata' isn't known
remotejoy.c:539: error: `JS_EVENT_AXIS' undeclared (first use in this function)
remotejoy.c:552: error: `JS_EVENT_BUTTON' undeclared (first use in this function)
remotejoy.c:502: warning: unused variable `joydata'
remotejoy.c: In function `mainloop':
remotejoy.c:631: error: storage size of 'joydata' isn't known
remotejoy.c:682: error: `JS_EVENT_INIT' undeclared (first use in this function)
remotejoy.c:684: error: `JS_EVENT_BUTTON' undeclared (first use in this function)
remotejoy.c:710: error: `JS_EVENT_AXIS' undeclared (first use in this function)
remotejoy.c:631: warning: unused variable `joydata'
make[1]: *** [remotejoy.o] Error 1
make[1]: Leaving directory `/home/Janus/psptoolchain/build/psplinkusb/tools/remotejoy/pc'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.