I have been trying to compile a very old program actual meant for Kernel
I previously had an issue Missing Modversions.h which is solved now, but there is another issue.
In file included from /lib/modules/3.8.0-29-generic/build/include/linux/types.h:5:0, from /lib/modules/3.8.0-29-generic/build/include/linux/list.h:4, from /lib/modules/3.8.0-29-generic/build/include/linux/module.h:9, from kaodv-mod.c:30: /lib/modules/3.8.0-29-generic/build/include/uapi/linux/types.h:4:23: fatal error: asm/types.h: No such file or directory compilation terminated. make: *** [kaodv-mod.o] Error 1 make: Leaving directory `/home/vm1/aodv-12-12-13/lnx' make: *** [kaodv] Error 2
The file /lib/modules/3.8.0-29-generic/build/include/uapi/linux/types.h is a linux header file, I don`t understand how such an error could occur.
OS: Ubuntu 12.04 Kernel Version: 3.8.0-29 Program I`m trying to compile:[AODV-UU]
Please help me fix it.