Hi all,
I need to use a very particular version of madwifi (madwifi-old-r1417-20060128) which is patched for several experimenting purposes. The targets are Asus WL 500G Premium routers. I tried to create my own kernel package by reusing a modified version of the Makefile of the madwifi version provided with OpenWrt (r3314). I mainly changed the name of the package (I use a slightly different name), some make options according to my needs, the source of the package (I now only use my own tar.gz file) and my Makefile don't call make modules anymore, since this section doesn't seems to exist in the old madwifi's Makefile. Additionally, I renamed the patch files folder, in order not to use them.
My problem is that as soon as it begins to try compile the first file, I have errors like :
ah_osdep.c:44:26: linux/config.h: No such file or directory
ah_osdep.c:45:27: linux/version.h: No such file or directory
ah_osdep.c:46:26: linux/module.h: No such file or directory
ah_osdep.c:47:24: linux/init.h: No such file or directory
ah_osdep.c:49:26: linux/kernel.h: No such file or directory
...
Which seems to indicate that something is wrong with the path of the kernel sources (which is supposed to be the same as in the legacy version of madwifi).
Does anyone has an idea about that?
I'm quite new with OpenWrt so it may be very stupid...
Thanks!