Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271997 - app-emulation/vmware-modules-1.0.0.23 fails to compile with gentoo kernel 2.6.29-r5
Summary: app-emulation/vmware-modules-1.0.0.23 fails to compile with gentoo kernel 2.6...
Status: RESOLVED DUPLICATE of bug 263635
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-31 16:37 UTC by Christophe PEREZ
Modified: 2009-05-31 23:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2009-05-31 16:37:54 UTC
On arch amd64, vmware-modules doesn't compile with linux-2.6.29-gentoo-r5 :
make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.29-gentoo-r5/build
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.29-gentoo-r5/build M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5'
  CC [M]  /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.o
In file included from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/./common/vmx86.h:31,
                 from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.h:29,
                 from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:101:
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/numa_64.h:5,
                 from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/numa.h:4,
                 from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/acpi.h:28,
                 from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/fixmap_64.h:15,
                 from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/fixmap.h:7,
                 from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:36,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:767,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/./include/compat_module.h:27,
                 from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:26:
/usr/src/linux-2.6.29-gentoo-r5/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
In file included from /home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:32:
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/./include/compat_wait.h:78: error: conflicting types for �poll_initwait�
include/linux/poll.h:67: error: previous declaration of �poll_initwait� was here
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c: In function �LinuxDriverSyncCallOnEachCPU�:
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1423: error: too many arguments to function �smp_call_function�
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c: In function �LinuxDriver_Ioctl�:
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1987: error: �struct task_struct� has no member named �euid�
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1987: error: �struct task_struct� has no member named �uid�
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1988: error: �struct task_struct� has no member named �fsuid�
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1988: error: �struct task_struct� has no member named �uid�
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1989: error: �struct task_struct� has no member named �egid�
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1989: error: �struct task_struct� has no member named �gid�
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1990: error: �struct task_struct� has no member named �fsgid�
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:1990: error: �struct task_struct� has no member named �gid�
/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.c:2007: error: too many arguments to function �smp_call_function�
make[3]: *** [/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only/linux/driver.o] Error 1
make[2]: *** [_module_/home/portage/tmp/portage/app-emulation/vmware-modules-1.0.0.23/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5'
make: *** [vmmon.ko] Error 2
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.23 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3719:  Called linux-mod_src_compile
 *             environment, line 2833:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                 CROSS_COMPILE=${CHOST}-       LDFLAGS="$(get_abi_LDFLAGS)"                                             ${BUILD_FIXES}                                          ${BUILD_PARAMS}                                                ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=   auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.29-gentoo-r5/build


# emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2390_@_1.86GHz-with-glibc2.2.5
Timestamp of tree: Sun, 31 May 2009 07:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/download/Linux/gentoo/portage"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FEATURES="buildsyspkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://mirror.jamit.de/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr fr_FR"
MAKEOPTS="-j1"
PKGDIR="/home/portage/pkgdir"
PORTAGE_CONFIGROOT="/"
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="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://novazur.fr/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 audiofile bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac gdbm gif gphoto2 gstreamer gtk gtk2 gtkhtml hal iconv imlib isdnlog jabber java jpeg kde ldap libnotify libsamplerate lm_sensors mad matroska midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl openmp pam pcre pdf perl png portaudio pppd python qt3 qt3support qt4 quicktime readline reflection scanner sdl session sndfile sox speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l vorbis wifi x264 xcomposite xinerama xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" LINGUAS="fr fr_FR" USERLAND="GNU" VIDEO_CARDS="vesa fbdev intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2009-05-31 23:42:26 UTC

*** This bug has been marked as a duplicate of bug 263635 ***