[mythtv-users] lirc errors
Michael T. Dean
mtdean at thirdcontact.com
Thu May 6 23:56:38 EDT 2004
Jack Burghardt wrote:
> I can't compile lirc pre04 on 2.4.25 kernel when I compile lirc_serial
> I get
> rc_serial.c:109:2: warning: #warning "Note: using rdtsc instruction"
> lirc_serial.c:262: error: parse error before ';' token
> lirc_serial.c:263: error: parse error before ';' token
> make[3]: *** [lirc_serial.o] Error 1
> make[3]: Leaving directory `/mnt/t/lirc-0.7.0pre4/drivers/lirc_serial'
> make[2]: *** [_mod_/mnt/t/lirc-0.7.0pre4/drivers/lirc_serial] Error 2
> make[2]: Leaving directory `/mnt/t/usr/src/linux'
> make[1]: *** [lirc_serial.o] Error 2
> make[1]: Leaving directory `/mnt/t/lirc-0.7.0pre4/drivers/lirc_serial'
> make: *** [all] Error 2
Looks like you forgot to define the IRQ and port for the serial driver.
If you're using the configure script, make sure you include options like:
--with-port=0x3f8 --with-irq=4
If you're using setup.sh, you've probably selected something
incorrectly. (I don't care for/didn't use setup.sh, so I can't give you
any specific info.)
I used:
./configure --prefix=/opt --with-x --with-syslog \
--with-driver=serial --with-transmitter \
--with-kerneldir=/usr/src/linux-`uname -r` \
--with-port=0x3f8 --with-irq=4 2>&1 | tee cflog
to configure my driver.
Mike
More information about the mythtv-users
mailing list