#120 kernel modules 20110821.471295 fail to compile

open
nobody
5
2011-12-08
2011-12-08
No

There seems to be an issue with linux kernel 3.0.4 with grsec patches.
Compilation against these kernel sources invariantly fails with an error (also tried with older module versions against same kernel version):

/var/tmp/portage/app-emulation/open-vm-tools-kmod-0.0.20110821.471295/work/open-vm-tools-2011.08.21-471295/modules/linux/vmci/linux/driver.c:388:4: error: assignment of read-only variable ‘vmuser_fops’
/var/tmp/portage/app-emulation/open-vm-tools-kmod-0.0.20110821.471295/work/open-vm-tools-2011.08.21-471295/modules/linux/vmci/linux/driver.c:389:4: error: assignment of read-only variable ‘vmuser_fops’
/var/tmp/portage/app-emulation/open-vm-tools-kmod-0.0.20110821.471295/work/open-vm-tools-2011.08.21-471295/modules/linux/vmci/linux/driver.c:391:4: error: assignment of read-only variable ‘vmuser_fops’
/var/tmp/portage/app-emulation/open-vm-tools-kmod-0.0.20110821.471295/work/open-vm-tools-2011.08.21-471295/modules/linux/vmci/linux/driver.c:396:4: error: assignment of read-only variable ‘vmuser_fops’
/var/tmp/portage/app-emulation/open-vm-tools-kmod-0.0.20110821.471295/work/open-vm-tools-2011.08.21-471295/modules/linux/vmci/linux/driver.c:398:4: error: assignment of read-only variable ‘vmuser_fops’
/var/tmp/portage/app-emulation/open-vm-tools-kmod-0.0.20110821.471295/work/open-vm-tools-2011.08.21-471295/modules/linux/vmci/linux/driver.c:399:4: error: assignment of read-only variable ‘vmuser_fops’
make[4]: *** [/var/tmp/portage/app-emulation/open-vm-tools-kmod-0.0.20110821.471295/work/open-vm-tools-2011.08.21-471295/modules/linux/vmci/linux/driver.o] Error 1
make[3]: *** [_module_/var/tmp/portage/app-emulation/open-vm-tools-kmod-0.0.20110821.471295/work/open-vm-tools-2011.08.21-471295/modules/linux/vmci] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/lib/mps/kernelbuild/vmware64'
make: *** [vmci.ko] Error 2

Several reports, complete build outputs and a patch is available in gentoo bugzilla @ https://bugs.gentoo.org/show_bug.cgi?id=386721

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks