[pvrusb2] pvrusb2 build error with 2.6.16 on amd64

Mike Isely isely at isely.net
Sat Mar 25 11:54:28 CST 2006


On Sat, 25 Mar 2006, Andreas Korinek wrote:

> On Saturday 25 March 2006 18:10, Mike Isely wrote:
>> On Sat, 25 Mar 2006, Andreas Korinek wrote:
>>> Hello,
>>>
>>> I get the following error when building the pvrusb2 module with kernel
>>> 2.6.16 on amd64. Compiler is gcc-3.4.6
>>>
>>> Any advice?
>>
>> The 2.6.16 kernel introduces a new mutex type, which the driver tries to
>> use.  Some hackery with #defines is being used to keep things compatible
>> (basically doing the same thing that the dvb-v4l source tree does).  I'm
>> not sure yet what the cause is here.  Can you get a clean build under
>> 2.6.15?
>
>
> Jep, builds fine with 2.6.15. Actually I tried to change line 24 from 2.6.16
> to 2.6.17 in file pvrusb2-context.h so that the old semaphore header is used
> and it works.
> I even didn't have to change line 52.

OK, thanks for trying that.  I'll add this to my list of things to 
investigate and fix before the next snapshot.  If I can't reproduce this 
on x86, I might need some testing help from you before this is solved.

   -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