Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

07.03.2013, 11:14

vmware-modules: "implicit declaration of function ‘__devexit_p’"

Hallo zusammen,

seit kurzem kann ich die vmware-modules nicht mehr bauen.

Er scheitert beim vmci-Modul und spuckt aus:

Zitat

* Preparing vmci module
make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.8.2-gentoo/build
Using 2.6.x kernel build system.
make -C /lib/modules/3.8.2-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.8.2-gentoo'
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/vmciKernelIf.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciDriver.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciResource.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciRoute.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciContext.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciDatagram.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciHashtable.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciEvent.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciQueuePair.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciQPair.o
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:127:4: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:127:4: error: initializer element is not constant
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:127:4: error: (near initialization for ‘vmci_driver.remove’)
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:1754:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vmci_probe_device’
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:1982:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vmci_remove_device’
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:119:12: warning: ‘vmci_probe_device’ used but never defined [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:121:13: warning: ‘vmci_remove_device’ used but never defined [enabled by default]
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:2063:1: warning: ‘vmci_interrupt’ defined but not used [-Wunused-function]
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:2137:1: warning: ‘vmci_interrupt_bm’ defined but not used [-Wunused-function]
/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:1717:1: warning: ‘vmci_enable_msix’ defined but not used [-Wunused-function]
CC [M] /var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/common/vmciDoorbell.o
cc1: some warnings being treated as errors
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-3.8.2-gentoo'
make: *** [vmci.ko] Error 2
* ERROR: app-emulation/vmware-modules-271.1-r1 failed (compile phase):
* emake failed

Zitat

# emerge --info '=app-emulation/vmware-modules-271.1-r1'
Portage 2.2.0_alpha166 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.2, glibc-2.16.0, 3.8.2-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.8.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-2760QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem: 16290548 total, 3461424 free
KiB Swap: 18873340 total, 18873340 free
Timestamp of tree: Thu, 07 Mar 2013 09:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p42
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.3-r3, 3.2.3-r2
dev-util/cmake: 2.8.10.2-r1
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.7.2-r1
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc: 2.16.0
Repositories: gentoo local-overlay vmware mozilla gamerlay java-overlay seden
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay /var/lib/layman/vmware /var/lib/layman/mozilla /var/lib/layman/gamerlay /var/lib/layman/java-overlay /var/lib/layman/seden"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crossdev crypt cups cxx dbus declarative dhcpcd dri dts dvd dvdr emboss encode exif fam firefox flac fortran fuse gdbm gif gphoto2 gpm gtk gtk2 gtk3 iconv ipv6 jpeg kde kipi lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mtp mudflap multilib ncurses nforce2 nfs nls nptl nvidia obex ogg openct opengl openmp oss pam pango pcre pdf phonon plasma pmu png policykit ppds pulseaudio qt3support qt4 quicktime readline samba sdl semantic-desktop session smartcard source spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vlc vorbis webkit webkit2 wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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 sheets 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel nvidia i915 vmware" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

app-emulation/vmware-modules-271.1-r1 was built with the following:
USE="(consolekit) (multilib) (policykit) -pax_kernel"
Ich steh auf dem Schlauch und habe im Moment keine Ahnung, was mir das sagen will.

Könnt Ihr mich in die richtige Richtung schubsen?

[edit]
Was mir gerade auffällt ist CROSS_COMPILE=x86_64-pc-linux-gnu-.
Ich nutze zwar Crosscompiling für den avr-gcc, aber an der Stelle ist Crosscompile doch eigentlich falsch, da der Default-Compiler der ordinäre gcc ist. Oder steht das immer drin, sobald mehr als ein Compiler im System bekannt sind? ich hab da bisher nie drauf geachtet ...
[/edit]

[edit2]
öhhhhh, jetzt fällt mir nich was auf. Da fehlt doch das gcc bei CROSS_COMPILE=x86_64-pc-linux-gnu-

Der gesamte make-Aufruf sieht so aus: make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.8.2-gentoo/build. Das fette kann doch nicht richtig sein, oder?
[/edit2]

Danke schon mal,

42m

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »greye« (14.03.2013, 17:20)


2

07.03.2013, 15:55

/var/tmp/portage/app-emulation/vmware-modules-271.1-r1/work/vmci-only/linux/driver.c:127:4: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]

Hm, die vmware-modules Version scheint noch nicht mit dem brandaktuellen kernel-3.8 kompatibel zu sein - hier sollte upstream vmware selbst nachbessern bzw kompatible Treiber bereitstellen.
Aber, schau mal ob der Patch (und die Tipps) aus https://bugs.gentoo.org/show_bug.cgi?id=458228 zunächst weiterhelfen. Wenn nein, dann hilft aktuell wohl nur einen älteren kompatiblen Kernel zu nutzen.

3

07.03.2013, 17:59

Hm, die vmware-modules Version scheint noch nicht mit dem brandaktuellen kernel-3.8 kompatibel zu sein - hier sollte upstream vmware selbst nachbessern bzw kompatible Treiber bereitstellen.
Aber, schau mal ob der Patch (und die Tipps) aus https://bugs.gentoo.org/show_bug.cgi?id=458228 zunächst weiterhelfen. Wenn nein, dann hilft aktuell wohl nur einen älteren kompatiblen Kernel zu nutzen.
Zugegeben, die 3.8.x kamen in relativ kurzer Folge und ich habe VMWare in letzter Zeit auf der Kiste die Probleme macht kaum verwendet, aber ich bin mir fast sicher, daß es mit 3.8.0 noch funktioniert hat.
Den Patch schau ich mir an. Danke für den Link. Ich habe gesucht und mit meinen Suchbegriffen nur einen Treffer gelandet: Jemand, der das gleiche Problem hat und keine Lösung. Wieso ich den Bugreport nicht gefunden habe, keine Ahnung.

42m

4

14.03.2013, 17:20

Mit einem älteren Kernel (3.7.10) funktioniert es wie gehabt. Ich bleibe also erst mal dabei ...

Danke,

42m