[pvrusb2] Compile issue

Mike Isely isely at isely.net
Fri Dec 9 00:41:09 CST 2005


On Fri, 9 Dec 2005, cardboil wrote:

> I assume you mean the compat.h file in the driver folder in the pvrusb
> source directory.  When I commented out the check for kernel 2.6.15 part, I
> get a new set of make errors:
>
> make INSTALL_MOD_DIR=pvrusb2 -C
> /lib/modules/2.6.14-1.1644_FC4/buildM=/home/mythtv/pvrusb2-mci-20051206/driver
> CONFIG_VIDEO_PVRUSB2=m modules
> make[1]: Entering directory `/usr/src/kernels/2.6.14-1.1644_FC4-i686'
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-audio.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-encoder.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video.o
>  CC [M]  /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.o
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.c:44:31: error:
> media/v4l2-common.h: No such file or directory
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.c: In function
> 'pvr2_decoder_v4l_set_audio':
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.c:181: error:
> storage size of 'val' isn't known
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.c:188: error:
> 'V4L2_AUDCLK_48_KHZ' undeclared (first use in this function)
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.c:188: error:
> (Each undeclared identifier is reported only once
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.c:188: error: for
> each function it appears in.)
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.c:191: error:
> 'V4L2_AUDCLK_441_KHZ' undeclared (first use in this function)
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.c:194: error:
> 'VIDIOC_INT_AUDIO_CLOCK_FREQ' undeclared (first use in this function)
> /home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.c:181: warning:
> unused variable 'val'
> make[2]: *** [/home/mythtv/pvrusb2-mci-20051206/driver/pvrusb2-video-v4l.o]
> Error 1
> make[1]: *** [_module_/home/mythtv/pvrusb2-mci-20051206/driver] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.14-1.1644_FC4-i686'
> make: *** [modules] Error 2
>
> Any ideas?

Yeah, the build needs to see the headers from your V4L update in order to 
build correctly.  Should have brought that up before; sorry.

It's probably not worth the effort to continue doing this since the 
saa7115.ko built build in the pvrusb2 snapshot should work OK and you can 
just rename the one out of the way that came from V4L.  But if you want to 
pursue this further, you probably do need to somehow get the V4L headers 
from your update visible to the pvrusb2 build :-(

   -Mike


-- 
                         |         Mike Isely          |     PGP fingerprint
      Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                         |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                         |                             |


More information about the pvrusb2 mailing list