Re: [CentOS] CentOS 4 dkms-ndiswrapper

2009-04-17 Thread Nicolas Thierry-Mieg


Agile Aspect wrote:
> 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!
> 

I don't know about your errors, but dkms isn't supposed to be used that 
way (make).
Instead you use dkms add, dkms build, and dkms install commands.
The rpm should do these for you, but you can always use the commands 
yourself to see what's going on.
dkms status is also useful.
man dkms will tell you all.

Not to say that this will solve your build problems, but...

Also, try the rpmforge list as this is an rpmforge rpm.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 4 dkms-ndiswrapper

2009-04-16 Thread Agile Aspect
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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos