Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#390907: lirc-modules-source: Does not compile with Linux 2.6.18

0 views
Skip to first unread message

Shaun Jackman

unread,
Oct 3, 2006, 12:30:13 PM10/3/06
to
Package: lirc-modules-source
Version: 0.8.0-7
Severity: important
Tags: upstream

In Linux 2.6.18, the file linux/devfs_fs_kernel.h is gone. Also
missing are the functions devfs_remove and devfs_mk_cdev.

Cheers,
Shaun

$ uname -a
Linux quince 2.6.18-1-k7 #1 SMP Sun Sep 24 14:15:14 UTC 2006 i686 GNU/Linux
$ dpkg -l linux-headers-2.6.18-1-k7 linux-image-2.6.18-1-k7
...
ii linux-headers- 2.6.18-1 Header files for Linux 2.6.18 on AMD K7
ii linux-image-2. 2.6.18-1 Linux 2.6.18 image on AMD K7
$ dpkg -l
$ make
make all-recursive
make[1]: Entering directory `/home/sjackman/src/debian/lirc-0.8.0'
Making all in drivers
make[2]: Entering directory `/home/sjackman/src/debian/lirc-0.8.0/drivers'
Making all in lirc_dev
make[3]: Entering directory
`/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.18-1-k7/build/
SUBDIRS=/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev modules
\
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-headers-2.6.18-1-k7'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or
include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel
src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/.tmp_versions
rm -f /home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build
obj=/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev
gcc-4.1 -m32
-Wp,-MD,/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/.lirc_dev.o.d
-nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall
-Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Os -pipe -msoft-float -mpreferred-stack-boundary=2
-march=athlon -mregparm=3 -ffreestanding
-Iinclude/asm-i386/mach-default -fomit-frame-pointer
-fno-stack-protector -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_dev/../..
-I/lib/modules/2.6.18-1-k7/build//include/ -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)"
-D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/.tmp_lirc_dev.o
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:54:35:
error: linux/devfs_fs_kernel.h: No such file or directory
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In
function 'cleanup':
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:132:
warning: implicit declaration of function 'devfs_remove'
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In
function 'lirc_register_plugin':
/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:381:
warning: implicit declaration of function 'devfs_mk_cdev'
make[5]: *** [/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev/lirc_dev.o]
Error 1
make[4]: *** [_module_/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev]
Error 2
make[4]: Leaving directory `/usr/src/linux-headers-2.6.18-1-k7'
make[3]: *** [lirc_dev.o] Error 2
make[3]: Leaving directory
`/home/sjackman/src/debian/lirc-0.8.0/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sjackman/src/debian/lirc-0.8.0/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sjackman/src/debian/lirc-0.8.0'
make: *** [all] Error 2


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Marco Cabizza

unread,
Oct 3, 2006, 7:10:11 PM10/3/06
to
severity 390907 grave
thanks

I'm raising the severity as the Debian Kernel team is pushing to get
2.6.18 in etch, and therefore this bug becomes release critical.

Of course it won't be *that* critical if we keep 2.6.17 :)

Ciao
~marco

signature.asc
0 new messages