|
From: Stealth D. <ste...@st...> - 2003-12-30 18:31:16
|
Hello, all. I'm trying to compile the latest Zoran driver for my DC10plus card, and I keep running into the same error: gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-10mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-10mdk/include/linux/modversions.h -DEXPORT_SYMTAB -nostdinc -iwithprefix include -DKBUILD_BASENAME=saa7111 -c saa7111.c -o saa7111.o saa7111.c:593: error: unknown field `inc_use' specified in initializer saa7111.c:593: warning: excess elements in struct initializer saa7111.c:593: warning: (near initialization for `i2c_driver_saa7111') saa7111.c:594: error: unknown field `dec_use' specified in initializer saa7111.c:594: warning: excess elements in struct initializer saa7111.c:594: warning: (near initialization for `i2c_driver_saa7111') make[2]: *** [saa7111.o] Error 1 make[2]: Leaving directory `/home/stealthdave/download/video/drivers/driver-zoran-0.9.x' make[1]: *** [_mod_/home/stealthdave/download/video/drivers/driver-zoran-0.9.x] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22-10mdk' make: *** [here] Error 2 I'm running Mandrake 9.2 on an nforce(1) motherboard using gcc 3.3.1. I fetched the driver from cvs using branch ZORAN_VIDEODEV_2. I did find a reference to this error in the ivtv driver faq using a google search (http://ivtv.writeme.ch/tiki-view_faq.php?faqId=1#q28) It describes the same problem (which appears to be Mandrake-specific), but the solution they offer doesn't apply here. Perhaps a review of their driver code will? Thanks, - Stealth Dave -- Stealth Dave <ste...@st...> |