Ubuntu gcc header files missing

whoosh whoosh777 at blueyonder.co.uk
Thu Jul 31 16:45:56 UTC 2008



I at last installed Ubuntu Desktop 8.04.1

one useful thing is it has generated a full bootloader for ALL 

my bootable partitions.




HOWEVER, trying gcc with eg:


test.c which is just:


#include <stdio.h>


gcc cannot find <stdio.h>

ALL C compilers should find <stdio.h>

that header goes all the way back to the invention of C.

this is x86_64-linux-gnu gcc 4.2.3


gcc -v -c test.c -o test.o

shows the search path, the only search directories which exist are:

/usr/local/include

/usr/lib/gcc/x86_64-linux-gnu/4.2.3/include

/usr/include

NONE of which are any use.









More information about the ubuntu-users mailing list