Results 1 to 4 of 4
hi,
I want to write a multi-shot timer program, using init_timer(struct timer_list *), add_timer(struct timer_list *) & del_timer(struct timer_list *) system calls. But when I am including the "linux/timer.h" file ...
- 12-04-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 5
linux/timer.h not found
hi,
I want to write a multi-shot timer program, using init_timer(struct timer_list *), add_timer(struct timer_list *) & del_timer(struct timer_list *) system calls. But when I am including the "linux/timer.h" file for this purpose, & compiling the program, it is giving me the following error - "linux/timer.h: No such file or directory"
I did -> locate linux/timer.h, but it is showing nothing. I tried "find / -name 'filename.c', but it is also not giving me the path.
Can any body please help
- 12-04-2009 #2Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
Did you install development packages? ... Depends on your distribution, you need to install some packages to develop applications, which contains all headers and other stuff.
EOF
- 12-05-2009 #3Just Joined!
- Join Date
- Aug 2009
- Posts
- 5
linux/timer.h not found
Hi hugortega,
Can you please tell me which development package(s) I should get installed ??......I have Fedora Core 6 in my machine......is it going to work if I get the latest version of the OS installed in my system ??
- 12-07-2009 #4Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
I'm not sure about FC6, but look for something like 'kernel-devel' package... also, there is a yum option called packages groups (not sure if this is available on FC6) but you can try:
$ sudo yum groupinstall 'Development Tools'EOF


Reply With Quote