After emerging ck-sources-2.6.19_p2, module-rebuild fails to compile sys-fs/fuse-2.6.0_rc1 (currently shown as stable in portage). * Converting fuse-2.6.0-rc1/kernel/Makefile.in to use M= instead of SUBDIRS= ... [ ok ] * Preparing fuse module * econf: updating fuse-2.6.0-rc1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating fuse-2.6.0-rc1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-kernel=/usr/src/linux --with-kernel-build=/usr/src/linux --libdir=/usr/lib --build=i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking kernel source directory... /usr/src/linux checking kernel build directory... /usr/src/linux checking kernel source version... 2.6.19-ck2 checking if FUSE is configured in the kernel... no checking if kernel has extended attribute support... yes checking if kernel defines kzalloc function... yes checking if kernel defines fs_subsys... yes checking whether lookup_instantiate_filp is defined... yes checking if this is user mode linux... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h make -C /usr/src/linux M=/var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel modules make[1]: Entering directory `/usr/src/linux-2.6.19-ck2' CC [M] /var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/dev.o CC [M] /var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/dir.o CC [M] /var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/file.o /var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/dev.c:1094: error: unknown field ‘readv’ specified in initializer /var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/dev.c:1094: warning: initialization from incompatible pointer type /var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/dev.c:1096: error: unknown field ‘writev’ specified in initializer /var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/dev.c:1096: warning: initialization from incompatible pointer type make[2]: *** [/var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/dev.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/file.c:942: error: ‘generic_file_read’ undeclared here (not in a function) /var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/file.c:943: error: ‘generic_file_write’ undeclared here (not in a function) make[2]: *** [/var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel/file.o] Error 1 make[1]: *** [_module_/var/tmp/portage/fuse-2.6.0_rc1/work/fuse-2.6.0-rc1/kernel] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19-ck2' make: *** [all-spec] Error 2 !!! ERROR: sys-fs/fuse-2.6.0_rc1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile fuse-2.6.0_rc1.ebuild, line 46: Called linux-mod_src_compile linux-mod.eclass, line 510: Called die !!! Unable to make majver=2.6 fusemoduledir=//lib/modules/2.6.19-ck2/fs all. !!! If you need support, post the topmost build error, and the call stack if relevant. xushitop d # My info, xushitop d # emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-ck1-r2 i686) ================================================================= System uname: 2.6.18-ck1-r2 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.6 Last Sync: Sat, 09 Dec 2006 09:50:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 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.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -fvar-tracking -fvisibility-inlines-hidden" 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/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fweb -fvar-tracking -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="en.US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en uk en_US ar de en_GB he et ru zh_CN zh_TW" MAKEOPTS="-j2" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi addbookmarks adns alias alsa alsa_cards_intel8x0 alsa_cards_usb-audio amarok amuled apache2 apm asf atk automount autoreplace bash-completion berkdb bidi bindist bitmap-fonts branding browserplugin bzlib cairo cddb cdinstall cdparanoia cdr cjk clamav clamd cli connectionstatus contactnotes cpdflib cpudetection cracklib crypt css cups dba dbus dcc divx divx4linux dlloader dri dv dvd dvdr dvdread effects elibc_glibc encode epson escreen esd extras fam firefox flac flash freetype gadu gd-external gdbm gif gimp gimpprint glitz gpm gstreamer hal highlight history iconv ieee1394 ifp inkjar input_devices_keyboard input_devices_mouse ipv6 irc isdnlog jabber jingle jpeg kde kdeenablefinal kdepim kernel_linux kipi lame latex ldap libg++ linguas_ar linguas_de linguas_en linguas_en_GB linguas_en_US linguas_et linguas_he linguas_ru linguas_uk linguas_zh_CN linguas_zh_TW live lm_sensors mad mikmod mmap mmx mp3 mpc mpeg mpeg2 mpeg4 mplayer musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nls nowlistening nptl nptlonly nsplugin nvidia ogg opengl oscar pam pcre pdf perl plugin pmu png posix ppds pppd print pthreads python qt3 qt4 quicktime rar readline real reflection remote samba sametime scanner sdl session slp sms snmp sox spell spl sse sse2 ssl statistics svg sysfs t1lib tcpd texteffect theora threads translator truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU utf8 v4l v4l2 vcd video_cards_nvidia vidix visualization vorbis webpresence wifi win32codecs winpopup wma wmv wxgtk1 xml xorg xprint xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS xushitop d #
Try with 2.6.1 and a supported kernel. http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2