Compiler can't make exectutables - please help

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

Moderators: cheriff, TyRaNiD

Post Reply
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Compiler can't make exectutables - please help

Post by gambiting »

Hi! I'm trying to upgrade my toolchain,but I have errors:
(these are last lines of output)

Code: Select all

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?
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

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
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

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.
terryxq
Posts: 16
Joined: Wed Oct 12, 2005 9:27 pm

Post by terryxq »

maybe patches have not been applied successfully
Post Reply