On Thu, Dec 23, 2004 at 09:22:33PM -0600, Michael Madden wrote: > I just installed the latest amd64 netboot on my Sun > SunFire V20z, and I tried to compile a simple C program: > > #include <stdio.h> > > int main(void) > { > printf("Hello World!\n"); > return (0); > } > > [EMAIL PROTECTED]:~$ gcc -o hello hello.c > hello.c:1:19: stdio.h: No such file or directory > > I have the following gcc packages installed: > > [EMAIL PROTECTED]:~$ dpkg -l | grep gcc > ii gcc 3.3.5-1 The GNU C compiler > ii gcc-3.3 3.3.5-5 The GNU C compiler > ii gcc-3.3-base 3.3.5-5 The GNU Compiler Collection (base package) > ii libgcc1 3.4.3-6 GCC support library > > Did something go wrong with the initial install or do > I just need to install something else? >
Usually development headers and import libraries are not installed by default. You want libc6-dev. dc -- David Purton [EMAIL PROTECTED] For the eyes of the LORD range throughout the earth to strengthen those whose hearts are fully committed to him. 2 Chronicles 16:9a
signature.asc
Description: Digital signature