From: Dave Hatton <mail@da...> - 2004-03-30 10:42:14
I'me using ndiswrapper-0.6 + CVS with linux 2.6.5-rc3 and glibc-2.3.3 +
Ndiswrapper won't compile because loadndisdriver.c
includes ../driver/wrapper.h which in turn includes limits.h which trys
to include a kernel only header file
The following fixes the problem for me (in my build script).
sed -i 's:#include "../driver/wrapper.h":#include "wrapper.h":' \
cp ../driver/wrapper.h wrapper.h
sed -i 's:#include <linux/list.h>::' wrapper.h
Maybe a separate wrapper.h for utils would be a better fix?
PS - I'm not subscribed to the list so please copy me on any reply.
On Tue, 30 Mar 2004 11:42:09 +0100, Dave Hatton <mail@...> said:
Dave> Ndiswrapper won't compile because loadndisdriver.c includes
Dave> ../driver/wrapper.h which in turn includes limits.h which trys
You mean list.h?
Dave> Maybe a separate wrapper.h for utils would be a better fix?
That would duplicate declarations. I have now committed a patch to
remove list.h from wrapper.h, so it should compile for you.
Get latest updates about Open Source Projects, Conferences and News.