[mythtv-users] lirc compile problem

Linux linux at keithandjill.com
Mon Aug 18 10:02:14 EDT 2003


This seems to be a common problem with recent compiles of lirc.  I'm
watching the list archives for lirc for an answer (which is probably a
better forum for this problem than here).

I believe inc_use and dec_use have been deprecated in the i2c adapter. 
I tried just removing them and compiling, and while the compile was
successful, lirc did not work. This surprised me, so maybe I have
something else wrong.

By the way, I just joined the list yesterday.  Glad to be here - maybe I
can do more than just be a user.  Newish is linux, but a heavy web devel
guy, with gobs of database experience.

My box : Athlon 2200+, Audigy, PVR 250, GeForce4 4400 and a Via 266a
motherboard.

My first attempt at MythTV was Redhat 9 following the Myth docs.  I
failed.  I switched to Debian, which I loved but never got all my
hardware working at once.  Back to Redhat 9 with Jarod Wilson's guide. 
Everything working except lirc (this problem) and xmame (the segfault
with qvaluelist.h), both of which I think may be common for people using
Jarod's guide.  I'm going to compile xmame from source and see if that
helps.

Keith

On Mon, 2003-08-18 at 06:11, ray cielencki wrote:
> Hi everyone,
> great project! im running redhat 9 and i've been having problems 
> compiling lirc (from cvs). i get a "structure has no member named 
> `inc_use'" error. can anyone point me in the right direction? myself 
> and others have asked this on the lirc list, but our requests have 
> gone unanswered...
> 
> thanks,
> ray
> 
> heres the whole of the output:
> 
> [root at tv lirc]# make
> make  all-recursive
> make[1]: Entering directory `/usr/local/src/lirc'
> Making all in drivers
> make[2]: Entering directory `/usr/local/src/lirc/drivers'
> Making all in lirc_dev
> make[3]: Entering directory `/usr/local/src/lirc/drivers/lirc_dev'
> DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR obj-m=lirc_dev.o modules)
> /usr/src/linux-2.4.20-19.23.rh9.at/scripts/pathdown.sh: line 4: 
> TOPDIR: parameter null or not set
> make[4]: Entering directory `/usr/src/linux-2.4.20-19.23.rh9.at'
> make -r -f tmp_include_depends all
> make[5]: Entering directory `/usr/src/linux-2.4.20-19.23.rh9.at'
> make[5]: Circular 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/asm/smplock.h <- 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/interrupt.h 
> dependency dropped.
> make[5]: Circular 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/netfilter_ipv4/ip_conntrack_helper.h 
> <- 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/netfilter_ipv4/ip_conntrack.h 
> dependency dropped.
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/usr/src/linux-2.4.20-19.23.rh9.at'
> make -C  /usr/local/src/lirc/drivers/lirc_dev CFLAGS="-D__KERNEL__ 
> -I/usr/src/linux-2.4.20-19.23.rh9.at/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
> -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 
> -march=i386 -DMODULE -DMODVERSIONS -include 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/modversions.h" 
> MAKING_MODULES=1 modules
> make[5]: Entering directory `/usr/local/src/lirc/drivers/lirc_dev'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-19.23.rh9.at/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
> -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 
> -march=i386 -DMODULE -DMODVERSIONS -include 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/modversions.h 
> -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. 
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=lirc_dev  -c -o 
> lirc_dev.o lirc_dev.c
> make[5]: Leaving directory `/usr/local/src/lirc/drivers/lirc_dev'
> make[4]: Leaving directory `/usr/src/linux-2.4.20-19.23.rh9.at'
> make[3]: Leaving directory `/usr/local/src/lirc/drivers/lirc_dev'
> Making all in lirc_i2c
> make[3]: Entering directory `/usr/local/src/lirc/drivers/lirc_i2c'
> DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR obj-m=lirc_i2c.o modules)
> /usr/src/linux-2.4.20-19.23.rh9.at/scripts/pathdown.sh: line 4: 
> TOPDIR: parameter null or not set
> make[4]: Entering directory `/usr/src/linux-2.4.20-19.23.rh9.at'
> make -r -f tmp_include_depends all
> make[5]: Entering directory `/usr/src/linux-2.4.20-19.23.rh9.at'
> make[5]: Circular 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/asm/smplock.h <- 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/interrupt.h 
> dependency dropped.
> make[5]: Circular 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/netfilter_ipv4/ip_conntrack_helper.h 
> <- 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/netfilter_ipv4/ip_conntrack.h 
> dependency dropped.
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/usr/src/linux-2.4.20-19.23.rh9.at'
> make -C  /usr/local/src/lirc/drivers/lirc_i2c CFLAGS="-D__KERNEL__ 
> -I/usr/src/linux-2.4.20-19.23.rh9.at/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
> -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 
> -march=i386 -DMODULE -DMODVERSIONS -include 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/modversions.h" 
> MAKING_MODULES=1 modules
> make[5]: Entering directory `/usr/local/src/lirc/drivers/lirc_i2c'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-19.23.rh9.at/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing 
> -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 
> -march=i386 -DMODULE -DMODVERSIONS -include 
> /usr/src/linux-2.4.20-19.23.rh9.at/include/linux/modversions.h 
> -DHAVE_CONFIG_H -I. -I. -I../.. -nostdinc -iwithprefix include 
> -DKBUILD_BASENAME=lirc_i2c  -c -o lirc_i2c.o lirc_i2c.c
> lirc_i2c.c: In function `set_use_inc':
> lirc_i2c.c:275: structure has no member named `inc_use'
> lirc_i2c.c:276: structure has no member named `inc_use'
> lirc_i2c.c: In function `set_use_dec':
> lirc_i2c.c:286: structure has no member named `dec_use'
> lirc_i2c.c:287: structure has no member named `dec_use'
> lirc_i2c.c: In function `ir_attach':
> lirc_i2c.c:384: structure has no member named `inc_use'
> lirc_i2c.c:385: structure has no member named `inc_use'
> lirc_i2c.c: In function `ir_detach':
> lirc_i2c.c:395: structure has no member named `dec_use'
> lirc_i2c.c:396: structure has no member named `dec_use'
> make[5]: *** [lirc_i2c.o] Error 1
> make[5]: Leaving directory `/usr/local/src/lirc/drivers/lirc_i2c'
> make[4]: *** [_mod_/usr/local/src/lirc/drivers/lirc_i2c] Error 2
> make[4]: Leaving directory `/usr/src/linux-2.4.20-19.23.rh9.at'
> make[3]: *** [lirc_i2c.o] Error 2
> make[3]: Leaving directory `/usr/local/src/lirc/drivers/lirc_i2c'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/lirc/drivers'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/lirc'
> make: *** [all] Error 2
> 
> ______________________________________________________________________
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list