Compilation problem (configure) on Redhat (PLD i686).

These are old archives. They are kept for historic purposes only.
Post Reply
Yarou
Posts: 14
Joined: Sat Oct 02, 2004 4:57 am

Compilation problem (configure) on Redhat (PLD i686).

Post by Yarou » Sat May 13, 2006 4:43 am

After painstakingly finding the right version of GCC, I recieve this error:

Code: Select all

checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot ceate executables
I am positive that GCC is installed.

Code: Select all

/usr/bin/cc
/usr/bin/gcc
Here is my $PATH:

Code: Select all

/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
Here is the config.log:

Code: Select all

configure:1547: $? = 0
configure:1549: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i686-pld-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --disable-static --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,f77,objc,ada,java,ksi --enable-c99 --enable-long-long --enable-multilib --enable-nls --with-gnu-as --with-gnu-ld --with-system-zlib --with-slibdir=/lib --without-x i686-pld-linux
Thread model: posix
gcc version 3.3.3 (PLD Linux)
configure:1552: $? = 0
configure:1554: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1557: $? = 1
configure:1583: checking for C compiler default output
configure:1586: gcc    conftest.c  >&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure:1589: $? = 1
configure: failed program was:
#line 1560 "configure"
#include "confdefs.h"
Can anyone help me with this problem?

Post Reply