/usr/bin/ld: cannot open crt1.o: No such file or directory
/usr/bin/ld: cannot open crt1.o: No such file or directory
[quote:812bec9db7]/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status[/quote:812bec9db7]
This is annoying and in my case it happened on Centos AMD 64 when compiling a 32bit program with GCC.
Install glibc-devel.i386 (make sure you get the i386 version and not the native 64 bit version which is likely already installed).
The joys of 32-bit computing in a 64-bit environment :)
Anyway just install the i386 glibc-devel and you'll be good to go.