Gentoo Archives: gentoo-user

From: Peter Ruskin <peter.ruskin@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
Date: Tue, 30 Dec 2008 01:18:00
Message-Id: 200812300117.34957.peter.ruskin@dsl.pipex.com
In Reply to: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem by Pongracz Istvan
1 On Monday 29 December 2008, Pongracz Istvan wrote:
2 > I tried to compile vmware-server-1.0.8.126538 with
3 > vmware-modules-1.0.0.15-r1 but compiling vmmon failed.
4 >
5 > I got this error message:
6 > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
7 >mon-only/./include/compat_semaphore.h:5:27: error:
8 > asm/semaphore.h: File or directory not found
9 > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
10 >mon-only/linux/driver.c:171: error: unknown field ‘nopage’
11 > specified in initializer
12 > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
13 >mon-only/linux/driver.c:172: warning: initialization from
14 > incompatible pointer type
15 > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
16 >mon-only/linux/driver.c:175: error: unknown field ‘nopage’
17 > specified in initializer
18 > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
19 >mon-only/linux/driver.c:176: warning: initialization from
20 > incompatible pointer type
21 > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
22 >mon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’:
23 > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
24 >mon-only/linux/driver.c:1781: error: too many arguments to
25 > function ‘smp_call_function’ make[3]: ***
26 > [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/v
27 >mmon-only/linux/driver.o] Error 1 make[2]: ***
28 > [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r
29 >1/work/vmmon-only] Error 2 make[1]: *** [sub-make] Error 2
30 > make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo'
31 > make: *** [vmmon.ko] Error 2
32 >
33 >
34 > I tried with gcc 3.4.6, 4.2.4, 4.3.2, all of them failed.
35 > I guess, this problem related to the kernel.
36 >
37 > Is that possible to use vmware-server with the latest kernel?
38 >
39 I wish I knew the answer to this too. I haven't managed to get
40 vmware-server working with any kernel after the 2.6.25
41 gentoo-sources, with or without the vmware overlay.
42
43 --
44 Peter
45 ========================================================================
46 Gentoo Linux: Portage 2.2_rc20 kernel-2.6.25-gentoo-r6
47 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ gcc(GCC): 4.1.2
48 KDE: 3.5.9 Qt: 3.3.8
49 ========================================================================