http://bugzilla.novell.com/show_bug.cgi?id=527101
User jkotze@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527101#c7
--- Comment #7 from Johan Kotze 2009-10-21 05:22:20 MDT ---
I have tried VMWare Workstation 6.5.3 on openSuSE 11.2 RC1 and it still
complains about the incorrect kernel headers. I applied a patch for kernel
2.6.31 from the VMWare forums, but it still fails.
below is the output from the patch.
sh rt.sh
Found backup /usr/lib/vmware/modules/source/vmblock.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vmblock.tar
Unpacking /usr/lib/vmware/modules/source/vmblock-only
Found backup /usr/lib/vmware/modules/source/vmci.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vmci.tar
Unpacking /usr/lib/vmware/modules/source/vmci-only
Found backup /usr/lib/vmware/modules/source/vmmon.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vmmon.tar
Unpacking /usr/lib/vmware/modules/source/vmmon-only
Found backup /usr/lib/vmware/modules/source/vmnet.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vmnet.tar
Unpacking /usr/lib/vmware/modules/source/vmnet-only
Found backup /usr/lib/vmware/modules/source/vsock.tar.backup-6.5.3
Restoring it to /usr/lib/vmware/modules/source/vsock.tar
Unpacking /usr/lib/vmware/modules/source/vsock-only
Testing patch
patching file vmci-only/linux/driver.c
patching file vmnet-only/driver.c
patching file vmnet-only/filter.c
patching file vsock-only/linux/af_vsock.c
Applying patch!
patching file vmci-only/linux/driver.c
patching file vmnet-only/driver.c
patching file vmnet-only/filter.c
patching file vsock-only/linux/af_vsock.c
Repacking vmblock-only
Repacking vmci-only
Repacking vmmon-only
Repacking vmnet-only
Repacking vsock-only
Testing compilation of vmblock module to see if it works
Using standalone build system.
/autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or
directory
make: Entering directory `/usr/lib/vmware/modules/source/vmblock-only'
././autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or
directory
make[1]: Entering directory
`/usr/lib/vmware/modules/source/vmblock-only/driver-2.6.31.3-1-desktop'
Dependencies for .././linux/module.c
In file included from .././include/compat_version.h:35,
from .././include/driver-config.h:36,
from .././linux/module.c:26:
/usr/include/linux/version.h:2:2: error: #error
"======================================================="
/usr/include/linux/version.h:3:2: error: #error "You should not include
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: error: #error "files directly for the
compilation of kernel modules."
/usr/include/linux/version.h:5:2: error: #error ""
/usr/include/linux/version.h:6:2: error: #error "glibc now uses kernel header
files from a well-defined"
/usr/include/linux/version.h:7:2: error: #error "working kernel version (as
recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: error: #error "These files are glibc internal
and may not match the"
/usr/include/linux/version.h:9:2: error: #error "currently running kernel. They
should only be"
/usr/include/linux/version.h:10:2: error: #error "included via other system
header files - user space"
/usr/include/linux/version.h:11:2: error: #error "programs should not directly
include or"
/usr/include/linux/version.h:12:2: error: #error " as well."
/usr/include/linux/version.h:13:2: error: #error ""
/usr/include/linux/version.h:14:2: error: #error "To build kernel modules
please do the following:"
/usr/include/linux/version.h:15:2: error: #error ""
/usr/include/linux/version.h:16:2: error: #error " o Have the kernel sources
installed"
/usr/include/linux/version.h:17:2: error: #error ""
/usr/include/linux/version.h:18:2: error: #error " o Make sure that the
symbolic link"
/usr/include/linux/version.h:19:2: error: #error " /lib/modules/`uname
-r`/build exists and points to"
/usr/include/linux/version.h:20:2: error: #error " the matching kernel source
directory"
/usr/include/linux/version.h:21:2: error: #error ""
/usr/include/linux/version.h:22:2: error: #error " o When compiling, make sure
to use the following"
/usr/include/linux/version.h:23:2: error: #error " compiler option to use the
correct include files:"
/usr/include/linux/version.h:24:2: error: #error ""
/usr/include/linux/version.h:25:2: error: #error " -I/lib/modules/`uname
-r`/build/include"
/usr/include/linux/version.h:26:2: error: #error ""
/usr/include/linux/version.h:27:2: error: #error " instead of"
/usr/include/linux/version.h:28:2: error: #error ""
/usr/include/linux/version.h:29:2: error: #error " -I/usr/include/linux"
/usr/include/linux/version.h:30:2: error: #error ""
/usr/include/linux/version.h:31:2: error: #error " Please adjust the Makefile
accordingly."
/usr/include/linux/version.h:32:2: error: #error
"======================================================="
In file included from .././linux/module.c:26:
././include/driver-config.h:42:5: error: #error "No Module support in this
kernel. Please configure with CONFIG_MODULES"
make[1]: *** [module.d] Error 1
make[1]: Leaving directory
`/usr/lib/vmware/modules/source/vmblock-only/driver-2.6.31.3-1-desktop'
make: *** [deps] Error 2
make: Leaving directory `/usr/lib/vmware/modules/source/vmblock-only'
Sorry, problem compiling the vmblock module after it was patched.
Please check that Linux kernel version 2.6.31.3-1-desktop is supported.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.