Hi all,
I'm a beginner in Linux. I wrote a program named hello.c:
/* hello.c */
#include <stdio.h>
int main(int argc, char *argv[])
{
if (argc > 1)
printf("Greetings %s.\n", argv[1]);
else
printf("Please tell me your name.\n");
return 0;
}
I use Fedora 15 (Redhat 64bits). I compiled but I met error:
"
# gcc hello.c -o hello
In file included from /usr/include/features.h:387:0,
from /usr/include/stdio.h:28,
from hello.c:3:
/usr/include/gnu/stubs.h:9:27: fatal error: gnu/stubs-64.h: No such file or directory
compilation terminated.
"
Please help me to solve this problem
Thank you !