Hello, I have tried to compile media-gfx/splashutils-1.3-r2 and I have got this error: >>> Compiling source in /var/tmp/portage/splashutils-1.3-r2/work/splashutils-1.3 ... cc -march=k8 -O2 -pipe fbres.c -o fbres cc -march=k8 -O2 -pipe usleep.c -o usleep strip usleep strip fbres make[1]: Entering directory `/var/tmp/portage/splashutils-1.3-r2/work/miscsplashutils-0.1.5/kbd' cc -march=k8 -O2 -pipe -c -o fgconsole.o fgconsole.c cc -march=k8 -O2 -pipe -c -o getfd.o getfd.c cc -march=k8 -O2 -pipe fgconsole.o getfd.o -o fgconsole make[1]: Leaving directory `/var/tmp/portage/splashutils-1.3-r2/work/miscsplashutils-0.1.5/kbd' config.h successfully created. You can run `make` now. CONF libjpeg MAKE libjpeg CONF zlib MAKE zlib CONF libpng MAKE libpng CC objs/kernel/kernel.o In file included from splash.h:9, from kernel.c:27: /usr/lib64/klibc/include/linux/input.h:801: error: expected specifier-qualifier-list before
Hello, I have tried to compile media-gfx/splashutils-1.3-r2 and I have got this error: >>> Compiling source in /var/tmp/portage/splashutils-1.3-r2/work/splashutils-1.3 ... cc -march=k8 -O2 -pipe fbres.c -o fbres cc -march=k8 -O2 -pipe usleep.c -o usleep strip usleep strip fbres make[1]: Entering directory `/var/tmp/portage/splashutils-1.3-r2/work/miscsplashutils-0.1.5/kbd' cc -march=k8 -O2 -pipe -c -o fgconsole.o fgconsole.c cc -march=k8 -O2 -pipe -c -o getfd.o getfd.c cc -march=k8 -O2 -pipe fgconsole.o getfd.o -o fgconsole make[1]: Leaving directory `/var/tmp/portage/splashutils-1.3-r2/work/miscsplashutils-0.1.5/kbd' config.h successfully created. You can run `make` now. CONF libjpeg MAKE libjpeg CONF zlib MAKE zlib CONF libpng MAKE libpng CC objs/kernel/kernel.o In file included from splash.h:9, from kernel.c:27: /usr/lib64/klibc/include/linux/input.h:801: error: expected specifier-qualifier-list before kernel_ulong_t make: *** [objs/kernel/kernel.o] Error 1 I have installed dev-libs/klibc-1.4.13. My emerge --info: Portage 2.1.1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.15.1 x86_64) ================================================================= System uname: 2.6.15.1 x86_64 AMD Athlon(tm) 64 FX-60 Dual Core Processor Gentoo Base System version 1.12.5 Last Sync: Sun, 24 Sep 2006 20:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://videosrv1.cern.ch/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="" MAKEOPTS="-j3" 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://videosrv1.cern.ch/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dlloader dri eds elibc_glibc emboss encode foomaticdb gif gpm gstreamer gtk gtk2 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png posix pppd python qt3 qt4 quicktime readline reflection sdl session spl ssl tiff truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nvidia video_cards_v4l video_cards_vesa xorg xpm xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Best Regards, Jiri
This is a problem with the kernel headers. Please try upgrading to a newer kernel and recompiling klibc.
(In reply to comment #1) > This is a problem with the kernel headers. Please try upgrading to a newer > kernel and recompiling klibc. > I have upgraded linux-headers to the linux-headers-2.6.17-r1, I have recompiled the klibc (1.4.13) and I have still the same error: >>> Compiling source in /var/tmp/portage/splashutils-1.3-r2/work/splashutils-1.3 ... cc -march=k8 -O2 -pipe fbres.c -o fbres cc -march=k8 -O2 -pipe usleep.c -o usleep strip usleep strip fbres make[1]: Entering directory `/var/tmp/portage/splashutils-1.3-r2/work/miscsplashutils-0.1.5/kbd' cc -march=k8 -O2 -pipe -c -o fgconsole.o fgconsole.c cc -march=k8 -O2 -pipe -c -o getfd.o getfd.c cc -march=k8 -O2 -pipe fgconsole.o getfd.o -o fgconsole make[1]: Leaving directory `/var/tmp/portage/splashutils-1.3-r2/work/miscsplashutils-0.1.5/kbd' config.h successfully created. You can run `make` now. CONF libjpeg MAKE libjpeg CONF zlib MAKE zlib CONF libpng MAKE libpng CC objs/kernel/kernel.o In file included from splash.h:9, from kernel.c:27: /usr/lib64/klibc/include/linux/input.h:801: error: expected specifier-qualifier-list before 'kernel_ulong_t' make: *** [objs/kernel/kernel.o] Error 1 My emerge --info now: Portage 2.1.1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16.19 x86_64) ================================================================= System uname: 2.6.16.19 x86_64 AMD Athlon(tm) 64 FX-60 Dual Core Processor Gentoo Base System version 1.12.5 Last Sync: Mon, 25 Sep 2006 08:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://videosrv1.cern.ch/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="" MAKEOPTS="-j3" 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://videosrv1.cern.ch/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cli crypt cups dlloader dri eds elibc_glibc emboss encode foomaticdb gif gpm gstreamer gtk gtk2 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png posix pppd python qt3 qt4 quicktime readline reflection sdl session spl ssl tiff truetype-fonts type1-fonts unicode usb userland_GNU video_cards_nvidia video_cards_v4l video_cards_vesa xorg xpm xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS What to do now?
You have to actually upgrade the kernel (as in gentoo-sources, vanilla-sources etc.) and not the kernel-headers in this case.
OK, the upgrade of the vanilla-sources and recompilation of the klibc works for me. Thank you for your advice.