[Ndiswrapper-general] 2.6 build is problematic
Status: Beta
Brought to you by:
pgiri
From: Sergey V. U. <ser...@cl...> - 2004-02-19 10:39:17
|
Hi all I am trying to build ndiswrapper from CVS on fedora 2.6 kernels. First, I had to change linux/modversions.h to config/modversions.h - there is no linux/modversions.h in 2.6. Then, I get some funny messages during the build process (see below). Then, my kernel get tainted on modprobe - because there is no version for struct_module. Actually, I found there is no symbol ____versions in the ndiswrapper.ko (while all other "good" kernel modules have it). Probably some breakage of the build process? Sergey ------ # make make -C driver DRV_VERSION=0.4+CVS make[1]: Entering directory `/home/svu/CVS/ndiswrapper/driver' make -C /lib/modules/2.6.2-1.85/build SUBDIRS=/home/svu/CVS/ndiswrapper/ driver modules make[2]: Entering directory `/lib/modules/2.6.2-1.85/build' *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies CHK include/asm-i386/asm_offsets.h CC [M] /home/svu/CVS/ndiswrapper/driver/wrapper.o CC [M] /home/svu/CVS/ndiswrapper/driver/loader.o CC [M] /home/svu/CVS/ndiswrapper/driver/winsyms.o CC [M] /home/svu/CVS/ndiswrapper/driver/ndis.o CC [M] /home/svu/CVS/ndiswrapper/driver/misc_funcs.o CC [M] /home/svu/CVS/ndiswrapper/driver/proc.o CC [M] /home/svu/CVS/ndiswrapper/driver/divdi3.o LD [M] /home/svu/CVS/ndiswrapper/driver/ndiswrapper.o Building modules, stage 2. /lib/modules/2.6.2-1.85/build/scripts/Makefile.modpost:17: *** Uh-oh, you have stale module entries. You messed with SUBDIRS, /lib/modules/2.6.2-1.85/build/scripts/Makefile.modpost:18: do not complain if something goes wrong. MODPOST CC /home/svu/CVS/ndiswrapper/driver/ndiswrapper.mod.o LD [M] /home/svu/CVS/ndiswrapper/driver/ndiswrapper.ko make[2]: Leaving directory `/lib/modules/2.6.2-1.85/build' make[1]: Leaving directory `/home/svu/CVS/ndiswrapper/driver' make -C utils DRV_VERSION=0.4+CVS make[1]: Entering directory `/home/svu/CVS/ndiswrapper/utils' cc -Wall -g -c -o loadndisdriver.o loadndisdriver.c gcc -o loadndisdriver loadndisdriver.o make[1]: Leaving directory `/home/svu/CVS/ndiswrapper/utils' |