Where are linux-kernel-headers for 11.4?

I have to compile vmware against opensuse 11.4. However I need the linux-kernel-headers, which I don’t find on Yast.

Any help is much appreciated.

Ivan

Usually called kernel-devel, or if that is not sufficient, use kernel-source.

You should see this: SUSE 11.1 Install DKMS (View topic) • virtualbox.org

kernel-devel and kernel-sources are installed.

However, I encounter the following errors:


Mar 11 16:13:01.884: app-140070827775744| Log for VMware Workstation pid=8272 version=7.1.3 build=build-324285 option=Release
Mar 11 16:13:01.884: app-140070827775744| The process is 64-bit.
Mar 11 16:13:01.884: app-140070827775744| Host codepage=UTF-8 encoding=UTF-8
Mar 11 16:13:01.884: app-140070827775744| Logging to /tmp/vmware-root/setup-8272.log
Mar 11 16:13:01.949: app-140070827775744| System distribution is SuSE
Mar 11 16:13:01.949: app-140070827775744| System version is 11.4
Mar 11 16:13:01.949: app-140070827775744| modconf query interface initialized
Mar 11 16:13:01.949: app-140070827775744| modconf library initialized
Mar 11 16:13:01.980: app-140070827775744| Your GCC version: 4.5
Mar 11 16:13:01.986: app-140070827775744| Your GCC version: 4.5
Mar 11 16:13:01.997: app-140070827775744| Your GCC version: 4.5
Mar 11 16:13:02.008: app-140070827775744| Your GCC version: 4.5
Mar 11 16:13:02.017: app-140070827775744| Your GCC version: 4.5
Mar 11 16:13:02.050: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.052: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.054: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.055: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.057: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.079: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.082: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.084: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.085: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.087: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.092: app-140070827775744| Your GCC version: 4.5
Mar 11 16:13:02.105: app-140070827775744| Your GCC version: 4.5
Mar 11 16:13:02.138: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.142: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.143: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.145: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.147: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.152: app-140070827775744| Your GCC version: 4.5
Mar 11 16:13:02.165: app-140070827775744| Your GCC version: 4.5
Mar 11 16:13:02.211: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.213: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.214: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.216: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.218: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.539: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.
Mar 11 16:13:02.541: app-140070827775744| Building module vmmon.
Mar 11 16:13:02.554: app-140070827775744| Extracting the sources of the vmmon module.
Mar 11 16:13:02.618: app-140070827775744| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.37.1-1.2-desktop/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5
Mar 11 16:13:04.855: app-140070827775744| Failed to compile module vmmon!

You can read: http://communities.vmware.com/thread/293321 and http://www.linuxinsight.com/vmware-workstation-7.1.3-runs-great-on-linux-kernel-2.6.37.html
I think you should use VirtualBox instead of VMWare Workstation. It’s free really, very stable and lightweight. The installation is very easy. You must install DKMS only.

eulaersivan wrote:
> kernel-devel and kernel-sources are installed.
>
> However, I encounter the following errors:
>
> Mar 11 16:13:02.050: app-140070827775744| Trying to find a suitable PBM set for kernel 2.6.37.1-1.2-desktop.

AFAIK, that is not the current kernel for 11.4, which I believe is
2.6.37.3. I guess it’s the one on the DVD?

If so then perhaps you need to update the kernel first and then it may
correspond to the available sources?

But I’m just guessing, so please check my assertions :slight_smile:

You also need kernel-syms to compile software.

I’m having the same problem, and the “uname” command reports that “2.6.37.1-1.2-desktop” is the correct version of the running kernel. So, need to install kernel headers for the indicated version. Any help with where to find them?

Hi
There are no linux-kernel-headers anymore, it’s covered by linux-glibc-devel now.

I have “linux-glibc-devel” and “glibc-devel” currently installed. The installer for VMware Player is looking for the “kernel headers” for “2.6.37.1-1.2-desktop.” The installer is asking me to install them (which I presume is already done), or to specify the non-default path in which they are installed. The files of the two devel packages are installed in various directories. What is the specific file that the installer is looking for? Under 11.4, is it stored in a path that is “non-default,” and if so, where is it?

Thanks for the assistance.

which I presume is already done

Did you install the kernel-source and kernel-syms packages for the same kernel version that you are running?

No - I verified that the glibc-devel packages were installed. Searching for “kernel-source” and “kernel-syms” I find that they are not installed. Further, the version number of the -source and -syms packages I find are not identical to the running kernel version:

kernel version: 2.6.37.1-1.2
-source/-syms version: 2.6.37.1-1.2.2

So, 1) I should now also install “kernel-source” and “kernel-syms” packages, right?
and 2) are those version number differences significant?

Thank you.

Hi
Yes, those are correct, major numbers are the important part in your case 2.6.37.1

You have the same problem as other users have reported, i recommend you to read the following thread:
How to make VMplayer work on OpenSUSE 11.4

It solved my problem installing the modules for Vmware on 11.4 after i had the kernel-headers installed

Regards

Hi
I’m having the same problem.I installed VMPLAYER in my system.Its installed successfully.But when i start the application its asking for Kernel-Headers-2.6.37.1-1.2-desktop.How i solve this issue.

Did you follow the instruction in this thread?

idiot proof simple install x64 version of VMware Player 3.1.4 on OpenSuse 11.4 x64
probably works with x86 aswell. pls check and comment

this fixes problems with vmware complainig about:

gcc
kernel headers
“Cannot execute command ’ ‘’’’/usr/bin/vmware-modconfig’’’ --icon=’’‘vmware-player’’’ --appname=’’‘VMware’’’ --gcc=’’’/usr/bin/gcc’’’ --headers=’’’/lib/modules/2.6.37.1-1.2-desktop/build/include’’’ --gcc-ignore-minor ‘’. -blablabla”

download latest vmware bundle from vmware homepage, for example VMware-Player-3.1.4-385536.x86_64.bundle

install vmware player by:
terminal: (change the name of the bundle according to your version
sudo sh VMware-Player-3.1.4-385536.x86_64.bundle

choose yast -> software management: (if you have some of this installed, make sure you update to the latest version)
install latest gcc
install latest gcc45
install latest libgcc45
install latest libgcc45-32bit
install latest libgcj45
install latest kernel-devel
install latest kernel-syms

terminal:
sudo vmware-modconfig --console --install-all

now you may start vmware player

perfect, all works

no need to hassle with hacks tricks or tweaks.

CREDIT TO ME.

@Djarum123: Great, will try it tomorrow and report back.

If after reboot you still get some errors while trying to run a virtual machine, do this again:

terminal:
sudo vmware-modconfig --console --install-all

This should fix it permanently.

It did for me.

Version 3.1.4 in oS 11.4 64 bits installed nicely. Credit to you!