Toolchain build error on OSX.

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
platform
Posts: 13
Joined: Wed Aug 26, 2009 5:53 pm

Toolchain build error on OSX.

Post by platform »

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?
platform
Posts: 13
Joined: Wed Aug 26, 2009 5:53 pm

Post by platform »

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?
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Looks like a difference with readline. Psplink isn't strictly required anyway, so the toolchain and SDK itself should still be fine to use.
Post Reply