[linux-dvb] move headers from drivers/media/dvb/dvb-core to include/linux/dvb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why is it that these headers are located in drivers/media/dvb/dvb-core 
?  Can we move them into include/linux/dvb ??  If so, I think we should 
do it now, so that we can make this change in kernel 2.6.15.  If not, 
please explain why they need to stay where they are.  I am asking 
this,because representatives from both the ubuntu and fedora kernel 
teams have approached me on this issue.  They want to be able to include 
all of these headers with their distributions, but do not want to force 
all users to have the full kernel sources on-hand.

Currently, users are getting problems like the following when compiling 
video4linux cvs:

In file included from /usr/src/cvs/video4linux/cx88.h:33, 
                from /usr/src/cvs/video4linux/cx88-video.c:37: 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:5:20: dvbdev.h: No such file or directory 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:6:20: dmxdev.h: No such file or directory 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:7:23: dvb_demux.h: No such file or directory 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:8:21: dvb_net.h: No such file or directory 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:9:26: dvb_frontend.h: No such file or directory  
In file included from /usr/src/cvs/video4linux/cx88.h:33, 
                from /usr/src/cvs/video4linux/cx88-video.c:37: 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:28: error: field `demux' has incomplete type 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:29: error: field `dmxdev' has incomplete type 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:30: error: field `fe_hw' has incomplete type 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:31: error: field `fe_mem' has incomplete type 
/usr/src/cvs/video4linux/media/video-buf-dvb.h:32: error: field `net' has incomplete type 
make[2]: *** [/usr/src/cvs/video4linux/cx88-video.o] Error 1 
make[1]: *** [_module_/usr/src/cvs/video4linux] Error 2 
make[1]: Leaving directory `/usr/src/linux-headers-2.6.11-1-686' 


I have included these headers in the tree-merging scripts, but this is 
more of a workaround than a fix.  The real fix would be to move them 
into /include/linux/dvb .... Any opposed?

-- 
Michael Krufky




[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux