| View previous topic :: View next topic |
| Author |
Message |
platform
Joined: 26 Aug 2009 Posts: 13
|
Posted: Fri Sep 04, 2009 9:10 am Post subject: Toolchain build error on OSX. |
|
|
I'm trying to build the psptoolchain on OSX. It all goes fine until the final stage, psplink where I get a number of errors like the following:
g++ -Wall -g -D_PCTERM -I../psplink -c -o pspsh.o pspsh.C
pspsh.C: In function 'int execute_line(const char*)':
pspsh.C:232: error: invalid conversion from 'void (*)(char*)' to 'void (*)()'
pspsh.C:232: error: initializing argument 2 of 'void rl_callback_handler_install(const char*, void (*)())'
Please note that I've not installed libusb-dev for OSX since I can't find it anywhere, I have installed libusb though. Is this what is going wrong? It seems unlikely to me since this looks like code the compiler really objects to rather than a dependency.
On another front, will the build script install the toolchain as it successfully completes each stage? i.e., have the sdk and compiler now been updated? |
|
| Back to top |
|
 |
platform
Joined: 26 Aug 2009 Posts: 13
|
Posted: Fri Sep 04, 2009 8:28 pm Post subject: |
|
|
| I've now tried doing a 'make release' within the build/pspusblink and this works fine. Should I now just do a 'make install' and be done with it? |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Fri Sep 11, 2009 3:04 am Post subject: |
|
|
| Looks like a difference with readline. Psplink isn't strictly required anyway, so the toolchain and SDK itself should still be fine to use. |
|
| Back to top |
|
 |
|