- Joined
- Sep 26, 2002
- Location
- Indianapolis, IN
i've been having problems installing vmware-server on my ~amd64 system.
i just run emerge vmware-server and vmware-modules fails to compile. my system is up to date as i just updated my system prior to attempting this install of vmware.
it fails with:
The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux
here is the complete log:
also here is the output of emerge --info
could it have something to do with using gcc 4.3.1?
i am going to try to compile from source from vmware's website to see if i can do it that way. i've always seemed to have problems trying to install vmware-server on gentoo...
i just run emerge vmware-server and vmware-modules fails to compile. my system is up to date as i just updated my system prior to attempting this install of vmware.
it fails with:
The die message:
* Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux
here is the complete log:
Code:
[32;01m*[0m Determining the location of the kernel source code
[32;01m*[0m Found kernel source directory:
[32;01m*[0m /usr/src/linux
[32;01m*[0m Found sources for kernel version:
[32;01m*[0m 2.6.26-gentoo-mbb-v3
>>> Unpacking source...
>>> Unpacking vmware-any-any-update115.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
>>> Unpacking ./vmware-any-any-update115/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
[32;01m*[0m Applying various patches (bugfixes/updates) ...
[32;01m*[0m 000_all_makefile-include-directory.patch ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m 020_all_epoll-def-warnings.patch ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Done with patching
[32;01m*[0m Applying various patches (bugfixes/updates) ...
[32;01m*[0m 030_all_fix-linux-headers.patch ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m 035_all_kernel-2.6.25.patch ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Done with patching
[32;01m*[0m Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
>>> Unpacking ./vmware-any-any-update115/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
[32;01m*[0m Applying various patches (bugfixes/updates) ...
[32;01m*[0m 000_all_makefile-include-directory.patch ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m 020_all_epoll-def-warnings.patch ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Done with patching
[32;01m*[0m Applying various patches (bugfixes/updates) ...
[32;01m*[0m 021_all_wireless_fix.patch ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m 025_all_kernel-2.6.25.patch ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Done with patching
[32;01m*[0m Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...
[A[171C [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work ...
[32;01m*[0m Preparing vmmon module
Using 2.6.x kernel build system.
make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.26-gentoo'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:171: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:175: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26-gentoo'
make: *** [vmmon.ko] Error 2
[31;01m*[0m ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called src_compile
[31;01m*[0m environment, line 3262: Called linux-mod_src_compile
[31;01m*[0m environment, line 2472: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CC=\"$(get-KERNEL_CC)\" LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
[31;01m*[0m The die message:
[31;01m*[0m Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/environment'.
also here is the output of emerge --info
Code:
Portage 2.2_rc6 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-mbb-v3 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-mbb-v3-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Sat, 02 Aug 2008 17:06:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python: 2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.5
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.62-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.4
virtual/os-headers: 2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://celery/mirror/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://celery/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups dbus divx dri dvd fortran gdbm gnome gpm gtk hal iconv imap ipv6 isdnlog java libnotify lm_sensors midi mmx mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python readline reflection session smp spell spl sse sse2 ssl sysfs tcpd unicode xine xinerama xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
could it have something to do with using gcc 4.3.1?
i am going to try to compile from source from vmware's website to see if i can do it that way. i've always seemed to have problems trying to install vmware-server on gentoo...
Last edited: