Bug 444573 - VMWare Server modules will not build.
Summary: VMWare Server modules will not build.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-29 08:53 UTC by Rob Lazzurs
Modified: 2008-04-29 09:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-29 09:35:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rob Lazzurs 2008-04-29 08:53:35 UTC
Description of problem:

The vmware server modules will not build due to some conflicts in the kernel
headers.

Version-Release number of selected component (if applicable):

2.6.25-8.fc9.i686

How reproducible:

Every time

Steps to Reproduce:
1. Download VMWare 1.0.5
2. Install
3. Run vmware-config.pl
  
Actual results:

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.25-8.fc9.i686/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.25-8.fc9.i686'
  CC [M]  /tmp/vmware-config3/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config3/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config3/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/cpuid.o
In file included from /tmp/vmware-config3/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config3/vmmon-only/common/vmx86.h:19,
                 from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config3/vmmon-only/common/cpuid.c:15:
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-config3/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config3/vmmon-only/common/vmx86.h:19,
                 from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config3/vmmon-only/common/cpuid.c:15:
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-config3/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config3/vmmon-only/common/vmx86.h:19,
                 from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config3/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h: At top level:
include/asm/bitops_32.h:134: 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-config3/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config3/vmmon-only/common/vmx86.h:19,
                 from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config3/vmmon-only/common/cpuid.c:15:
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-config3/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config3/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config3/vmmon-only/common/vmx86.h:19,
                 from /tmp/vmware-config3/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config3/vmmon-only/common/cpuid.c:15:
include/asm-generic/bitops/fls64.h:6: 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-config3/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.25-8.fc9.i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.

Expected results:

Successful module build

Additional info:


Note You need to log in before you can comment on or make changes to this bug.