[Pkg-lirc-maint] Bug#378395: lirc-modules-source: lirc_gpio won't compile with 2.6.17

Jorge S. de Lis gentakojima at gmail.com
Sun Jul 16 02:40:49 UTC 2006


Package: lirc-modules-source
Version: 0.8.0-5
Severity: normal

*** Please type your report below this line ***

It won't compile since bttv.h is now located in a different place.
Old path is drivers/media/video/bttv.h while 2.6.17 path is
drivers/media/video/bt8xx/bttv.h

I tried to fix this by myself but I can't understand all the
Makefile mess. Sorry.

A patch is proposed in [1] but it doesn't seem to apply to the
Debian package Makefiles.

[1] http://www.nabble.com/Compiling-CVS-on-2.6.17-t1904520.html

Symlinking the bttv.h and bttvp.h files to expected path solves
it too. I've made this for now in my system.

Build output:

  gcc -m32 -Wp,-MD,/usr/src/modules/lirc/drivers/lirc_gpio/.lirc_gpio.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 -O2
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
-march=i686 -mtune=pentium4 -ffreestanding -Iinclude/asm-i386/mach-default
-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-2.6.17.4/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/lirc_gpio.o
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:56:41: error:
../drivers/media/video/bttv.h: No existe el fichero o el directorio
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:57:42: error:
../drivers/media/video/bttvp.h: No existe el fichero o el directorio
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:61:5: warning:
"BTTV_VERSION_CODE" is not defined
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:62:2: error: #error
"*******************************************************"
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:63:2: error: #error "
Sorry, this driver needs bttv version 0.7.45 or       "
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:64:2: error: #error "
higher. If you are using the bttv package, copy it to "
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:65:2: error: #error "
the kernel                                            "
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:66:2: error: #error
"*******************************************************"
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:76: error:
'BTTV_BOARD_UNKNOWN' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:103: error:
'BTTV_BOARD_PXELVWPLTVPAK' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:104: error:
'BTTV_BOARD_PXELVWPLTVPRO' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:105: error:
'BTTV_BOARD_PV_BT878P_9B' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:106: error:
'BTTV_BOARD_PV_BT878P_PLUS' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:107: error:
'BTTV_BOARD_AVERMEDIA' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:108: error:
'BTTV_BOARD_AVPHONE98' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:109: error:
'BTTV_BOARD_AVERMEDIA98' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:117: error:
'BTTV_BOARD_CHRONOS_VS2' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:120: error:
'BTTV_BOARD_MIRO' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:121: error:
'BTTV_BOARD_DYNALINK' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:122: error:
'BTTV_BOARD_WINVIEW_601' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:127: error:
'BTTV_BOARD_MAGICTVIEW061' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:128: error:
'BTTV_BOARD_MAGICTVIEW063' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:129: error:
'BTTV_BOARD_PHOEBE_TVMAS' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:135: error:
'BTTV_BOARD_FLYVIDEO' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:136: error:
'BTTV_BOARD_FLYVIDEO_98' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:137: error:
'BTTV_BOARD_TYPHOON_TVIEW' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:147: error:
'BTTV_BOARD_WINFAST2000' undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c: In function
'build_key':
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:198: warning: implicit
declaration of function 'bttv_write_gpio'
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:202: warning: implicit
declaration of function 'bttv_read_gpio'
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c: In function
'get_queue':
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:360: warning: implicit
declaration of function 'bttv_get_gpio_queue'
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:360: warning: return
makes pointer from integer without a cast
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c: In function
'gpio_remote_init':
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:410: warning: implicit
declaration of function 'bttv_gpio_enable'
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c: In function
'init_module':
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:472: warning: implicit
declaration of function 'bttv_get_cardinfo'
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:479: warning: comparison
between pointer and integer
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:501: warning: comparison
between pointer and integer
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:502: warning: assignment
makes integer from pointer without a cast
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:504: warning: comparison
between pointer and integer
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:505: warning: assignment
makes integer from pointer without a cast
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:507: warning: comparison
between pointer and integer
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:508: warning: assignment
makes integer from pointer without a cast
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:510: warning: comparison
between pointer and integer
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:511: warning: assignment
makes integer from pointer without a cast
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.17.4'
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.




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.4
Locale: LANG=es_ES at UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=ISO-8859-15) (ignored: LC_ALL set to es_ES at euro)

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

Versions of packages lirc-modules-source recommends:
ii  dpkg-dev                     1.13.22     package building tools for Debian
ii  gcc [c-compiler]             4:4.1.1-3   The GNU C compiler
ii  gcc-2.95 [c-compiler]        1:2.95.4-26 The GNU C compiler
ii  gcc-3.3 [c-compiler]         1:3.3.6-13  The GNU C compiler
ii  gcc-3.4 [c-compiler]         3.4.6-3     The GNU C compiler
ii  gcc-4.0 [c-compiler]         4.0.3-4     The GNU C compiler
ii  gcc-4.1 [c-compiler]         4.1.1-8     The GNU C compiler
ii  kernel-package               10.049      A utility for building Linux kerne
ii  make                         3.81-2      The GNU version of the "make" util

-- debconf information:
* lirc-modules-source/use_lirc_hints: true
  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/kernel-source: /usr/src/linux/
  lirc-modules-source/parallel_port: 0x378
  lirc-modules-source/sir_type: Other
* lirc-modules-source/kernel-source-not-found:
  lirc-modules-source/it87_type: Standard
  lirc-modules-source/sir_irq: 3
  lirc-modules-source/parallel_irq: 7
  lirc-modules-source/do-build: false
  lirc-modules-source/parallel_timer: 65536
  lirc-modules-source/serial_type: Other
  lirc-modules-source/sir_port: 0x2f8
* lirc-modules-source/what_next:
  lirc-modules-source/serial_softcarrier: false




More information about the Pkg-lirc-maint mailing list