Hi! I'm trying to install a smartlink driver for my amr modem and it seems I must change the Makefile of this slmdm-2.7.10.
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
I also says I must then use /lib/modules/`uname -r`/build/include instead of /usr/include/linux/
So what is the kernel source directory I should use in the command ln?
I found a directory exists such as /usr/include/linux, which has promising files such as version.h.
So should I make this link:
ln -s /usr/include/linux/ /lib/modules/2.4.22-10mdk/build/include/linux
Or should I make
ln -s /usr /lib/modules/2.4.22-10mdk/build/
Has anyone any idea?
Thanks in advance