PDA

View Full Version : Not able to Compile !!!



Extreme_Coder
November 9th, 2005, 05:26 AM
I am getting the following error, when I tried to compile simple Hello World Program using cc or gcc.

/usr/bin/ld: crt1.o: No such file: No such file or directory

toojays
November 9th, 2005, 05:54 AM
Have you installed the build-essential package?

Extreme_Coder
November 9th, 2005, 06:42 AM
What are those build packages ?

toojays
November 9th, 2005, 07:40 AM
There is a package called "build-essential", which installs the minimum necessary packages to compile programs. Just having gcc installed is not enough, you need some development libraries.