I'm trying to fix an old program, Previous issues I had could be found at Missing modversions.h
When I make the program it gives me the following error,
kaodv-mod.c:22:27: fatal error: linux/version.h: No such file or directory
compilation terminated.
So I ran
find / -name version.h
which returns
/opt/VBoxGuestAdditions-4.3.2/src/vboxguest-4.3.2/vboxguest/include/VBox/version.h
/usr/include/linux/dvb/version.h
/usr/include/linux/version.h
/usr/src/linux-headers-3.8.0-29-generic/include/config/arch/want/ipc/parse/version.h
/usr/src/linux-headers-3.8.0-29-generic/include/generated/uapi/linux/version.h
/usr/src/linux-headers-3.8.0-29/include/uapi/linux/dvb/version.h
/usr/src/linux-headers-3.8.0-29/include/xen/interface/version.h
This clearly proved that linux/version.h is present
In order to fix this, should I change
#include<linux/version.h>
into
#include</usr/include/linux/version.h>
Or is it possible to make changes to the Makefile
P.S: Makefile
/lib/modules/3.8.0-29-generic/build/include/uapi/linux/types.h:4:23: fatal error: asm/types.h: No such file or directoryI find it very odd, why would there be an error in/lib/modules/3.8.0-29-generic/build/include/uapi/linux/types.hit being a part of the linux header – Ashiq Irphan Dec 15 '13 at 11:28