LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-03-2008, 05:43 PM   #1
POW R TOC H
Member
 
Registered: Mar 2008
Location: Serbia
Distribution: Fedora
Posts: 37

Rep: Reputation: 15
VMWare problem (can't compile vmmon for my distro)


Hello,
I use Zenwalk 5.2 with 2.6.25.4 kernel. I have VMWare 6.0.3. I have followed the guide on Zen-wiki to the letter (this one).
vmware-config.pl fails to compile because of a wrong include in vcpuset.h (it includes bitops.h from /asm instead of /linux), so I fixed that by hand (after an hour or so of searching I found that, tried it, and it failed)
however, it still fails to compile, and gives me this :

Code:
Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config6/vmmon-only'
make -C /lib/modules/2.6.25.4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.25.4'
  CC [M]  /tmp/vmware-config6/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config6/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config6/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config6/vmmon-only/common/cpuid.o
In file included from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/asm/bitops.h:9:2: error: #error only <linux/bitops.h> can be included directly
In file included from include/asm/cpufeature.h:118,
                 from include/asm/alternative.h:42,
                 from include/asm/bitops.h:13,
                 from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/linux/bitops.h: In function 'get_bitmask_order':
include/linux/bitops.h:29: error: implicit declaration of function 'fls'
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:45: error: implicit declaration of function 'hweight32'
include/linux/bitops.h:45: error: implicit declaration of function 'hweight64'
include/linux/bitops.h: In function 'fls_long':
include/linux/bitops.h:112: error: implicit declaration of function 'fls64'
In file included from include/asm/bitops.h:316,
                 from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h: At top level:
include/asm/bitops_32.h:135: error: static declaration of 'fls' follows non-static declaration
include/linux/bitops.h:29: error: previous implicit declaration of 'fls' was here
In file included from include/asm/bitops_32.h:145,
                 from include/asm/bitops.h:316,
                 from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/asm-generic/bitops/hweight.h:6: error: conflicting types for 'hweight32'
include/linux/bitops.h:45: error: previous implicit declaration of 'hweight32' was here
include/asm-generic/bitops/hweight.h:9: error: conflicting types for 'hweight64'
include/linux/bitops.h:45: error: previous implicit declaration of 'hweight64' was here
In file included from include/asm/bitops_32.h:149,
                 from include/asm/bitops.h:316,
                 from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/asm-generic/bitops/fls64.h:7: error: static declaration of 'fls64' follows non-static declaration
include/linux/bitops.h:112: error: previous implicit declaration of 'fls64' was here
make[2]: *** [/tmp/vmware-config6/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config6/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.4'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config6/vmmon-only'
Unable to build the vmmon module.
Can you please help me install vmware?
 
Old 10-04-2008, 12:11 AM   #2
WorldIsNotFair
Member
 
Registered: Jun 2008
Location: Jakarta
Distribution: CentOS 5
Posts: 89

Rep: Reputation: 17
please read hxxp://jon.limedaley.com/plog/archives/2008/04/18/vmware-1.0.5-patch-for-2.6.25-kernel

give it a try ...
 
  


Reply

Tags
compile, vmmon, vmware



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
VMWare installation problem - vmmon module lonecrow Linux - Software 5 03-26-2009 11:57 AM
Problem with VMware server on OpenSUSE 10.2: building vmmon Intec Linux - Kernel 9 04-01-2007 08:41 AM
VMMON module error with vmware JET-33 Linux - Newbie 3 11-20-2006 04:47 PM
Trying to install VMWare Workstation on Suse 9. Needs to compile vmmon modules. PatSpencer SUSE / openSUSE 2 12-18-2004 07:07 PM
slackware 9 and vmware vmmon probs duister Slackware 4 07-31-2003 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:24 AM.

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