1

I am using 2.6.18 CentOS. I am using headers, which on compiling is saying not found. Any idea, as how to resolve it?

timer_ex1.c:3:24: error: sys/netmgr.h: No such file or directory
timer_ex1.c:4:26: error: sys/neutrino.h: No such file or directory
timer_ex1.c:5:25: error: sys/siginfo.h: No such file or directory
0

1 Answer 1

2

Obviously, the files aren't found in the include path.

To get rid of that, locate sys/netmgr.h on your system. The parent path of sys must be in the include paths passed to the compiler when building timer_ex1.c

Sign up to request clarification or add additional context in comments.

3 Comments

I could not find it in my system, i guess my CentOS version is not too old. Then why these syscall headers are missing? Any idea?
Looks like header files for QNX, not CentOS.
@Steve-o: Yes, that is the problem i guess :-(

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.