Gentoo Archives: gentoo-user

From: Nick Khamis <symack@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] error compiling virtual box
Date: Sat, 05 Sep 2009 12:09:24
Message-Id: 46d08bd30909050509m5742da51wdaedc6d5bdf8b21d@mail.gmail.com
In Reply to: Re: [gentoo-user] error compiling virtual box by Alan McKinnon
1 Hey Everyone,
2
3 This is the error I am experiening when trying to build vmware-server:
4
5 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:
6 In function 'LinuxDriver_Open':
7 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:579:
8 error: 'struct task_struct' has no member named 'euid'
9 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:
10 In function '__LinuxDriver_Ioctl':
11 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1530:
12 error: 'struct task_struct' has no member named 'suid'
13 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1531:
14 error: 'struct task_struct' has no member named 'cap_permitted'
15 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1796:
16 error: 'struct task_struct' has no member named 'euid'
17 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1796:
18 error: 'struct task_struct' has no member named 'uid'
19 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1797:
20 error: 'struct task_struct' has no member named 'fsuid'
21 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1797:
22 error: 'struct task_struct' has no member named 'uid'
23 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1798:
24 error: 'struct task_struct' has no member named 'egid'
25 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1798:
26 error: 'struct task_struct' has no member named 'gid'
27 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1799:
28 error: 'struct task_struct' has no member named 'fsgid'
29 /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1799:
30 error: 'struct task_struct' has no member named 'gid'
31 make[3]: ***
32 [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o]
33 Error 1
34 make[2]: ***
35 [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only]
36 Error 2
37 make[1]: *** [sub-make] Error 2
38 make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r5'
39 make: *** [vmmon.ko] Error 2
40 *
41 * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed.
42 * Call stack:
43 * ebuild.sh, line 49: Called src_compile
44 * environment, line 3723: Called
45 linux-mod_src_compile
46 * environment, line 2841: Called die
47 * The specific snippet of code:
48 * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"
49 CROSS_COMPILE=${CHOST}-
50 LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES}
51 ${BUILD_PARAMS} ${BUILD_TARGETS}
52 " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}-
53 LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS}
54 ${BUILD_TARGETS}";
55 * The die message:
56 * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc
57 CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_S1B1
58 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.30-gentoo-r5/build
59 *
60 * If you need support, post the topmost build error, and the
61 call stack if relevant.
62 * A complete build log is located at
63 '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/build.log'.
64 * The ebuild environment file is located at
65 '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/environment'.
66 *
67
68
69 Your Help Is Greatly Apprecited,
70
71 Reagrds,
72 Ninus