On 8/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I thought that the compilation of packages wasn't dependent upon kernel source 
code as we'd installed the kernel header package.  However, I cannot compile 
ndiswapper 1.5 with a kernel greater than 2.6.15*, I don't have  the kernel 
tree in /usr/src/ so don't understand what's going on.  Is my understanding 
right that building should use the kernel headers package?  Is there a way of 
forcing packages like ndiswrapper to use them?

You're gonna need the source directory for Linux because it's trying
to build a kernel module. It doesn't necessarily have to be in
/usr/src. There should be a way to tell the ndiswrapper build where
that is. The symlink in /lib/modules/x.x.x.x/build just points to
wherever you build Linux at.

  CC [M]  /usr/src/ndiswrapper-1.5/driver/loader.o
/usr/src/ndiswrapper-1.5/driver/loader.c: In function `register_devices':
/usr/src/ndiswrapper-1.5/driver/loader.c:930: error: structure has no member 
named `owner'
make[3]: *** [/usr/src/ndiswrapper-1.5/driver/loader.o] Error 1

Why don't you try out the current stable version of ndiswrapper?
Possibly this issue is fixed there. Looks like they're currently on
1.23, just released last week.

http://sourceforge.net/project/showfiles.php?group_id=93482

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to