I am compiling for a newer kernel (2.6.18-rc6) but not sure what the difference is as I used the same kernel config. I don't think I've been compiling with devfs support for quite some time.. Any ideas? My kernel config is @ http://vranix.com/configs/config.linus-git From /etc/make.conf: LIRC_DEVICES="streamzap" ... Making all in lirc_dev make[3]: Entering directory `/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /usr/src/linux/ SUBDIRS=/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/home/shaw/kernels/linux-2.6' test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) mkdir -p /var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/.tmp_versions rm -f /var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/.tmp_versions/* make -f scripts/Makefile.build obj=/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -march=k8 -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/../.. -I/usr/src/linux//include/ -I/usr/src/linux//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/lirc_dev.o /var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c /var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:54:35: error: linux/devfs_fs_kernel.h: No such file or directory /var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In function 'cleanup': /var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:132: warning: implicit declaration of function 'devfs_remove' /var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In function 'lirc_register_plugin': /var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:381: warning: implicit declaration of function 'devfs_mk_cdev' make[5]: *** [/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev/lirc_dev.o] Error 1 make[4]: *** [_module_/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev] Error 2 make[4]: Leaving directory `/home/shaw/kernels/linux-2.6' make[3]: *** [lirc_dev.o] Error 2 make[3]: Leaving directory `/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers/lirc_dev' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/lirc-0.8.0-r1/work/lirc-0.8.0' make: *** [all] Error 2 !!! ERROR: app-misc/lirc-0.8.0-r1 failed.
Oh, I should mention that I did run `make oldconfig && make prepare' in /usr/src/linux with no luck and that /usr/src/linux/include/config/auto.conf exists.
Please, attach your .config here (and post emerge --info as well).
kernel config -> http://vranix.com/configs/config.linus-git emerge --info -> Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18-rc6 x86_64) ================================================================= System uname: 2.6.18-rc6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [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="-O2 -march=k8" CHOST="x86_64-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" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com ftp://mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j4" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac alsa amazon arts artswrappersuid avi bash-completion bitmap-fonts cacheemu cdrom codecs cscope ctags cups curl cvs dhcp divx4linux dvd dvdr dvdread encode esd font-server freetype ftp gif gs gstreamer gtk gtk2 hal javascript jpeg kde libvisual mad mime mp3 mp4 mpeg mpeg4 mplayer network nptl nptlonly nsplugin ogg oggvorbis opengl pcre pda pdflib perl png python qt qt3 readline rss samba ssl streamzap svg tcpd tiff truetype truetype-fonts type1 type1-fonts vim-pager vim-with-x vorbis x11 xine xmms xosd xprint xv xvid yahoo elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux lirc_devices_streamzap userland_GNU video_cards_nvidia video_cards_nv video_cards_radeon video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #3) > kernel config -> http://vranix.com/configs/config.linus-git Please, attach it. Don't refer to non-permanent external links that make the bug useless in a couple of days.
Created attachment 96282 [details] kernel config
Can you please try out if it works with lirc-0.8.0-r5, as version lirc-0.8.0-r1 doesn't contain the Kernel 2.6.16 (and greater) compatibility patch. My plan is to get lirc-0.8.0-r5 stable soon, but ~amd64-keyword for it was added only some days ago (04th sep).
Yep, `ACCEPT_KEYWORDS="~x86" emerge lirc' installed lirc-0.8.0-r5 without problems. Thanks.
@Shaw: You should use ACCEPT_KEYWORDS="~amd64" on an amd64 system. Or even better: echo "=app-misc/lirc-0.8.0-r5 ~amd64" >> /etc/portage/package.keywords
(In reply to comment #8) > @Shaw: > You should use > ACCEPT_KEYWORDS="~amd64" on an amd64 system. Or even better: Doh! I re-emerged with the correct ACCEPT_KEYWORDS without a problem. Thanks for the tip.