Red Hat Bugzilla – Bug 205822
kernel-devel: bttvp.h requires non-existent header (btcx-risc.h)
Last modified: 2015-01-04 17:28:38 EST
Description of problem:
The drivers/media/video/bt8xx/bttvp.h header contains the statement:
btcx-risc.h does not exist in the same directory, but in the parent, so kernel
modules that require bttvp.h fail to compile.
Version-Release number of selected component (if applicable):
2.6.17-1.2174_FC5 and generally in 2.6.17 kernels where the bt8xx files where
Example: I could not build the LIRC module lirc_gpio, even after correcting the
paths to bttv.h and bttvp.h in its source. The module could be compiled after i
copied btcx-risc.h into the drivers/media/video/bt8xx/ directory.
Steps to Reproduce:
from that header file..
bttv's *private* header file -- nobody other than bttv itself
should ever include this file.
lirc shouldn't be using this. If this was meant to be used by out of tree
modules, it would be in include/
So, lirc_gpio source is the exclusive cause of the problem. I thought otherwise
because the lirc module could be compiled after I copied the "btcx-risc.h"
header into the new bt8xx directory in the kernel tree and I thought that the
problem was in the bttvp.h header.
Thanks for clearing this out because I was only trying to guess, taking into
account my very little knowledge of C.
Also, I made a mistake in the bug title. This problem actually *is not* related
to kernel-devel. The bttv related headers are completely missing from this
package. I used the kernel SRPM.