View previous topic :: View next topic |
Author |
Message |
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Thu Jun 21, 2007 8:03 pm Post subject: WMWare will not compile (kinda fixed) |
|
|
Code: |
hs-amarthaler amarthaler # emerge -va vmware-workstation
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] app-emulation/vmware-modules-1.0.0.15-r1 0 kB
[ebuild N ] app-emulation/vmware-workstation-5.5.4.44386 108,927 kB
Total: 2 packages (2 new), Size of downloads: 108,927 kB
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 2) app-emulation/vmware-modules-1.0.0.15-r1 to /
* vmware-any-any-update109.tar.gz MD5 ;-) ... [ ok ]
* vmware-any-any-update109.tar.gz RMD160 ;-) ... [ ok ]
* vmware-any-any-update109.tar.gz SHA1 ;-) ... [ ok ]
* vmware-any-any-update109.tar.gz SHA256 ;-) ... [ ok ]
* vmware-any-any-update109.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking vmware-any-any-update109.tar.gz ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.22-rc3/build
* Found sources for kernel version:
* 2.6.22-rc3
>>> Unpacking source...
>>> Unpacking vmware-any-any-update109.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
>>> Unpacking ./vmware-any-any-update109/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
* Applying various patches (bugfixes/updates) ...
* 000_all_makefile-include-directory.patch ... [ ok ]
* 020_all_epoll-def-warnings.patch ... [ ok ]
* Done with patching
* Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ... [ ok ]
>>> Unpacking ./vmware-any-any-update109/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
* Applying various patches (bugfixes/updates) ...
* 000_all_makefile-include-directory.patch ... [ ok ]
* 020_all_epoll-def-warnings.patch ... [ ok ]
* Done with patching
* Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work ...
* 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.22-rc3'
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/hostif.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/cpuid.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/hash.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/memtrack.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/phystrack.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h: In function 'void Task_Switch_V45(VMDriver*, Vcpuid)':
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h:1713: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h:1713: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h:1713: warning: 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this function
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h:1713: warning: 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this function
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/vmx86.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmcore/compat.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmcore/moduleloop.o
LD [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmmon.mod.o
LD [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.22-rc3'
cp -f vmmon.ko ./../vmmon.o
* Preparing vmnet 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.22-rc3'
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/driver.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/hub.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.c: In function 'VNetCopyDatagramToUser':
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.c:633: error: 'const struct sk_buff' has no member named 'h'
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.c:633: error: 'const struct sk_buff' has no member named 'nh'
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.c:639: error: 'const struct sk_buff' has no member named 'h'
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-rc3'
make: *** [vmnet.ko] Error 2
!!! ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
Call stack:
ebuild.sh, line 1629: Called dyn_compile
ebuild.sh, line 975: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1314: Called linux-mod_src_compile
linux-mod.eclass, line 516: Called die
!!! Unable to make auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.22-rc3/build.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/build.log'.
|
Code: |
hs-amarthaler amarthaler # emerge --info
Portage 2.1.3_rc4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.22-rc3 x86_64)
=================================================================
System uname: 2.6.22-rc3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 18 Jun 2007 01:47:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl aim alsa amd64 apache2 bashlogger berkdb bitmap-fonts bzip2 cddb cli cracklib crypt cups curl dedicated divx dri dvd dvdnav dvdr fat ffmpeg firefox fortran ftp gdbm gif gimp gimpprint gpm gtk gzip iconv icq ieee1394 ipv6 isdnlog jabber java javascript joystick jpeg kerberos ldap libg++ lm_sensors mad md5sum midi mmx mp2 mp3 mp4 mpeg mpeg2 mplayer msn mudflap ncurses nls nptl nptlonly nsplugin ntfs ogg openmp oscar pam pcre pdf perl png pppd python qt4 quicktime rar readline reflection reiserfs server session spell spl sse sse2 ssl subtitles tcpd tiff truetype truetype-fonts type1-fonts unicode usb wav wavpack wifi wma wmp xine xml xorg xscreensaver xv xvid yahoo zip 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
_________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim
Last edited by Bigun on Fri Jun 22, 2007 12:45 am; edited 1 time in total |
|
Back to top |
|
|
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Thu Jun 21, 2007 8:09 pm Post subject: |
|
|
file a bug at bugs.gentoo.org and attach /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/build.log to it. |
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Fri Jun 22, 2007 12:45 am Post subject: |
|
|
Degrading the kernel to 2.6.21.5 seems to have fixed this issue. _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Mon Jun 25, 2007 7:52 pm Post subject: |
|
|
will compile on a 2.6.22 kernel as well if you use the vmware-any-any-update110 instead of the 109 version. Also a slight modification may be necessary to your page.h ... see my post at http://www.vmware.com/community/thread.jspa?messageID=677688 _________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
graham2400 n00b
Joined: 15 Oct 2005 Posts: 5 Location: UK
|
Posted: Sat Jul 14, 2007 12:22 pm Post subject: vmware on 2.6.22.1 |
|
|
Hi -
I've upgraded my kernel to 2.6.22.1 - as vmware was crashing the system on a 2.6.18 kernel (skbuff bug, fixed in 2.6.22.1).
After running the any-any-update-110, vmware-config.pl gives no errors, but fails to load vmnet. Copying vmnet.tar for the 110 any-any update makes no difference.
my page.h doesn't contain the "native_make_pte" to edit.........
System is a Dual Core Pentium D, using CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu"
Anyone any other ideas? Would the patch (linked from other thread work on this system, and what do I need to do to get it installed?
Any advice appreciated,
G |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|