Hi! I am trying to compile the Zoran 0.9.1 Driver on a box running redhat linux 8.0 with kernel 2.4.18(-14) and gcc version 3.2-7. Everything works fine until i get to the zoran_driver.c when the compilation crashes with the following error messages:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -DKBUILD_BASENAME=zoran_driver -c -o zoran_driver.o zoran_driver.c zoran_driver.c: In function `zoran_ioctl': zoran_driver.c:4205: warning: implicit declaration of function `video_usercopy' zoran_driver.c: At top level: zoran_driver.c:4629: unknown field `fops' specified in initializer zoran_driver.c:4629: warning: initialization from incompatible pointer type make[2]: *** [zoran_driver.o] Error 1 make[2]: Leaving directory `/root/mjpegtools/driver-zoran-0.9.1' make[1]: *** [_mod_/root/mjpegtools/driver-zoran-0.9.1] Error 2 make[1]: Leaving directory `/usr/src/linux' make: *** [here] Error 2 If i comment out the code that generates the errors the rest of the compilation works just fine, but obviously the kernel modules doesn't work. Does anyone have any ideas? Regards Peter ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users