> /usr/src isn't the correct/standard location for programs to be > compiling against, and hasn't been for years. The correct location > is: > > /lib/modules/`uname-r`/build/include > > Note that user space programs should NEVER use kernel headers, either > in /usr/src or in /lib/modules. Only kernel modules should ever need > to use /lib/modules. Although this is implied in your remark, I think it might be helpful to state it explicitly: Because kernel headers define interfaces, etc that are *private* to the kernel and kernel modules. To get the interfaces that are safe and published and *public* for user space programs the headers in /lib/modules/`uname -r`/build/include are the ones to be used for user space programs. Even open source programs need some privacy :-) Andrew