C compiler cannot create executables
I'm trying to install sudo in my linux centos but after ./configure it says:
checking for egrep... egrep
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
Is there any lib I need to install besides gcc? Here are some of my compiler packages installed:
binutils-2.11.93.0.2-11.i386.rpm
bison-1.35-1.i386.rpm
byacc-1.9-19.i386.rpm
cpp-2.96-110.i386.rpm
cproto-4.6-9.i386.rpm
ctags-5.2.2-2.i386.rpm
flex-2.5.4a-23.i386.rpm
gcc-2.96-110.i386.rpm
gcc-c++-2.96-110.i386.rpm
glibc-kernheaders-2.4-7.14.i386.rpm
Thanks in advance !!! hearing from those guru soon
|