Missing header files


I just installed Mac OS X, upgraded to 10.0.3 and installed the developer tools from the cd.
Still I got this message from the terminal:

hello.c:0: could not open '/usr/local/libexec/ppc/specs'
hello.c:1: header file 'stdio.h' not found

-when I tried to compile this very simple program - hello.c:

#include <stdio.h>

int main(void) {
printf("Hello world\n");

The "specs"-dir doesn't even exist, so maybe it could've been a bug in the installation, so I tried reinstalling X but with no luck.

Have someone had the same problem?

One other thing: on the public beta there were no problems doing the very same thing.

thanks in advance