ubuntu/lirc/lirc_gpio/lirc_gpio.c fails to compile properly, btcx-risc.h not found

Bug #438240 reported by Kristofer Monisit
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

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

Revision history for this message
Kristofer Monisit (kitfirstaid) wrote :
summary: - ubuntu/lirc/lirc_gpio/lirc_gpio.c fails to compile properly
+ ubuntu/lirc/lirc_gpio/lirc_gpio.c fails to compile properly, btcx-risc.h
+ not found
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Kristofer,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 438240

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.