Package: lirc-modules-source
Version: 0.7.2-2
Followup-For: Bug #342573

in file drivers/lirc_gpio/lirc_gpio.c line 52 :

#if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,12)
#include "extra_2.6.12/bttv.h"
#include "extra_2.6.12/bttvp.h"
#else
#include "../drivers/media/video/bttv.h"
#include "../drivers/media/video/bttvp.h"
#endif

I change the kernel version check with a >= test

It compile clean with these warning:

/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:84:1: warning: "dprintk" 
redefined
In file included from /usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:54:
/usr/src/modules/lirc/drivers/lirc_gpio/extra_2.6.12/bttvp.h:226:1: warning: 
this is the location of the previous definition
  Building modules, stage 2.
  /usr/bin/make -rR -f 
/usr/src/linux-headers-2.6.15-1-k7/scripts/Makefile.modpost  
scripts/mod/modpost -m  -i /usr/src/linux-headers-2.6.15-1-k7/Module.symvers 
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.o
  *** Warning: "lirc_unregister_plugin" 
[/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.ko] undefined!
  *** Warning: "lirc_register_plugin" 
[/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.ko] undefined!

I do not care too much about first warning, but I could not understand
the last two, does it happen with older version (of kernel, for example 2.6.12)?

(does lirc support bttv version 1? is this related just to gpio driver?)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages lirc-modules-source depends on:
ii  debconf [debconf-2.0]         1.4.70     Debian configuration management sy
ii  debhelper                     5.0.22     helper programs for debian/rules
ii  debianutils                   2.15.2     Miscellaneous utilities specific t
ii  ucf                           2.005      Update Configuration File: preserv

Versions of packages lirc-modules-source recommends:
ii  dpkg                      1.13.16        package maintenance system for Deb
ii  dpkg-dev                  1.13.16        package building tools for Debian
ii  gcc [c-compiler]          4:4.0.2-2      The GNU C compiler
ii  gcc-3.3 [c-compiler]      1:3.3.6-12     The GNU C compiler
ii  gcc-4.0 [c-compiler]      4.0.2-9        The GNU C compiler
ii  kernel-package            10.035         A utility for building Linux kerne
ii  make                      3.80+3.81.b4-1 The GNU version of the "make" util

-- 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/kernel-source-2.6.11-1-k7
  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/sir_irq: 3


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to