philosopher_sam n00b
Joined: 17 Mar 2004 Posts: 26 Location: southern California
|
Posted: Sat Mar 27, 2004 6:40 am Post subject: Problems with compiling ndiswrapper-0.6 |
|
|
To Fellow Gentoo Users:
I'm having some errors compiling ndiswrapper-0.6..here is some of the info after running a make install:
Quote: | In file included from /lib/modules/2.4.22-gentoo-r7/build/include/linux/sched.h:14,
from /lib/modules/2.4.22-gentoo-r7/build/include/linux/vmalloc.h:4,
from wrapper.c:18:
/lib/modules/2.4.22-gentoo-r7/build/include/linux/timex.h:78:3: #error You lose.In file included from /lib/modules/2.4.22-gentoo-r7/build/include/asm/smp.h:17,
from /lib/modules/2.4.22-gentoo-r7/build/include/linux/smp.h:14,
from /lib/modules/2.4.22-gentoo-r7/build/include/linux/sched.h:23,
from /lib/modules/2.4.22-gentoo-r7/build/include/linux/vmalloc.h:4,
from wrapper.c:18:
/lib/modules/2.4.22-gentoo-r7/build/include/asm/mpspec.h: At top level:
/lib/modules/2.4.22-gentoo-r7/build/include/asm/mpspec.h:205: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /lib/modules/2.4.22-gentoo-r7/build/include/linux/smp.h:14,
from /lib/modules/2.4.22-gentoo-r7/build/include/linux/sched.h:23,
from /lib/modules/2.4.22-gentoo-r7/build/include/linux/vmalloc.h:4,
from wrapper.c:18:
/lib/modules/2.4.22-gentoo-r7/build/include/asm/smp.h:67: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
/lib/modules/2.4.22-gentoo-r7/build/include/asm/smp.h:67: confused by earlier errors, bailing out
make[1]: *** [wrapper.o] Error 1
make[1]: Leaving directory `/home/sam/ndiswrapper-0.6/driver'
make: *** [install] Error 2 |
I looks like it does not like my CONFIG_NR_CPUS somewhere. Anyone have any ideas on how to fix this one?
Important note: I did try to emerge 0.4 and it failed. I do not know if i need to delete anything as I know 0.4 and 0.6 are different.
Best regards,
Sam |
|