[pvrusb2] Kernel compilation issues 2.6.17-rc6

Bill Crowell bill at crowellsystems.com
Tue Jun 6 15:14:54 CDT 2006


The include fixed this portion of the compile. Now the driver is 
complaining about pvrusb2-audio-old.c...

Bill

Michael Krufky wrote:

> Bill Crowell wrote:
>
>> Being *forced* to move to 2.6.17 because of a needed LSI SCSI 
>> controller fix...
>>
>> root at pc_1_202:/mods/kernel/pvrusb2-mci-20060517/driver# make
>> make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.17-rc6/build 
>> M=/mods/kernel/pvrusb2-mci-20060517/driver CONFIG_VIDEO_PVRUSB2=m 
>> CONFIG_VIDEO_PVRUSB2_24XXX=y CONFIG_VIDEO_PVRUSB2_SYSFS=y 
>> CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y modules
>> make[1]: Entering directory `/usr/src/linux-2.6.17-rc6'
>>   CC [M]  /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-std.o
>>   CC [M]  /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-ctrl.o
>>   CC [M]  /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-hdw.o
>> /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-hdw.c:29:27: 
>> media/cx2341x.h: No such file or directory
>> /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-hdw.c: In function 
>> `pvr2_upload_firmware2':
>> /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-hdw.c:956: error: 
>> `CX2341X_FIRM_ENC_FILENAME' undeclared (first use in this function)
>> /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-hdw.c:956: error: 
>> (Each undeclared identifier is reported only once
>> /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-hdw.c:956: error: 
>> for each function it appears in.)
>> /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-hdw.c:956: error: 
>> initializer element is not constant
>> /mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-hdw.c:956: error: 
>> (near initialization for `fw_files[0]')
>> make[2]: *** [/mods/kernel/pvrusb2-mci-20060517/driver/pvrusb2-hdw.o] 
>> Error 1
>> make[1]: *** [_module_/mods/kernel/pvrusb2-mci-20060517/driver] Error 2
>> make[1]: Leaving directory `/usr/src/linux-2.6.17-rc6'
>> make: *** [modules] Error 2
>>
>> The video code has been mashed about again.
>>
>> Bill
>>
>>   
>
> For a quick fix.....  you can TRY this:
>
> Download this version of cx2341x.h:
>
> http://linuxtv.org/hg/v4l-dvb?cmd=file;file=linux/include/media/cx2341x.h;filenode=63b993e56482f7d13f18cd7a087866b188860048;style=raw 
>
>
> and stick it into either your pvrusb2 build directory, or your linux 
> kernel source, in linux/include/media
>
> Let us know if this does it for you...  Since the 2.6.17 kernel hasn't 
> yet been officially released, we cannot expect the pvrusb2 svn tree to 
> work with it yet.  Development kernels are considered to be "moving 
> targets" -- we cannot always ensure compatability until they are 
> officially released.
>
> HTH,
>
> Mike Krufky
>

-- 
William G. Crowell
Crowell Systems
4235 South Stream Blvd Suite 100
Charlotte  NC 28217
704.665.2000 fax 704.665.2180



More information about the pvrusb2 mailing list