Gcc error - configure: error: C compiler cannot create executables
Joel Sherrill
joel.sherrill@oarcorp.com
Tue Aug 28 07:34:00 GMT 2007
bruno steckelberg wrote:
> I got this messages on the shell screen:
>
> COMP-BRUNO:/home/bruno/Programas/cups-1.4svn-r6852# ./configure
> checking for gawk... no
> checking for mawk... mawk
> checking for gcc... gcc
> checking for C compiler default output file name... configure: error:
> C compiler cannot create executables
> See `config.log' for more details.
>
> Attached I've send the config.log.
>
> I've read the message, but have no idea what could be the problem.
>
> Someone Could, please, help me???
>
>
This is not the right list for this question but....
When you get this type of error, you need to really examine the config.log.
It contains the error message from whatever configure tried to do. In this
case, we see:
configure:1840: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
So my guess is you are missing some part of the development environment.
Until you can compile and link a hello world program, you won't get past
this point.
--joel
> thanks in advance.
>
More information about the Gcc
mailing list