Hello, I'm using the older lirc 0.6.6 and it fits my needs, but I stumbled upon this eventually. I have my system up to date with all stable ebuilds and gentoo-sources. I can't compile lirc (-serial) and get this error messages: gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r7/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DHAVE_CONFIG_H -I. -I. -I../.. -nostdinc -iwithprefix include -DKBUILD_BASENAME=lirc_serial -c -o lirc_serial.o lirc_serial.c lirc_serial.c:103:2: Warnung: #warning "Software carrier only affects transmitting" lirc_serial.c:109:2: Warnung: #warning "Note: using rdtsc instruction" lirc_serial.c:263: error: Syntaxfehler before ';' token lirc_serial.c:264: error: Syntaxfehler before ';' token make[5]: *** [lirc_serial.o] Fehler 1 make[5]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_serial' make[4]: *** [_mod_/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_serial] Fehler 2 make[4]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r7' make[3]: *** [lirc_serial.o] Fehler 2 make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers/lirc_serial' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/drivers' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2' make: *** [all] Fehler 2 !!! ERROR: app-misc/lirc-0.7.0_pre2 failed. !!! Function src_compile, Line 99, Exitcode 2 !!! (no error message) I know this is a beta, but it's marked as stable so there shouldn't be a problem. Thanks Sebastian Reproducible: Always Steps to Reproduce: 1. 2. 3.
emerge info?
vdr root # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7) ================================================================= System uname: 2.4.22-gentoo-r7 i686 AMD Duron(tm) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mmmx -msse -m3dnow -Os -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -mmmx -msse -m3dnow -Os -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.b elnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow berkdb crypt dvb gdbm mmx ncurses nls oggvorbis pam perl python readline samba sse ssl tcpd truetype x86 zlib"
try to compile it against vanilla-sources-2.4.22(or 25)
does it compile with vanilla-sources?
No, it doesn't compile with vanilla kernel. I tried 2.4.25. Sorry for the long wait. I saw that the ebuild says you need ir support in the kernel. Is this for 2.6.x kernels or 2.4.x, too? Sebastian
you only need a seperate patch for the kernel with 2.6
what about pre3?
Same thing, doesn't compile, even with vanilla 2.4.25 :[ Greets Sebastian
another try with pre4 maybe?
Hi, sorry for my long abscence. I figured out why lirc didn't build. It was missing parameters in my make.conf. I had only specified the type of driver I wanted it to build (serial) and not provided the IRQ parameter and the COM-Port (3f8). Now it's all good. Sorry, my mistake. Sebastian