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 

Compiler can't make exectutables - please help

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



Joined: 17 Aug 2006
Posts: 154

PostPosted: Sat Dec 08, 2007 5:17 am    Post subject: Compiler can't make exectutables - please help Reply with quote

Hi! I'm trying to upgrade my toolchain,but I have errors:
(these are last lines of output)
Code:
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
../scripts/001-binutils-2.16.1.sh: Failed.
root@gambiting-desktop:/home/gambiting/psp/psptoolchain#

The problem is that I have gcc working(I can create pc and psp programs using it without any problems).But now it tells me that gcc can't create executables??WTF? Can anyone help?
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Sat Dec 08, 2007 8:53 am    Post subject: Reply with quote

why are you trying to update your toolchain?

Just update the SDK!

svn co svn://svn.ps2dev.org/psp/trunk/pspsdk

otherwise pastebin your config.log
Back to top
View user's profile Send private message AIM Address
gambiting



Joined: 17 Aug 2006
Posts: 154

PostPosted: Sat Dec 08, 2007 6:13 pm    Post subject: Reply with quote

Problem solved - I looked into config.log and it was sdl library that I was missing,but I'm not sure why it was trying to add it.Anyway,it's working now.Thx.

Last edited by gambiting on Sat Dec 08, 2007 6:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
terryxq



Joined: 12 Oct 2005
Posts: 16

PostPosted: Sat Dec 08, 2007 6:16 pm    Post subject: Reply with quote

maybe patches have not been applied successfully
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