Den 26-08-2010 01:51, Carlos E. R. skrev:
On 2010-08-25 16:01, Philipp Thomas wrote:
* Ken Schneider - openSUSE () [20100825 13:52]:
As root
cd /usr/src/linux make cloneconfig make prepare
Should resolve the problem.
WRONG! Folks, please do read /usr/share/doc/packages/kernel-source/README.SUSE, it's there for a reason. If you are using one of kernels as provided by the distribution (i.e. like kernel-default), everything you need is already present in /usr/src/linux-obj/$ARCH/$FLAVOR.
which reads:
]> BUILDING ADDITIONAL (EXTERNAL) MODULES
...
]> The first method involves the following steps: ]> ]> (1) Install kernel-source.$ARCH.rpm. ]> ]> (2) Configure the kernel, see HOW TO CONFIGURE THE KERNEL SOURCES. ]> ]> (3) Create files required for compiling external modules: ]> ``make scripts'' and ``make prepare''.
:-)
Thank you to all in this discussion! My kernel is: 2.6.34-12-desktop To sum things up, I'm giving up VMware and are going for VirtualBox. VMware-config says: The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.34-12-desktop) I followed all hints, tips and tricks given in this discussion - all to no avail :-( This is the contents of /usr/src: lrwxrwxrwx 1 root root 15 25 aug 12:04 linux -> linux-2.6.34-12/ drwxr-xr-x 25 root root 4096 26 aug 09:09 linux-2.6.34-12/ drwxr-xr-x 3 root root 4096 25 aug 22:22 linux-2.6.34-12-obj/ drwxr-xr-x 3 root root 4096 25 aug 22:22 linux-obj/ drwxr-xr-x 8 root root 4096 6 jul 07:39 packages/ while this is the (part of) contents of /usr/src/linux: ---- drwxr-xr-x 36 root root 4096 25 aug 22:24 firmware/ drwxr-xr-x 74 root root 4096 25 aug 22:24 fs/ drwxr-xr-x 22 root root 4096 25 aug 22:19 include/ drwxr-xr-x 2 root root 4096 25 aug 22:24 init/ drwxr-xr-x 2 root root 4096 25 aug 22:24 ipc/ and this is the contents (part of) of include from above: --------- -rw-r--r-- 1 root root 253 16 maj 23:17 Kbuild drwxr-xr-x 2 root root 4096 25 aug 22:19 keys/ drwxr-xr-x 34 root root 36864 26 aug 09:09 linux/ drwxr-xr-x 2 root root 4096 25 aug 22:19 math-emu/ --------- and this is then the contents (part of) of linux from above: --------- drwxr-xr-x 2 root root 4096 25 aug 22:19 uwb/ -rw-r--r-- 1 root root 25804 16 maj 23:17 uwb.h -rw-r--r-- 1 root root 955 5 jul 14:33 vermagic.h -rw-r--r-- 1 root root 97 25 aug 15:42 version.h -rw-r--r-- 1 root root 161 16 maj 23:17 veth.h --------- and this is the contents of version.h from above: #define LINUX_VERSION_CODE 132642 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) I guess it's not rocked science to get working - but for VMware it certainly is a shame. Why on earth can such knowledgeable people (The VMware people that is) not GET THIS THING RIGHT? Enough rant. Thanks againg to everyone! Best regards Verner -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org