Hello! I try to rebuild lirc and it fails all the time. I had it working with the exact same kernel already (since 2.6.10 came out). So it's kinda weird. Here's what happens: source='hw_default.c' object='hw_default.o' libtool=no \ depfile='.deps/hw_default.Po' tmpdepfile='.deps/hw_default.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f hw_default.c || echo './'`hw_default.c source='receive.c' object='receive.o' libtool=no \ depfile='.deps/receive.Po' tmpdepfile='.deps/receive.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f receive.c || echo './'`receive.c irrecord.c: In function `get_lead_length': irrecord.c:1863: warning: operation on `b' may be undefined irrecord.c: At top level: config_file.h:26: warning: `all_flags' defined but not used source='transmit.c' object='transmit.o' libtool=no \ depfile='.deps/transmit.Po' tmpdepfile='.deps/transmit.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f transmit.c || echo './'`transmit.c source='lircd.c' object='lircd.o' libtool=no \ depfile='.deps/lircd.Po' tmpdepfile='.deps/lircd.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f lircd.c || echo './'`lircd.c source='lircmd.c' object='lircmd.o' libtool=no \ depfile='.deps/lircmd.Po' tmpdepfile='.deps/lircmd.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f lircmd.c || echo './'`lircmd.c lircd.c: In Funktion
Hello! I try to rebuild lirc and it fails all the time. I had it working with the exact same kernel already (since 2.6.10 came out). So it's kinda weird. Here's what happens: source='hw_default.c' object='hw_default.o' libtool=no \ depfile='.deps/hw_default.Po' tmpdepfile='.deps/hw_default.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f hw_default.c || echo './'`hw_default.c source='receive.c' object='receive.o' libtool=no \ depfile='.deps/receive.Po' tmpdepfile='.deps/receive.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f receive.c || echo './'`receive.c irrecord.c: In function `get_lead_length': irrecord.c:1863: warning: operation on `b' may be undefined irrecord.c: At top level: config_file.h:26: warning: `all_flags' defined but not used source='transmit.c' object='transmit.o' libtool=no \ depfile='.deps/transmit.Po' tmpdepfile='.deps/transmit.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f transmit.c || echo './'`transmit.c source='lircd.c' object='lircd.o' libtool=no \ depfile='.deps/lircd.Po' tmpdepfile='.deps/lircd.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f lircd.c || echo './'`lircd.c source='lircmd.c' object='lircmd.o' libtool=no \ depfile='.deps/lircmd.Po' tmpdepfile='.deps/lircmd.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -c `test -f lircmd.c || echo './'`lircmd.c lircd.c: In Funktion »read_timeout«: lircd.c:247: Warnung: Lesen mit Null-Zeiger (Argument 3) lircd.c:255: Warnung: Lesen mit Null-Zeiger (Argument 3) lircd.c: In Funktion »config«: lircd.c:380: Warnung: Lesen mit Null-Zeiger (Argument 3) lircd.c: In Funktion »add_client«: lircd.c:453: Warnung: Lesen mit Null-Zeiger (Argument 3) lircd.c: In Funktion »connect_to_peers«: lircd.c:612: Warnung: Lesen mit Null-Zeiger (Argument 3) lircd.c: In Funktion »daemonize«: lircd.c:893: Warnung: Lesen mit Null-Zeiger (Argument 3) lircd.c: In Funktion »waitfordata«: lircd.c:1648: Warnung: Lesen mit Null-Zeiger (Argument 3) lircd.c: Auf höchster Ebene: config_file.h:26: Warnung: `all_flags' defined but not used lircmd.c: In Funktion »loop«: lircmd.c:691: Warnung: Verwendung von Zuweisungsunterdrückung und Längenmodifizierer zusammen im Format scanf /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -o lircmd lircmd.o mkdir .libs i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -o lircmd lircmd.o distcc[18083] ERROR: compile /video/.ccache/hw_default.tmp.vdr.18054.i on 192.168.1.2 failed In file included from hw_default.c:38: transmit.h:44: error: conflicting types for `set_bit' /usr/include/asm/bitops.h:38: error: previous declaration of `set_bit' hw_default.c: In Funktion »default_send«: hw_default.c:449: Warnung: Lesen mit Null-Zeiger (Argument 3) hw_default.c:461: Warnung: Lesen mit Null-Zeiger (Argument 3) hw_default.c:492: Warnung: Lesen mit Null-Zeiger (Argument 3) distcc[18054] ERROR: compile hw_default.c on localhost failed make[2]: *** [hw_default.o] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0/daemons' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.0-r1/work/lirc-0.7.0' make: *** [all] Fehler 2 !!! ERROR: app-misc/lirc-0.7.0-r1 failed. !!! Function src_compile, Line 99, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" 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/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -mfpmath=sse -pipe -fomit-frame-pointer" DISTDIR="/video/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://blood/gentoo-portage" USE="3dnow 3dnowex crypt dvb dvd encode mmx mmx2 ncurses nls oggvorbis png readline rtc sse ssl x86 xvid zlib linguas_de"
Well, seems it was my mistake. Seems I shouldn't have played with gcc 3.4. Allthough I changed it back to x86 stable, some things got messed up. And yes, I did a new stage1. Yes, it sucked ;) But it was the only thing I found to help. Laters Sebastian