| View previous topic :: View next topic |
| Author |
Message |
Janus
Joined: 16 Dec 2008 Posts: 7
|
Posted: Tue Dec 16, 2008 9:10 pm Post subject: psptoolchain build / cygwin |
|
|
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?
| Code: | make[5]: psp-ar: Command not found
make[5]: *** [lib.a] Error 127
make[5]: Leaving directory `/home/Janus/psp/psp/newlib/libc/argz'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Janus/psp/psp/newlib/libc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Janus/psp/psp/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Janus/psp/psp/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/home/Janus/psp'
make: *** [all] Error 2
../scripts/004-newlib-1.16.0.sh: Failed. |
|
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Tue Dec 16, 2008 10:51 pm Post subject: Re: psptoolchain build / cygwin |
|
|
| Janus wrote: |
| Code: | make[5]: psp-ar: Command not found
|
|
you haven't set up your paths correctly. |
|
| Back to top |
|
 |
Janus
Joined: 16 Dec 2008 Posts: 7
|
Posted: Tue Dec 16, 2008 11:03 pm Post subject: |
|
|
| could you be a bit more specific? what did I miss? and what is psp-ar exactly? |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Dec 17, 2008 2:57 am Post subject: |
|
|
psp-ar is the assembler, it is build during the binutils step
Is there a space in your cygwin username? |
|
| Back to top |
|
 |
Janus
Joined: 16 Dec 2008 Posts: 7
|
Posted: Wed Dec 17, 2008 8:32 am Post subject: |
|
|
| No, there isn't. No special chars or anything either |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Dec 18, 2008 12:06 am Post subject: |
|
|
| Code: | $ which psp-as
/usr/local/pspdev/bin/psp-as |
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? |
|
| Back to top |
|
 |
Janus
Joined: 16 Dec 2008 Posts: 7
|
Posted: Thu Dec 18, 2008 12:19 am Post subject: |
|
|
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 :) |
|
| Back to top |
|
 |
Janus
Joined: 16 Dec 2008 Posts: 7
|
Posted: Thu Dec 18, 2008 12:00 pm Post subject: |
|
|
This time, I'm getting:
| Code: | 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. |
|
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Thu Dec 18, 2008 4:18 pm Post subject: |
|
|
| Did you install SDL from the SVN for PSP and for PC? |
|
| Back to top |
|
 |
Janus
Joined: 16 Dec 2008 Posts: 7
|
Posted: Thu Dec 18, 2008 7:42 pm Post subject: |
|
|
| I assume I didn't. I just installed anything that might be necessary from the Cygwin Installer, set the PATH vars and hit ./toolchain.sh |
|
| Back to top |
|
 |
|