[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ndiswrapper and kernel source



I have it installed but it gives me some warnings that
the kernel source are not configured...

Also now I tried again and I have a different error:


# build and install the module
/usr/bin/make KPKG_EXTRAV_ARG= KSRC=/usr/src/linux \
KVER=2.6.10-9-amd64-k8 \
INST_DIR=debian/ndiswrapper-modules-2.6.10-9-amd64-k8/lib/modules/2.6.10-9-amd64-k8/misc/
install
make[1]: Entering directory
`/usr/src/modules/ndiswrapper'
/usr/bin/make -C /usr/src/linux
SUBDIRS=/usr/src/modules/ndiswrapper \
        NDISWRAPPER_VERSION=1.0rc2 \
	        EXTRA_VERSION= modules
		make[2]: Entering directory
`/usr/src/kernel-headers-2.6.10-9-amd64-k8'
		  CC [M]  /usr/src/modules/ndiswrapper/hal.o
		  cc1: error: code model `kernel' not supported in
the 32 bit mode
		  make[3]: *** [/usr/src/modules/ndiswrapper/hal.o]
Error 1
		  make[2]: ***
[_module_/usr/src/modules/ndiswrapper] Error 2
		  make[2]: Leaving directory
`/usr/src/kernel-headers-2.6.10-9-amd64-k8'
		  make[1]: *** [default] Error 2
		  make[1]: Leaving directory
`/usr/src/modules/ndiswrapper'
		  make: *** [binary-modules] Error 2

Any idea?

This is the last piece I need to configure on my
laptop but it is really frustrating!

Thanks

Manu
--- Greg Folkert <greg@gregfolkert.net> wrote:
> On Sat, 2005-03-19 at 21:51 -0800, Manu wrote:
> > Hi
> > 
> > I need to use the ndiswrapper for my broadcom WIFI
> > card 
> > The kernel I have does not have the ndiswrapper
> module
> > compiled... So I am trying to do it right now. but
> I
> > am having some problems compiling the
> > ndiswrapper-source  package. 
> > I am using the kernel-image-2.6.10-9-amd64-k8.
> > 1) I have downloaded the 2 packages
> > kernel-source-2.6.10 and kernel-headers-2.6.10-9 
> > 2) I have bunzip2 and untar both of them
> > 3)I made a link /usr/src/linux to point to the
> > kernel-source-2.6.10
> > I tried to compile using /debian/rules
> binary-modules
> > it complains that it cannot find the kernel-source
> ..
> >  what am I missing? How come it does not find the
> > kernel source?
> 
> Install this package:  module-assistant
> 
> Once installed  (use: apt-get install
> module-assistant)
> 
> Start it and follow directions. All should be well.
> -- 
> greg, greg@gregfolkert.net
> 
> The technology that is
> Stronger, better, faster:  Linux
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Reply to: