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

Re: package question



Manu wrote:
is it a 32 bit package or 64bits?
Anything special to this kernel ?


I am going to take a guess and say it is a 64 bit
package.



Do you think this cause the following problem when
trying to compile ndiswrapper?


# 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

I don't have any experience with 64 bit systems, but I would
say that you are possibly mixing 32 and 64 bit binaries (could
be the kernel and/or gcc and/or other user space libraries).
Someone else will need to provide you more info than I can.

-Roberto

--
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: