Compilation of lirc-0.8.0_pre1 fails with the following output: Calculating dependencies * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.14-ck5 >>> Unpacking source... >>> Unpacking lirc-0.8.0_pre1.tar.bz2 to /var/tmp/portage/lirc-0.8.0_pre1/work >>> Source unpacked. * Running eautoreconf in '/var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1' ... * Running aclocal... [ ok ] * Running libtoolize --copy --force --automake... [ ok ] * Running aclocal... [ ok ] * Running autoconf... [ ok ] * Running autoheader... [ ok ] * Running automake --add-missing --copy... [ ok ] * econf: updating lirc-0.8.0_pre1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating lirc-0.8.0_pre1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/i nfo --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --d isable-manage-devices --localstatedir=/var --with-syslog=LOG_DAEMON --enable-sandboxed --disable- debug --with-X --with-driver=serial --with-port=0x3f8 --with-irq=4 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc <snap> You will have to use the lirc_serial kernel module. Now enter 'make' and 'make install' to compile and install the package. * Converting lirc-0.8.0_pre1/Makefile to use M= instead of SUBDIRS=... [ ok ] cd . && /bin/sh /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/missing --run autoheader autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.59: WARNING: is deprecated and discouraged. autoheader-2.59: autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader-2.59: WARNING: `acconfig.h': autoheader-2.59: autoheader-2.59: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.59: [Define if a function `main' is needed.]) autoheader-2.59: autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the autoheader-2.59: WARNING: documentation. rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory `/var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1' Making all in drivers make[2]: Entering directory `/var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers' Making all in lirc_dev make[3]: Entering directory `/var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc_d ev' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.14-ck5/build/ SUBDIRS=/var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_p re1/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/usr/src/linux-2.6.14-ck5' mkdir -p /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc_dev/.tmp_versions WARNING: Symbol version dump /usr/src/linux-2.6.14-ck5/Module.symvers is missing; modules will have no dependencies and modversions. make -f scripts/Makefile.build obj=/var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/ lirc_dev gcc -m32 -Wp,-MD,/var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc_dev/.lirc_d ev.o.d -nostdinc -isystem /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include -D__KERNEL__ -Iinclud e -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestandi ng -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon -I include/asm-i386/mach-default -Wdeclaration-after-statement -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers /lirc_dev/../.. -I /lib/modules/2.6.14-ck5/build//include/ -DMODULE -DKBUILD_BASENAME=lirc_dev - DKBUILD_MODNAME=lirc_dev -c -o /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc _dev/lirc_dev.o /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc_dev/lirc_dev.c In file included from /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc_dev/lirc _dev.c:35: include/linux/config.h:4:28: linux/autoconf.h: Onbekend bestand of map In file included from include/linux/module.h:10, from /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc_dev/lirc _dev.c:36: include/linux/sched.h:4:37: asm/param.h: Onbekend bestand of map In file included from include/linux/types.h:13, from include/linux/capability.h:16, from include/linux/sched.h:7, from include/linux/module.h:10, from /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc_dev/lirc _dev.c:36: include/linux/posix_types.h:47:29: asm/posix_types.h: Onbekend bestand of map In file included from include/linux/capability.h:16, from include/linux/sched.h:7, from include/linux/module.h:10, from /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc_dev/lirc _dev.c:36: include/linux/types.h:14:23: asm/types.h: Onbekend bestand of map In file included from include/linux/capability.h:16, from include/linux/sched.h:7, from include/linux/module.h:10, from /var/tmp/portage/lirc-0.8.0_pre1/work/lirc-0.8.0_pre1/drivers/lirc_dev/lirc _dev.c:36: include/linux/types.h:18: error: syntax error before "__kernel_dev_t" include/linux/types.h:18: let op: type defaults to `int' in declaration of `__kernel_dev_t' include/linux/types.h:18: let op: data definition has no type or storage class include/linux/types.h:21: error: syntax error before "dev_t" include/linux/types.h:21: let op: type defaults to `int' in declaration of `dev_t' include/linux/types.h:21: let op: data definition has no type or storage class include/linux/types.h:22: error: syntax error before "ino_t" include/linux/types.h:22: let op: type defaults to `int' in declaration of `ino_t' include/linux/types.h:22: let op: data definition has no type or storage class include/linux/types.h:23: error: syntax error before "mode_t" include/linux/types.h:23: let op: type defaults to `int' in declaration of `mode_t' include/linux/types.h:23: let op: data definition has no type or storage class include/linux/types.h:24: error: syntax error before "nlink_t" emerge info: Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.4.20041102-r1, 2.6.14-ck5 i686) ================================================================= System uname: 2.6.14-ck5 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.3-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer -mmmx -m3dnow -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer -mmmx -m3dnow -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="nl_NL" LINGUAS="nl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X a52 aac aalib alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl dts dv dvd eds emboss encode exif expat fam ffmpeg flac fluidsynth foomaticdb fortran gdbm gif gimpprint glut gnome gphoto2 gpm gstreamer gtk gtk2 hal idn imagemagick imlib jack jpeg kde kdeenablefinal ladcca lcms libg++ libwww mad ming mmx mmx2 mmxext mng motif mp3 mpeg ncurses no_wxgtk1 nodrm ogg oggvorbis openal opengl pam pcre pdflib perl png python qt quicktime readline rtc sdl slang sox spell sqlite ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xml xml2 xmms xscreensaver xv xvid xvmc zlib linguas_nl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY I use the ck-sources kernel version 2.6.14-ck5.
The ck kernels aren't supported by gentoo.