[Slackbuilds-users] I need help with ndiswrapper

Max Miorim miorimmax at gmail.com
Mon Jun 14 02:35:32 UTC 2010


On Sun, Jun 13, 2010 at 10:28 PM,  <nunes at mtm.ufsc.br> wrote:
>
> It appears something is missing in the latter linux kernel.
> Ndiswrapper stops with:
>
> include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or
> directory
> include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined
> include/linux/mmzone.h:260:7: warning: "MAX_NR_ZONES" is not defined
> .........
>
>  I have tested in kernel linux-2.6.33 and linux-2.6.34.
>
>  tnx in advance
>
>        G.L.N
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>

There's something wrong with your kernel sources:

max at willcrashforsure:~$ find /usr/src/ -name bounds.h
/usr/src/linux-2.6.33.4/include/generated/bounds.h
/usr/src/linux-2.6.34-ck1/include/generated/bounds.h
max at willcrashforsure:~$ cat /usr/src/linux-`uname -r`/include/generated/bounds.h
#ifndef __LINUX_BOUNDS_H__
#define __LINUX_BOUNDS_H__
/*
 * DO NOT MODIFY.
 *
 * This file was generated by Kbuild
 *
 */

#define NR_PAGEFLAGS 24 /* __NR_PAGEFLAGS	# */
#define MAX_NR_ZONES 4 /* __MAX_NR_ZONES	# */

#endif


Did you install the kernel-source package for 2.6.33.4?

When you tried to compile the module for 2.6.34, did you reboot into
the new kernel (2.6.34) or run the SlackBuild using KERNEL=2.6.34?


More information about the SlackBuilds-users mailing list