saa7134-20030505 snapshot fails to build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Gerd,

Have just tried saa7134-20030505 snapshot and this fails to build:

saa7134-tvaudio.c: In function `tvaudio_setstereo':
saa7134-tvaudio.c:398: duplicate array index in initializer
saa7134-tvaudio.c:398: (near initialization for `name')

This is due to:

        static char *name[] = {
                [ V4L2_TUNER_MODE_MONO   ] = "mono",
                [ V4L2_TUNER_MODE_STEREO ] = "stereo",
                [ V4L2_TUNER_MODE_LANG1  ] = "lang1",
                [ V4L2_TUNER_MODE_LANG2  ] = "lang2",
                [ V4L2_TUNER_MODE_SAP    ] = "sap",

Where V4L2_TUNER_MODE_LANG2 and V4L2_TUNER_MODE_SAP have the same value
(0x02) from videodev2.h.

Thought this may have been a bug in v4l2 but the latest
snapshot(20030429) still has these defines with the same value.

This is with gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)

BTW, have had good success so far with snapshot 20030429 of the saa7134
code. After massive I/O errors, unloading and loading the module fixes
the problem. Have had a few random I/O errors but these seem to be self
healing (have had 2 in the last 25 minutes). Looking good!

Cheers,

   -Greg

--






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux