[Pkg-lirc-maint] Bug#390945: lirc-modules-source: Does not compile
with Linux 2.6.16
Shaun Jackman
sjackman at gmail.com
Wed Oct 4 00:57:00 UTC 2006
package lirc-modules-source
severity 390945 serious
thanks
Lirc does not compile with Linux 2.6.16 in the same manner as Linux
2.6.17. Lirc does compile with Linux 2.6.15. Unfortunately, Linux
2.6.15 is no longer in testing or unstable. As such, the severity of
this bug is RC.
Cheers,
Shaun
$ uname -a
Linux quince 2.6.16-2-k7 #1 Fri Aug 18 19:48:42 UTC 2006 i686 GNU/Linux
$ dpkg -l linux-image-2.6.16-2-k7 linux-headers-2.6.16-2-k7
...
ii linux-headers- 2.6.16-18 Header files for Linux kernel 2.6.16 on AMD
ii linux-image-2. 2.6.16-18 Linux kernel 2.6.16 image on AMD K7 machines
$ make -C drivers SUBDIRS=lirc_i2c
make: Entering directory `/home/sjackman/src/debian/lirc-0.8.0/drivers'
Making all in lirc_i2c
make[1]: Entering directory
`/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.16-2-k7/build/
SUBDIRS=/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c modules
\
KBUILD_VERBOSE=1
make[2]: Entering directory `/usr/src/linux-headers-2.6.16-2-k7'
mkdir -p /home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/.tmp_versions
make -f scripts/Makefile.build
obj=/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c
gcc-4.0 -m32
-Wp,-MD,/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/.lirc_i2c.o.d
-nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall
-Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -ffreestanding -Os -fomit-frame-pointer -pipe
-msoft-float -mpreferred-stack-boundary=2 -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H
-I. -I. -I../..
-I/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/../..
-I/lib/modules/2.6.16-2-k7/build//include/ -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_i2c)"
-D"KBUILD_MODNAME=KBUILD_STR(lirc_i2c)" -c -o
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/.tmp_lirc_i2c.o
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/lirc_i2c.c
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/lirc_i2c.c:363:
error: unknown field 'name' specified in initializer
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/lirc_i2c.c:363:
warning: initialization makes integer from pointer without a cast
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/lirc_i2c.c:364:
error: 'I2C_DRIVERID_EXP3' undeclared here (not in a function)
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/lirc_i2c.c:365:
error: unknown field 'flags' specified in initializer
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/lirc_i2c.c:365:
error: 'I2C_DF_NOTIFY' undeclared here (not in a function)
make[3]: *** [/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c/lirc_i2c.o]Error
1
make[2]: *** [_module_/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c]
Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.16-2-k7'
make[1]: *** [lirc_i2c.o] Error 2
make[1]: Leaving directory
`/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_i2c'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/sjackman/src/debian/lirc-0.8.0/drivers'
More information about the Pkg-lirc-maint
mailing list