I'm not able to compile net-dialup/capi4k-utils-20050718-r2. I think the problem is this line "capidyn.c:23:28: error: linux/compiler.h: No such file or directory". set -e; for i in `echo capi20 capiinfo avmb1 capiinit rcapid`; do make -C $i all; done make[1]: Entering directory `/var/tmp/portage/net-dialup/capi4k-utils-20050718-r2/work/capi4k-utils/capi20' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libcapi20\" -DVERSION=\"3.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -fPIC -c capidyn.c /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libcapi20\" -DVERSION=\"3.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -fPIC -c capi20.c capidyn.c:23:28: error: linux/compiler.h: No such file or directory make[1]: *** [capidyn.o] Error 1 make[1]: *** Waiting for unfinished jobs.... mkdir .libs gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libcapi20\" -DVERSION=\"3.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LINUX_CAPI_H=1 -DHAVE_SELECT=1 -I. -I. -march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer -fPIC -c capi20.c -fPIC -DPIC -o .libs/capi20.lo capi20.c:116:28: error: linux/compiler.h: No such file or directory capi20.c: In function 'alloc_buffers': capi20.c:244: warning: incompatible implicit declaration of built-in function 'malloc' make[1]: *** [capi20.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-dialup/capi4k-utils-20050718-r2/work/capi4k-utils/capi20' make: *** [subtargets] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge Portage 2.1.2-r4 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-hardened-r5 i686) ================================================================= System uname: 2.6.19-hardened-r5 i686 VIA Esther processor 1200MHz Gentoo Base System release 1.12.9 Timestamp of tree: Sat, 27 Jan 2007 20:30:01 +0000 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.61 sys-devel/automake: 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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.gentoo.org/gentoo-portage"
I have no real solution yet. but there's an ugly workaround: ln -snf /usr/src/linux/include/linux/compile*.h /usr/include/linux/ very ugly. I don't know, why these headers are missing now. Many packages just need them. I ask the kernel guys how to handle this situation properly...
(In reply to comment #1) > but there's an ugly workaround: > ln -snf /usr/src/linux/include/linux/compile*.h /usr/include/linux/ Okay this works so far, thank you.
fixed w/o rev-bump. emerge --sync in 1h, remove symlinks and try again to (re-)emerge *-r2. *-r1 is not fixed, because I will remove it asap.
Works, thanks.