[CentOS] CentOS 4 dkms-ndiswrapper

Fri Apr 17 01:14:35 UTC 2009
Agile Aspect <agile.aspect at gmail.com>

Hi - I'm trying to get wireless running on CentOS 4.7 on a dual core laptop
(latitude-e4500) for an employee.

I'm having trouble with building dkms-ndiswraper-1.54-1.el4.rf -
enclosed are the
errors messages.

The kernel was rebuilt to disable CONFIG_4KSTACKS.

The errors prior to rebuilding the kernel are identical to the errors after
rebuilding the kernel and rebooting - minus the error regarding the
CONFIG_4KSTACKS.

Basically I just typed

      make

in the directory.

I'm using dkms this time - I've never used it before. I'm under the impression
that all I had to do was type 'make' in the directory in the ndiswrapper
directory.

Any help would be greatly appreciated!

-- Agile

make -C /home/praveen/rpmbuild/BUILD/kernel-2.6.9/linux-2.6.9 M=/usr/src/ndiswra
pper-1.54-1.el4.rf
make[1]: Entering directory `/home/praveen/rpmbuild/BUILD/kernel-2.6.9/linux-2.6
.9'
  MKEXPORT /usr/src/ndiswrapper-1.54-1.el4.rf/crt_exports.h
  CC [M]  /usr/src/ndiswrapper-1.54-1.el4.rf/crt.o
In file included from /usr/src/ndiswrapper-1.54-1.el4.rf/crt.c:16:
/usr/src/ndiswrapper-1.54-1.el4.rf/ntoskernel.h:289:1: warning: "for_each_possib
le_cpu" redefined
In file included from include/linux/sched.h:15,
                 from include/linux/module.h:10,
                 from /usr/src/ndiswrapper-1.54-1.el4.rf/ntoskernel.h:22,
                 from /usr/src/ndiswrapper-1.54-1.el4.rf/crt.c:16:
include/linux/cpumask.h:374:1: warning: this is the location of the previous def
inition
In file included from /usr/src/ndiswrapper-1.54-1.el4.rf/crt.c:16:
/usr/src/ndiswrapper-1.54-1.el4.rf/ntoskernel.h:649: error: field `lock' has inc
omplete type
/usr/src/ndiswrapper-1.54-1.el4.rf/ntoskernel.h: In function `raise_irql':
/usr/src/ndiswrapper-1.54-1.el4.rf/ntoskernel.h:686: warning: implicit declarati
on of function `mutex_lock'
/usr/src/ndiswrapper-1.54-1.el4.rf/ntoskernel.h: In function `lower_irql':
/usr/src/ndiswrapper-1.54-1.el4.rf/ntoskernel.h:708: warning: implicit
declaration of function `mutex_unlock'make[2]: ***
[/usr/src/ndiswrapper-1.54-1.el4.rf/crt.o] Error 1
make[1]: *** [_module_/usr/src/ndiswrapper-1.54-1.el4.rf] Error 2
make[1]: Leaving directory
`/home/praveen/rpmbuild/BUILD/kernel-2.6.9/linux-2.6.9'
make: *** [modules] Error 2


-- 
     "We are drowning in information and starving for knowledge."

                                                          --
Rutherford D. Roger