[pvrusb2] problems compiling the latest snapshot

Aljaž Prusnik prusnik at gmail.com
Wed Jun 3 11:04:51 CDT 2009


Hi!

I have problems compiling the latest snapshot driver. I'm constantly
hitting on "no such file or directory" despite kernel sources being
there where they're supposed to be (the log below). But despite
including all the necessary files in the drivers directory (moving them
form the source into pvrusb2/driver) I still get errors when compiling.
Any ideas?
This is Debian Lenny box, running a custom 2.6.29 or debian stock kernel
from sid (2.6.29). Compiling against stock kernel 2.6.26 is ok.


Then I chose to compile it on mythbuntu 9.04. It did compile but when I
connected the device the process stopped when it said it is loading the
v4l-cx2341x-enc.fw file but tt is never loaded (it stops on the message
"loading the firmware...". I tried the CD firmware, the beta 4.8a
drivers. It's all the same.

Since a couple of you are already running the latest snapshot, I was
wondering how you did it. I have a HVR-1900 that still needs a working
digital tuner, that's why I decided to try again with the new snapshot
driver to check if the digital tuning indeed is fixed. But anyhow - any
words on that additional firmware file I talked about a while ago? I
found the firmware here as well for the HVR-1700 device:
http://steventoth.net/linux/


make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.29.4-custom/source
M=/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/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 `/home/public/temp/kernel/linux-2.6.29.4'
  CC
[M]  /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-ctrl.o
In file included
from /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-devattr.h:28,

from /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-hdw-internal.h:58,

from /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-ctrl.c:24:
/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-dvb.h:5:26: error: dvb_frontend.h: No such file or directory
/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-dvb.h:6:23: error: dvb_demux.h: No such file or directory
/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-dvb.h:7:21: error: dvb_net.h: No such file or directory
/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-dvb.h:8:20: error: dmxdev.h: No such file or directory
In file included
from /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-devattr.h:28,

from /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-hdw-internal.h:58,

from /share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-ctrl.c:24:
/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-dvb.h:17: error: field ‘dvb_adap’ has incomplete type
/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-dvb.h:18: error: field ‘dmxdev’ has incomplete type
/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-dvb.h:19: error: field ‘demux’ has incomplete type
/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-dvb.h:20: error: field ‘dvb_net’ has incomplete type
make[2]: ***
[/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver/pvrusb2-ctrl.o] Error 1
make[1]: ***
[_module_/share/dmz/hardware/Hauppauge/pvrusb2-mci-20090509/driver]
Error 2
make[1]: Leaving directory `/home/public/temp/kernel/linux-2.6.29.4'
make: *** [modules] Error 2




More information about the pvrusb2 mailing list