Missing C header files?
I am trying to compile a program and it gives me the following error:
Code:
install-debian.c:1108:22: error: sys/stat.h: No such file or directory Thanks |
This is my first time replying to another's question but i think i know your problem.
The "Header" files you are missing are in essence library files. In other words, the libraries that come with C are built into your language and you just need to declare them at the top of your class that you are compiling. I noticed ur missing stdio.h and stdlib.h, just type: Code:
#include <stdio.h> Mistro116 |
No that's not the problem because I can compile the program on my other debian system. Thanks for the effort though.
anyone? |
Go to debian.org->Debian packages->Search the contents of packages
Search for some of the missing files (stdio.h for example). Choose the correct one from the list (it shouldn't be hard to identify) and install that package with apt-get. |
All times are GMT -5. The time now is 08:46 PM. |