c - Can not find linux/modversions.h -


i trying install driver serial device, , when run installation executable error:

cc -dlinux -c -dmodversions -dmodule -d__kernel__ -wall -wstrict-prototypes -o2 -fomit-frame-pointer -pipe -m64 -mcmodel=kernel -i/usr/src/linux-3.8.0-27-generic/include -i/usr/src/linux-2.4/include -i/usr/src/linux/include -d__smp__ npreal2.c npreal2.c:40:31: **fatal error: linux/modversions.h: no such file or directory** compilation terminated. 

i don't find solutions after searching forums. noticed there modversions.h in /usr/src/linux-3.8.0-27-generic/include/config , not in linux folder.

please help!

try passing -i /usr/src/linux-3.8.0-27-generic/include/config argument make?

or

check if header part of package , update package.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -