Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43024 - lirc-0.7.0_pre2 doesn't compile
Summary: lirc-0.7.0_pre2 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-26 13:21 UTC by Sebastian
Modified: 2004-05-03 12:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2004-02-26 13:21:29 UTC
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.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-27 00:02:04 UTC
emerge info?
Comment 2 Sebastian 2004-02-27 00:08:48 UTC
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"
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-27 07:01:51 UTC
try to compile it against vanilla-sources-2.4.22(or 25)
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-06 03:57:11 UTC
does it compile with vanilla-sources?
Comment 5 Sebastian 2004-03-14 09:21:09 UTC
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
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-15 02:13:27 UTC
you only need a seperate patch for the kernel with 2.6
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-15 02:13:32 UTC
you only need a seperate patch for the kernel with 2.6
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-27 08:58:42 UTC
what about pre3?
Comment 9 Sebastian 2004-03-27 10:17:10 UTC
Same thing, doesn't compile, even with vanilla 2.4.25 :[

Greets
Sebastian
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-11 17:44:22 UTC
another try with pre4 maybe?
Comment 11 Sebastian 2004-05-03 12:44:05 UTC
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