I am compiling with gcc 2.96, in kdevelop shell.
here is main and output, when I include some header files included in linux/sched.h by hand in main, some errors disappear.
I try to compile program which use request_irq function declarated in linux/sched.h but it bring a lot of errors relating to include directives in sched.h.
I try on Mandrake7.2 and RedHat7.2 but...