Public bug reported: Upon compiling the 2.6.31 kernel with Ubuntu patch 11.36, I get the following errors, and compilation stops
CC [M] ubuntu/lirc/lirc_dev/lirc_dev.o CC [M] ubuntu/lirc/lirc_gpio/lirc_gpio.o In file included from ubuntu/lirc/lirc_gpio/lirc_gpio.c:56: include/../drivers/media/video/bt8xx/bttvp.h:49:23: error: btcx-risc.h: No such file or directory In file included from ubuntu/lirc/lirc_gpio/lirc_gpio.c:56: include/../drivers/media/video/bt8xx/bttvp.h:141: error: field ‘top’ has incomplete type include/../drivers/media/video/bt8xx/bttvp.h:142: error: field ‘bottom’ has incomplete type include/../drivers/media/video/bt8xx/bttvp.h:420: error: field ‘main’ has incomplete type ubuntu/lirc/lirc_gpio/lirc_gpio.c:82:1: warning: "dprintk" redefined include/../drivers/media/video/bt8xx/bttvp.h:285:1: warning: this is the location of the previous definition ubuntu/lirc/lirc_gpio/lirc_gpio.c: In function ‘get_queue’: ubuntu/lirc/lirc_gpio/lirc_gpio.c:404: error: implicit declaration of function ‘bttv_get_gpio_queue’ ubuntu/lirc/lirc_gpio/lirc_gpio.c:404: warning: return makes pointer from integer without a cast ubuntu/lirc/lirc_gpio/lirc_gpio.c: In function ‘init_module’: ubuntu/lirc/lirc_gpio/lirc_gpio.c:515: error: implicit declaration of function ‘bttv_get_cardinfo’ make[4]: *** [ubuntu/lirc/lirc_gpio/lirc_gpio.o] Error 1 make[3]: *** [ubuntu/lirc/lirc_gpio] Error 2 make[2]: *** [ubuntu/lirc] Error 2 make[1]: *** [ubuntu] Error 2 make[1]: Leaving directory `/home/kit/linux/linux-2.6.31' make: *** [debian/stamp/build/kernel] Error 2 $ I decided to skip LIRC altogether by disabling it in make menuconfig (Ubuntu Supplied Third-Party Device Drivers --> LIRC device support) Here is my investigation regarding the matter: Looking around the directory ~/linux/linux-2.6.31/drivers/media/video/bt8xx/ btcx-risc.h indeed doesn't exist. However, btcx-risc.h resides a directory level higher, in ~/linux/linux-2.6.31/drivers/media/video/ Will copying btcx-risc.h to the bt8xx directory eliminate the compile problems presented by LIRC? ProblemType: Bug Architecture: i386 CurrentDmesg: [ 58.377134] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX [ 68.756154] eth0: no IPv6 routers present [ 1421.597855] psmouse.c: Explorer Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away. Dependencies: DistroRelease: Ubuntu 9.04 HibernationDevice: RESUME=UUID=c923e44c-2a38-4be7-87bd-7ba76d84c53d Lsusb: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: innotek GmbH VirtualBox Package: linux-source-2.6.31 None [modified: /var/lib/dpkg/info/linux-source-2.6.31.list] PackageArchitecture: all ProcCmdLine: root=UUID=92800887-86bf-4575-8b04-afd6702157f8 ro splash ProcEnviron: SHELL=/bin/bash LANG=en_PH.UTF-8 ProcVersionSignature: Ubuntu 2.6.28-15.49-generic SourcePackage: linux UnreportableReason: This is not a genuine Ubuntu package ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug compile i386 kernel lirc -- ubuntu/lirc/lirc_gpio/lirc_gpio.c fails to compile properly, btcx-risc.h not found https://bugs.launchpad.net/bugs/438240 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs