Compilation of vmhgfs module fails on amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-vm-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Using module assistant to compile modules on 64-bit Jaunty server beta with kernel version 2.6.28-11-server and open-vm-tools version 2008.11.
CC [M] /usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
make[5]: *** [/usr/src/
make[4]: *** [_module_
make[4]: Leaving directory `/usr/src/
make[3]: *** [vmhgfs.ko] Error 2
make[3]: Leaving directory `/usr/src/
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/src/
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/
make: *** [kdist_build] Error 2
Looks like this got fixed upstream...
http://<email address hidden>
description: | updated |
Changed in open-vm-tools (Ubuntu): | |
importance: | Undecided → Low |
Changed in open-vm-tools (Ubuntu): | |
status: | Incomplete → Fix Released |
The abovementioned patch does NOT fix this problem on a 32-bit guest I'm working on. This is with the same version of the module source package.
With that patch applied, I get the following:
CC [M] /usr/src/ modules/ open-vm/ modules/ linux/vmhgfs/ page.o modules/ open-vm/ modules/ linux/vmhgfs/ page.c: In function ‘HgfsDoWriteBegin’: modules/ open-vm/ modules/ linux/vmhgfs/ page.c: 763: warning: ISO C90 forbids mixed declarations and code modules/ open-vm/ modules/ linux/vmhgfs/ page.c: In function ‘HgfsWriteBegin’: modules/ open-vm/ modules/ linux/vmhgfs/ page.c: 867: error: implicit declaration of function ‘__grab_cache_page’ modules/ open-vm/ modules/ linux/vmhgfs/ page.c: 867: warning: assignment makes pointer from integer without a cast modules/ open-vm/ modules/ linux/vmhgfs/ page.o] Error 1 /usr/src/ modules/ open-vm/ modules/ linux/vmhgfs] Error 2 linux-headers- 2.6.28- 11-server'
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
make[5]: *** [/usr/src/
make[4]: *** [_module_
make[4]: Leaving directory `/usr/src/