Problem conpiling SAA7134

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



Hi:

Scrap what I said before.  I discovered a method of upgrading to 2.4.x
which meant I didn't ned to upgrade my distribution.  anyway, I get the
following when trying to compile SAA7134 0.2.7 against kernel 2.4.21:

make[2]: Entering directory `/usr/src/saa7134-0.2.7'
gcc -I. -D__KERNEL__ -I/usr/src/linux-2.4.21/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.21/include/linux/modversions.h  -nostdinc -iwithprefix
include -DKBUILD_BASENAME=saa7134_cards  -c -o saa7134-cards.o
saa7134-cards.c
saa7134-cards.c:572: duplicate array index in initializer
saa7134-cards.c:572: (near initialization for `fly_list')
saa7134-cards.c:575: warning: excess elements in array initializer
saa7134-cards.c:575: warning: (near initialization for `fly_list')
saa7134-cards.c:576: duplicate array index in initializer
saa7134-cards.c:576: (near initialization for `fly_list')
saa7134-cards.c:579: warning: excess elements in array initializer
saa7134-cards.c:579: warning: (near initialization for `fly_list')
saa7134-cards.c:580: duplicate array index in initializer
saa7134-cards.c:580: (near initialization for `fly_list')
saa7134-cards.c:583: warning: excess elements in array initializer
saa7134-cards.c:583: warning: (near initialization for `fly_list')
saa7134-cards.c: In function `board_flyvideo':
saa7134-cards.c:589: warning: unused variable `index'
saa7134-cards.c: At top level:
saa7134-cards.c:565: warning: `fly_list' defined but not used
make[2]: *** [saa7134-cards.o] Error 1
make[2]: Leaving directory `/usr/src/saa7134-0.2.7'
make[1]: *** [_mod_/usr/src/saa7134-0.2.7] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21'
make: *** [default] Error 2

I'm using gcc 2.95.2 and compiling against kernel 2.4.21 with the
11-v4l2-api-2.4.21-rc4 patch applied.  any help anyone can provide would be
most helpful.   do I need to get a newer snapshot of SAA7134 to compile
against 2.4.21?

Geoff.


-- 
Geoff Shang <gshang@xxxxxxxxx>
ICQ number 43634701

Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html




[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