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

vmware-modules on AMD64



Hi

I have a big Problem I cannot resolve. I use vmware from

deb http://www.fbriere.net/debian/dists/testing vmware/

System is sarge with kernel-image 2.6.8-11 (-amd64-k8), the right
kernel-headers are installed.

There is also gcc-3.4 (which was used to compile the kernel) and symlink from /usr/bin/gcc.

I get the following error:

  CC [M]  /usr/src/modules/vmware/vmmon-only/linux/driver.o
/usr/src/modules/vmware/vmmon-only/linux/driver.c:1: error: code model
`kernel' not supported in the 32 bit mode

vmware-any-any-patches tries, no success.

Any suggestions out there? Can't I compile modules for this kernel on official sarge snapshot? Has anybody module packages oder modules for me?

Thanks

Greetings

Markus

indik:/usr/src/modules/vmware# LC_ALL=C debian/rules binary-modules
KSRC=/usr/src/kernel-headers-2.6.8-10-amd64-k8/
export DH_OPTIONS='-pvmware-modules-2.6.8-10-amd64-k8'
# Is this needed for setting up a Depends?
#echo "kpkg:Package-Version=4.5.2-8848-0fbriere.3+2.6.8-10-amd64-k8" \
#        >> debian/vmware.substvars
echo "kpkg:Kernel-Version=2.6.8-10-amd64-k8" > \
        debian/vmware-modules-2.6.8-10-amd64-k8.substvars
# The substvars mechanism seems slightly broken, hack to get around it
# stolen from the qce-ga package. Yaaaa!
rm -f debian/control
sed -e 's/${kpkg\:Kernel\-Version}/2.6.8-10-amd64-k8/' \
debian/control.in > debian/control
dh_testdir
dh_testroot
dh_clean -k
# Build the module
/usr/bin/make KSRC=/usr/src/kernel-headers-2.6.8-10-amd64-k8/
KVERS=2.6.8-10-amd64-k8
make[1]: Entering directory `/usr/src/modules/vmware'
rm -rf *.o *.ko
/usr/bin/make VM_UNAME=2.6.8-10-amd64-k8
HEADER_DIR=/usr/src/kernel-headers-2.6.8-10-amd64-k8//include -C
vmmon-only auto-build
Unable to find VMware installation database. Using 'vmware'.
Building for VMware Workstation 4.5.2 or VMware GSX Server 3.1.0.
Using 2.6.x kernel build system.
make[2]: Entering directory `/usr/src/modules/vmware/vmmon-only'
make -C /usr/src/kernel-headers-2.6.8-10-amd64-k8//include/..
SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[3]: Entering directory `/usr/src/kernel-headers-2.6.8-10-amd64-k8'
  CC [M]  /usr/src/modules/vmware/vmmon-only/linux/driver.o
/usr/src/modules/vmware/vmmon-only/linux/driver.c:1: error: code model
`kernel' not supported in the 32 bit mode
make[4]: *** [/usr/src/modules/vmware/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/usr/src/modules/vmware/vmmon-only] Error 2
make[3]: Leaving directory `/usr/src/kernel-headers-2.6.8-10-amd64-k8'
make[2]: *** [vmmon.ko] Error 2
make[2]: Leaving directory `/usr/src/modules/vmware/vmmon-only'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/vmware'
make: *** [binary-modules] Error 2
indik:/usr/src/modules/vmware#



Reply to: