Configure/GCC Errors

[root binutils-2.13.1]# ./configure
Configuring for a mipsel-pc-linux-gnu host.
Created "Makefile" in /home/packages/binutils-2.13.1 using "mt-frag"
/usr/lib/crt1.o(.text+0x28): undefined reference to `atexit'
/usr/lib/crt1.o(.text+0x7c): undefined reference to `__libc_init_first'
/usr/lib/crt1.o(.text+0xd8): undefined reference to `atexit'
/usr/lib/crt1.o(.text+0x138): undefined reference to `exit'
/usr/local/lib/gcc-lib/mipsel-unknown-linux-gnu/2.95.3/libgcc.a(__main.o): In function `/home/packages/gcc-2.95.3/gcc/./libgcc2.c':
/home/packages/gcc-2.95.3/gcc/./libgcc2.c(.text+0x154): undefined reference to `atexit'
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables

sh: /bin/rpm: cannot execute binary file

Anyone have ANY idea why all these errors would be happening, and why I can't configure anything?

 

 

 

 

Top