[pvrusb2] New driver snapshot: pvrusb2-mci-20091124
Mike Isely
isely at isely.net
Mon Dec 21 22:40:49 CST 2009
See below...
On Fri, 18 Dec 2009, Mark Goldberg wrote:
> On Tue, Nov 24, 2009 at 10:05 PM, Mike Isely wrote:
> >
> > A new pvrusb2 driver snapshot is available. The one change is:
>
> If I attempt to build this on Fedora 10, I get this. Looking back at
> the list, this problem was supposed
> to be fixed, but it appears that it is there on Fedora 10.
>
> pvrusb2-mci-20090616 builds fine.
>
I believe that the 20090616 snapshot had the problem where the DVB
compilation pieces were disabled. Since the trouble below involved
compiling those DVB pieces then of course that snapshot will have built
successfully.
I just checked the change history, and sure enough the next snapshot
(20090626) has the fix that enables DVB compilation for the standalone
driver. So this behavior is explained. See here:
http://www.isely.net/pvrusb2/history.html#pvrusb2-mci-20090626
> There is no dvb_frontend.h in the tree pointed to by
> /lib/modules/2.6.27.41-170.2.117.fc10.x86_64/source. There is one in
> /usr/src/redhat/BUILD/kernel-2.6.27/linux-2.6.27.x86_64 where I have
> the full kernel build tree, but if I build against that i get lots of
> compile errors.
Yes, but dvb_frontend.h is a required header and it is a part of th
enormal source tree. If this header isn't in
/lib/modules/2.6.27.41-170.2.117.fc10.x86_64/source then that source
tree is incomplete and there's no way it is going to compile correctly.
>
> make: Entering directory `/root/downloads/pvrusb2-mci-20091124/driver'
> make INSTALL_MOD_DIR=pvrusb2 -C
> /lib/modules/2.6.27.41-170.2.117.fc10.x86_64/source
> M=/root/downloads/pvrusb2-mci-20091124/driver CONFIG_VIDEO_PVRUSB2=m
> CONFIG_VIDEO_PVRUSB2_24XXX=y CONFIG_VIDEO_PVRUSB2_SYSFS=y
> CONFIG_VIDEO_PVRUSB2_DVB=y CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y
> CONFIG_VIDEO_ADV_DEBUG=y clean
> make[1]: Entering directory `/usr/src/kernels/2.6.27.41-170.2.117.fc10.x86_64'
> CLEAN /root/downloads/pvrusb2-mci-20091124/driver/.tmp_versions
> make[1]: Leaving directory `/usr/src/kernels/2.6.27.41-170.2.117.fc10.x86_64'
> make: Leaving directory `/root/downloads/pvrusb2-mci-20091124/driver'
> make: Entering directory `/root/downloads/pvrusb2-mci-20091124/driver'
> make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.27.41-170.2.117.fc10.x86_64/source
> M=/root/downloads/pvrusb2-mci-20091124/driver CONFIG_VIDEO_PVRUSB2=m
> CONFIG_VIDEO_PVRUSB2_24XXX=y CONFIG_VIDEO_PVRUSB2_SYSFS=y
> CONFIG_VIDEO_PVRUSB2_DVB=y CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y
> CONFIG_VIDEO_ADV_DEBUG=y modules
> make[1]: Entering directory `/usr/src/kernels/2.6.27.41-170.2.117.fc10.x86_64'
> CC [M] /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-std.o
> CC [M] /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-compat.o
> CC [M] /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-ctrl.o
> In file included from /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-devattr.h:28,
> from /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-hdw-internal.h:58,
> from /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-ctrl.c:24:
> /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-dvb.h:5:26: error: dvb_frontend.h: No such file or directory
In my test builds here, this missing header is supposed to be found as
drivers/media/dvb/dvb-core/dvb_frontend.h within the source tree. It
needs to be there, full stop.
I can't explain what is happening when you try to build against that
other "full tree". Perhaps this distro is doing something strange with
its kernel trees.
One thing you can try is just download a vanilla kernel tarball from
kernel.org and build it directly. Very likely that it will work fine on
your system - I do this all the time in Debian. In this case you will
get a kernel source tree that can be used successfully to build other
stuff out-of-tree.
> /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-dvb.h:6:23: error:
> dvb_demux.h: No such file or directory
> /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-dvb.h:7:21: error:
> dvb_net.h: No such file or directory
> /root/downloads/pvrusb2-mci-20091124/driver/pvrusb2-dvb.h:8:20: error:
> dmxdev.h: No such file or directory
[...]
I'm sure the rest of this is all different aspects of the same problem,
that being that your "source" tree used here is missing pieces from it.
-Mike
--
Mike Isely
isely @ isely (dot) net
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8
More information about the pvrusb2
mailing list