LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-25-2007, 05:08 PM   #1
tonyrs
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
version.h problem trying to install VMtools into SUSE 10.3 as VMware guest


Hello. I've searched the threads for an answer to my problem, and have found similar issues but not this exact one.

I'm running openSUSE 10.3 as a guest VM under VMware 5.5.1. I'm trying to install VMtools to the openSUSE guest VM. While working through various errors, I've successfully installed the kernel source, GCC, C++, and Make.

I'm stuck where the VMtools install script kicks off vmware-config-tools.pl, which tries to build the vmhgfs module. I'm stuck at the script error:
"The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.22.5-31-default). Even if the kernel were to compile successfully, it would not load into the running kernel"

A workaround was described at opensuse.org specifying that the default header directory does not contain utsrelease.h, and that the path "/usr/src/linux-obj/i386/<version name>/include/linux" should be used instead. (in my case, that translates to "/usr/src/linux-obj/i386/default/include/linux/").

I've tried passing both "/usr/src/linux-obj/i386/default/include/linux/" and "/usr/src/linux-obj/i386/default/include/" to the script, and I get the same error as above. Note that that directory contains both utsrelease.h and version.h on my system, but only utsrelease.h contains the version information.

I've tried adding the version information from utsrelease.h into version.h, but vi complains that it cannot write to a linked file.

Additional information:

>uname -r
2.6.22.5-default

>cat version.h
#define LINUX_VERSION_CODE 132630
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

>cat utsrelease.h
#define UTS_RELEASE "2.6.22.5-31-default"

Any thoughts on how to proceed?

Thanks,
TonyRS

P.S.

As an aside, I also cannot get cut-n-paste working from the guest to the host, and I don't think VMtools is required for this. Any thoughts there?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install guest OS on vmware robsr6 Fedora 1 04-02-2007 12:35 PM
Kernel version problem reconfiguring VMware for Suse 10 pearman SUSE / openSUSE 4 02-19-2007 01:23 PM
Vmware XP host SUSE 10.1 guest - installation p_munyard General 0 01-23-2007 04:03 PM
VMware 5.5 WS with Suse 9.3 guest OS help. mediocrity Linux - General 0 05-02-2006 07:11 AM
vmware - suse - vmtools for graphic Ingo73 Linux - Software 2 07-21-2004 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration