November 21, 2008

/usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status

/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status


If you are using ubuntu and faced with an error message like this while compiling your c code, just install libc6-dev package.

sudo aptitude install libc6-dev

No comments: