[Pkg-lirc-maint] Bug#446650: lirc-modules-source: Still not working with patch applied.
Leandro Lucarella
luca at llucax.com.ar
Wed Oct 24 16:33:27 UTC 2007
Package: lirc-modules-source
Version: 0.8.0-13
Followup-For: Bug #446650
I have applied the patch attached in the bug report and still can't build it.
I uncomressed the tarball in modules subdirectory, applied the patch and
executed: fakeroot make-kpkg --revision luca1 modules_image
(I have previously run 'fakeroot make-kpkg --revision luca1 kernel_image' fine)
This is the error I get:
make[1]: se ingresa al directorio `/usr/src/modules/lirc'
/usr/bin/make -w -f debian/rules binary-modules
make[2]: se ingresa al directorio `/usr/src/modules/lirc'
sed -e "s!\$KVERS!2.6.23.1!g; s!\$KSRC!/usr/src/linux!; s!\$KARCH!i386!; s!\$KEMAIL!unknown at unconfigured.in.etc.kernel-pkg.conf!; s!\$KMAINT!Unknown Kernel Package Maintainer!; s!\$KDREV!luca1!; s!\$DEBDATE!mié, 24 oct 2007 13:26:34 -0300!" debian/control.in > debian/control
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make debconf
make[3]: se ingresa al directorio `/usr/src/modules/lirc'
mkdir modules
/usr/bin/make -C drivers SUBDIRS="lirc_dev"
make[4]: se ingresa al directorio `/usr/src/modules/lirc/drivers'
Making all in lirc_dev
make[5]: se ingresa al directorio `/usr/src/modules/lirc/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/lirc/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[6]: se ingresa al directorio `/usr/src/linux-2.6.23.1'
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 /usr/src/modules/lirc/drivers/lirc_dev/.tmp_versions
rm -f /usr/src/modules/lirc/drivers/lirc_dev/.tmp_versions/*
/usr/bin/make -f scripts/Makefile.build obj=/usr/src/modules/lirc/drivers/lirc_dev
gcc -m32 -Wp,-MD,/usr/src/modules/lirc/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccumulate-outgoing-args -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/usr/src/modules/lirc/drivers/lirc_dev/../.. -I/usr/src/linux/include/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /usr/src/modules/lirc/drivers/lirc_dev/.tmp_lirc_dev.o /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c
Building modules, stage 2.
/usr/bin/make -f /usr/src/linux-2.6.23.1/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-2.6.23.1/Module.symvers -I /usr/src/modules/lirc/drivers/lirc_dev/Module.symvers -o /usr/src/modules/lirc/drivers/lirc_dev/Module.symvers -w -s
gcc -m32 -Wp,-MD,/usr/src/modules/lirc/drivers/lirc_dev/.lirc_dev.mod.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev.mod)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -DMODULE -c -o /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.mod.o /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.mod.c
ld -m elf_i386 -r -m elf_i386 --build-id -o /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.ko /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.o /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.mod.o
make[6]: se sale del directorio `/usr/src/linux-2.6.23.1'
mv Makefile.automake Makefile
make[5]: se sale del directorio `/usr/src/modules/lirc/drivers/lirc_dev'
make[5]: se ingresa al directorio `/usr/src/modules/lirc/drivers'
make[5]: No se hace nada para `all-am'.
make[5]: se sale del directorio `/usr/src/modules/lirc/drivers'
make[4]: se sale del directorio `/usr/src/modules/lirc/drivers'
cp drivers/lirc_dev/lirc_dev.ko modules
/usr/bin/make -C drivers SUBDIRS="lirc_gpio"
make[4]: se ingresa al directorio `/usr/src/modules/lirc/drivers'
Making all in lirc_gpio
make[5]: se ingresa al directorio `/usr/src/modules/lirc/drivers/lirc_gpio'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/lirc/drivers/lirc_gpio modules \
KBUILD_VERBOSE=1
make[6]: se ingresa al directorio `/usr/src/linux-2.6.23.1'
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 /usr/src/modules/lirc/drivers/lirc_gpio/.tmp_versions
rm -f /usr/src/modules/lirc/drivers/lirc_gpio/.tmp_versions/*
/usr/bin/make -f scripts/Makefile.build obj=/usr/src/modules/lirc/drivers/lirc_gpio
gcc -m32 -Wp,-MD,/usr/src/modules/lirc/drivers/lirc_gpio/.lirc_gpio.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -ffreestanding -maccumulate-outgoing-args -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/usr/src/modules/lirc/drivers/lirc_gpio/../.. -I/usr/src/linux/include/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_gpio)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_gpio)" -c -o /usr/src/modules/lirc/drivers/lirc_gpio/.tmp_lirc_gpio.o /usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c
In file included from /usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:66:
include/../drivers/media/video/bt8xx/bttvp.h:52:23: error: btcx-risc.h: No existe el fichero o el directorio
In file included from /usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:66:
include/../drivers/media/video/bt8xx/bttvp.h:142: error: field ‘top’ has incomplete type
include/../drivers/media/video/bt8xx/bttvp.h:143: error: field ‘bottom’ has incomplete type
include/../drivers/media/video/bt8xx/bttvp.h:414: error: field ‘main’ has incomplete type
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:93:1: warning: "dprintk" redefined
include/../drivers/media/video/bt8xx/bttvp.h:283:1: warning: this is the location of the previous definition
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c: In function ‘get_queue’:
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:369: error: implicit declaration of function ‘bttv_get_gpio_queue’
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:369: warning: return makes pointer from integer without a cast
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c: In function ‘init_module’:
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:481: error: implicit declaration of function ‘bttv_get_cardinfo’
make[7]: *** [/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.o] Error 1
make[6]: *** [_module_/usr/src/modules/lirc/drivers/lirc_gpio] Error 2
make[6]: se sale del directorio `/usr/src/linux-2.6.23.1'
make[5]: *** [lirc_gpio.o] Error 2
make[5]: se sale del directorio `/usr/src/modules/lirc/drivers/lirc_gpio'
make[4]: *** [all-recursive] Error 1
make[4]: se sale del directorio `/usr/src/modules/lirc/drivers'
make[3]: *** [gpio] Error 2
make[3]: se sale del directorio `/usr/src/modules/lirc'
make[2]: *** [build-stamp] Error 2
make[2]: se sale del directorio `/usr/src/modules/lirc'
make[1]: *** [kdist_image] Error 2
make[1]: se sale del directorio `/usr/src/modules/lirc'
Module /usr/src/modules/lirc failed.
Hit return to Continue
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (99, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-k7 (SMP w/1 CPU core)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lirc-modules-source depends on:
ii debconf [debconf-2.0] 1.5.15 Debian configuration management sy
ii debhelper 5.0.59 helper programs for debian/rules
ii debianutils 2.26 Miscellaneous utilities specific t
ii ucf 3.003 Update Configuration File: preserv
Versions of packages lirc-modules-source recommends:
ii dpkg-dev 1.14.7 package building tools for Debian
ii gcc [c-compiler] 4:4.2.1-6 The GNU C compiler
ii gcc-3.3 [c-compiler 1:3.3.6-15 The GNU C compiler
ii gcc-3.4 [c-compiler 3.4.6-6 The GNU C compiler
ii gcc-4.0 [c-compiler 4.0.3-7 The GNU C compiler
ii gcc-4.1 [c-compiler 4.1.2-17 The GNU C compiler
ii gcc-4.2 [c-compiler 4.2.2-3 The GNU C compiler
ii kernel-package 11.001 A utility for building Linux kerne
ii make 3.81-3 The GNU version of the "make" util
ii tcc [c-compiler] 0.9.24~cvs20070502-2 the smallest ANSI C compiler
-- debconf information:
lirc-modules-source/use_lirc_hints: true
lirc-modules-source/parallel_irq: 7
* lirc-modules-source/do-build: false
lirc-modules-source/parallel_timer: 65536
lirc-modules-source/serial_transmitter: true
lirc-modules-source/not_needed:
lirc-modules-source/serial_port: 0x2f8
* lirc-modules-source/drivers: gpio
lirc-modules-source/serial_irq: 3
lirc-modules-source/serial_type: Other
* lirc-modules-source/kernel-source: /usr/src/linux/
lirc-modules-source/sir_port: 0x2f8
lirc-modules-source/parallel_port: 0x378
* lirc-modules-source/what_next:
lirc-modules-source/sir_type: Other
lirc-modules-source/serial_softcarrier: false
* lirc-modules-source/kernel-source-not-found:
lirc-modules-source/it87_type: Standard
lirc-modules-source/sir_irq: 3
More information about the Pkg-lirc-maint
mailing list