While using gcc on a newly installed system you may get:
/usr/bin/ld: crt1.o: No such file: No such file or directory

This is a common problem, but with a simple solution.

On debian:
apt-get install libc6-dev

On Fedora:

$ locate crt1.o
/usr/lib/crt1.o

On Ubuntu:
apt-get install libc6-dev

{ If not root, sudo apt-get install libc6-dev }






Post Rating:

Related entries: