I am writing a kernel module where I need to access sk_buff variables. But when I write
#include <linux/skbuff.h>
Netbeans says it can't locate that header file.
|
I am writing a kernel module where I need to access
Netbeans says it can't locate that header file. |
||||
|
|
|
That header is purposely not installed in For 2.6+ kernels, it is easier to get the right behavior through use of the standard kernel driver Makefile scheme than through attempts to arm-twist Netbeans. The 2.6+ driver build system does a lot of things for you, more than you will get from an "easy to use" IDE like Netbeans. Maybe you can get the best of both worlds. Some IDEs let you use it as a glorified editor, but delegate building to an external If you absolutely had to do everything within Netbeans, you could do it pretty much the same way we had to build drivers for 2.4 and earlier kernels. Basically, you end up referencing header file directories within the kernel source code itself. In GNU Makefile speak, you'd have something like this:
Doing the same in Netbeans will probably be anywhere from difficult to impossible:
|
||||
|
|