FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-27-2011, 07:08 PM
Jonas de Buhr
 
Default build problems with vmware-modules

hello everone!

i'm having problems running vmware. a recend "emerge -DuvaN world"
upgraded vmware to version 6.5.5 and i upgraded the kernel to
# uname -a
Linux toxic 2.6.39-gentoo-r3 #4 SMP Thu Sep 22 16:06:58 CEST 2011
x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel
GNU/Linux

when i try to run vmware the module updater starts (sounds good, the
modules should be gone) and complains it can't find the kernel headers.

# ls -l /usr/src/
lrwxrwxrwx 1 root root 22 21. Sep 18:00 linux ->
linux-2.6.39-gentoo-r3

even if i specifically select the directory containing the kernel
source it doesn't find them.

i then tried to emerge vmware-modules, guessing that might fix it,
which fails:

/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dentry.c:
In function
‘DentryOpRevalidate’: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dentry.c:121:4:
error: implicit declaration of function ‘path_lookup’ cc1: warning:
unrecognized command line option "-Wno-unused-but-set-variable" At top
level: cc1: warning: unrecognized command line option
"-Wno-unused-but-set-variable" make[3]: ***
[/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dentry.o]
Error 1 cc1: warning: unrecognized command line option
"-Wno-unused-but-set-variable" make[2]: ***
[_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only]
Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory
`/usr/src/linux-2.6.39-gentoo-r3' make: *** [vmblock.ko] Error 2 emake
failed

full logs attached.
am i missing something or is this a bug?

/jonas
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
================================================== ===============
System Settings
================================================== ===============
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 27 Sep 2011 17:45:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.1-r1, 3.1.3-r1
dev-util/cmake: 2.8.4-r1
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.8.3-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc: 2.12.2
Repositories: gentoo spring x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://de-mirror.org/distro/gentoo/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/Spring /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 berkdb bogofilter bzip2 cdda cddb cdr cli consolekit cracklib crypt css cue cups cxx declarative device-mapper dillo divx dri dvd dvdr extensions extras ffmpeg flac fontconfig fortran fts3 gcj gdbm gdu gnome gnutls gpm gtk iconv icu imap ipv6 java java6 jpeg kde kpathsea lame lxde mmx modules mp3 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg ogre opengl openmp pam pcre perl png policykit pppd python qt3support qt4 quicktime readline realmedia session sndfile sql sqlite sse sse2 ssl ssse3 stream subversion svg symlink sysfs tcpd tetex threads tiff tordns truetype udev unicode vorbis wavpack webkit xorg xv 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
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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

================================================== ===============
Package Settings
================================================== ===============

app-emulation/vmware-modules-1.0.0.25-r3 was built with the following:
USE="(multilib)"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="-march=nocona -O2 -pipe"
 
Old 09-27-2011, 07:19 PM
Jonas de Buhr
 
Default build problems with vmware-modules

i just figured a build log in english might be more useful
 
Old 09-28-2011, 02:47 AM
Nikos Chantziaras
 
Default build problems with vmware-modules

On 09/27/2011 10:08 PM, Jonas de Buhr wrote:

hello everone!

i'm having problems running vmware. a recend "emerge -DuvaN world"
upgraded vmware to version 6.5.5 and i upgraded the kernel to
# uname -a
Linux toxic 2.6.39-gentoo-r3 #4 SMP Thu Sep 22 16:06:58 CEST 2011
x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel
GNU/Linux


With VMWare, you need recent versions to work with non-ancient kernel
versions. VMware 7.x should work fine with kernel 2.6.39.
 
Old 09-28-2011, 08:42 AM
Jonas de Buhr
 
Default build problems with vmware-modules

>On 09/27/2011 10:08 PM, Jonas de Buhr wrote:
>> hello everone!
>>
>> i'm having problems running vmware. a recend "emerge -DuvaN world"
>> upgraded vmware to version 6.5.5 and i upgraded the kernel to
>> # uname -a
>> Linux toxic 2.6.39-gentoo-r3 #4 SMP Thu Sep 22 16:06:58 CEST 2011
>> x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel
>> GNU/Linux
>
>With VMWare, you need recent versions to work with non-ancient kernel
>versions.

i've been running vmware 6.x with 2.6.31 before with no problems. if
its that incompatible with newer kernels the dependencies should state
that and 7.x should become stable.

but it seems you're right:

/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/filesystem.c:84:4:
error: unknown field ‘get_sb’ specified in initializer

seems some stuff changed in the kernel
https://lkml.org/lkml/2011/3/17/29

> VMware 7.x should work fine with kernel 2.6.39.

i will give 7.x a try. thanks!
 

Thread Tools




All times are GMT. The time now is 09:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org