Bug 205822 - kernel-devel: bttvp.h requires non-existent header (btcx-risc.h)
Summary: kernel-devel: bttvp.h requires non-existent header (btcx-risc.h)
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 5
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2006-09-08 18:26 UTC by Raoul
Modified: 2015-01-04 22:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-09-11 03:29:56 UTC
Type: ---

Attachments (Terms of Use)

Description Raoul 2006-09-08 18:26:50 UTC
Description of problem:
The drivers/media/video/bt8xx/bttvp.h header contains the statement:
#include "btcx-risc.h"
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

How reproducible:
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:
Actual results:

Expected results:

Additional info:

Comment 1 Dave Jones 2006-09-11 03:29:56 UTC
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/

Comment 2 Raoul 2006-09-11 14:41:04 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.