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 build error on OSX.

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



Joined: 26 Aug 2009
Posts: 13

PostPosted: Fri Sep 04, 2009 9:10 am    Post subject: Toolchain build error on OSX. Reply with quote

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
View user's profile Send private message
platform



Joined: 26 Aug 2009
Posts: 13

PostPosted: Fri Sep 04, 2009 8:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Sep 11, 2009 3:04 am    Post subject: Reply with quote

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
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