/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/libafs/MODLOAD-2.6.25-gentoo-r6-MP/osi_file.c: In function 'osi_UFSOpen': /var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/libafs/MODLOAD-2.6.25-gentoo-r6-MP/osi_file.c:60: error: implicit declaration of function 'iget' /var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/libafs/MODLOAD-2.6.25-gentoo-r6-MP/osi_file.c:60: warning: assignment makes pointer from integer without a cast make[6]: *** [/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/libafs/MODLOAD-2.6.25-gentoo-r6-MP/osi_file.o] Error 1 make[5]: *** [_module_/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/libafs/MODLOAD-2.6.25-gentoo-r6-MP] Error 2 make[5]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r6' make[4]: *** [libafs.ko] Error 2 make[4]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/libafs/MODLOAD-2.6.25-gentoo-r6-MP' make[3]: *** [linux_compdirs] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6/src/libafs' make[2]: *** [libafs] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6' make[1]: *** [build] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-fs/openafs-kernel-1.4.6_p20080222/work/openafs-1.4.6' make: *** [only_libafs] Error 2 * * ERROR: net-fs/openafs-kernel-1.4.6_p20080222 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3138: Called die * The specific snippet of code: * ARCH="$(tc-arch-kernel)" emake -j1 only_libafs || die "Failed: emake" * The die message: * Failed: emake * ------------------ # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686) ================================================================= System uname: 2.6.24-gentoo-r8 i686 Intel(R) Xeon(R) CPU E5345 @ 2.33GHz Timestamp of tree: Thu, 17 Jul 2008 23:00:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="candy ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US" LC_ALL="en_US" MAKEOPTS="-j9" 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://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa arts berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo fam firefox foomaticdb fortran gcj gdbm gif gimprint gpm gstreamer hal iconv ieee1394 imagemagick isdnlog jpeg kde latex mad midi mikmod mp3 mpeg mudflap ncurses nis nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sasl sdl session spell spl ssl svg tcpd tetex tiff truetype unicode usb vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
To prevent confusion, I should add that the 2.6.24 kernel was running at the time of compilation but the /usr/src/linux pointed to the new and compiled 2.6.25 kernel.
(In reply to comment #1) > To prevent confusion, I should add that the 2.6.24 kernel was running at the > time of compilation but the /usr/src/linux pointed to the new and compiled > 2.6.25 kernel. > Just so's you knows, I have this same problem, running 2.6.25-gentoo-r6 and trying to compile openafs-1.4.6_p20080222 against it. Usually running "module-rebuild rebuild" after booting a new kernel takes care of me, this time it didn't. This isn't any sort of cross-kernel issue, running one and compiling against another.
Same problem here on amd64
I have the same problem with 2.6.25 kernel and OpenAFS 1.4.6. AFAIK the bug is due to the fact that the iget() function has been removed as of the 2.6.25 kernel. Until this is handled by portage I guess one could build from later OpenAFS source, or perhaps patch 1.4.6 to not use iget...
Unmasked OpenAFS 1.4.7 (which is noted as unstable for x86) and it emerged just fine, so it must not use iget...
(In reply to comment #5) > Unmasked OpenAFS 1.4.7 (which is noted as unstable for x86) and it emerged just > fine, so it must not use iget... > I was able to do that too. However, emerging gnome tries to downgrade to openafs-kernel-1.4.6_p20080222 and failes. Don't know how to solve that. no help on the forum.
(In reply to comment #6) > I was able to do that too. However, emerging gnome tries to downgrade to > openafs-kernel-1.4.6_p20080222 and failes. Don't know how to solve that. no > help on the forum. Does this problem remain? Does "emerge -pvt gnome" provide you with any hints as to why it would want to downgrade openafs-kernel?
Haven't heard anything in 10 months. Closing