[mythtv-users] DCT-6416 vendor id for 6200ch channel changer script

Daniel Kristjansson danielk at cuymedia.net
Thu Dec 7 03:34:04 UTC 2006


On Wed, 2006-12-06 at 19:22 -0500, Stephen Sassman wrote:
> I found out that gscanbus will give me the vendor id, etc. But when I
> add these to the 6200ch.c script like this:
> define DCT6416_VENDOR_ID1 0x000018C0
> define DCT6416_SPEC_ID1 0x00005068
> define DCT6416_MODEL_ID1 0x00000000 
> define DCT6416_SW_VERSION 0x00010101
> 
> and try to compile, I get an error:
> # cc -o 6200ch 6200ch.c -lrom1394 -lavc1394 -lraw1394
> 6200ch.c:49: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'DCT6416_VENDOR_ID1' 
> 6200ch.c:209: warning: conflicting types for 'set_chan_slow'
> 6200ch.c:202: warning: previous implicit declaration of
> 'set_chan_slow' was here
>
> What am I doing wrong? I want to get this box working because it's
> pretty sweet. I looked at some of the patches but cant make heads or
> tails of them. 

You need "#" in front of the define lines..

FYI If you need to compile it, its "code" not "script"

-- Daniel



More information about the mythtv-users mailing list