Your problem is probably the -I/usr/include. It should be
-I/usr/src/linux-xxx/include i.e. should point at your current kernel
sources. /usr/include/linux et al are *not* guaranteed to do so.
Also note that if your current kernel uses MODVERSIONS, you will have
to compile with something like "-DMODVERSIONS -include
/usr/src/linux-xxx/include/linux/modversions.h" due to the *ahem*
design of MODVERSIONS.
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/