I have some strange problems regarding my build setup... acutally I am trying to compile
#include <stdio.h>
int main()
{
printf( "Hello World!\n" );
return 0;
}
by running
gcc -o simple simple.c
but this gives some errors.
hi...
i am getting an error "stdio.h: No such file or directory"
how to solve it?
source code:
#include <stdio.h>
int main (void)
{
return 0;
}
version: fedora core release 2
kernel: 2.6.5-1.358smp
note: stdio.h file not available in the directory /usr/include
thanks...
when i makefile a module. i meet this problem, no such file or directory. it works if i use gcc -c. the o file appears.(i think i means the code is right). I installed the build-essential. and the stdio.h is in the direction usr/inculde/stdio.h(so the build-essential is already installed).
Trying to compile a C program recievin this
hello.c:1:19: fatal error: stdio.h: No such file or directory
gcc is installed on the system.
echo $PATH
/usr/bin:/usr/sbin:/usr/gcc/4.5/include/c++/4.5.2/tr1
root@Sol11swtb01:/media/NO NAME/Programming/C/Testing# cd /usr/gcc/4.5/include/c++/4.5.2/tr1
root@Sol11swtb01:/usr/gcc/4.5/include/c++/4.5.2/tr1# ls
array complex.h
Hi,
I'm trying to 'make' a program, but when I type 'make' at terminal after './configure', it says 'Fatal error: stdio.h'not found, no such file or directoiry'.
Do I need build-essential or a compiler? If so, please help how to get one working. Thanks.
This code consistently fails to build in ubuntu 12.04, 12.10, linux mint 13 and 14, but it compiles correctly on ubuntu maverick 10.10
#include <stdio.h>
#include <signal.h>
#include <stdio.h>
#include <signal.h>
#include <execinfo.h>
#include <stdlib.h>
#include <string.h>
//#define __USE_GNU
//#include <sys/ucontext.h>
#include <ucontext.h>
I keep getting this error, when trying to compile my C program in SCO (using gcc).
I have had a look on Google, and found this other forum: Linux Questions, and that guy had the exact same issue as I am getting.
I have this weird issue on my Mac OS X 10.7.5
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:33:10: fatal error: 'stdio.h' file not found
What caused the above error?
Hi everybody, I'm trying to compile a simple rtnetlink example written in c using gcc [ver 4.7.2] but I get this error : /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit statusand here is the include parts of example : #include <sys/socket.h>
#include <st