Anticipo che sulla distro vecchia funzionava da dio qui invece quando vado a compilare i driver ecco cosa esce:
Codice: Seleziona tutto
Building zr364xx driver for 2.5/2.6 kernel.
PLEASE IGNORE THE "Overriding SUBDIRS" WARNING
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build/ SUBDIRS=`pwd` modules
make[1]: ingresso nella directory «/usr/src/linux-headers-2.6.28-11-generic»
CC [M] /home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.o
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c: In function ‘zoran_open’:
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:288: error: ‘struct video_device’ has no member named ‘priv’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:294: error: ‘VIDEO_PALETTE_RGB24’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:294: error: (Each undeclared identifier is reported only once
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:294: error: for each function it appears in.)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c: In function ‘zoran_ioctl’:
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:570: error: ‘VIDIOCGCAP’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:572: error: storage size of ‘b’ isn’t known
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:576: error: ‘VID_TYPE_CAPTURE’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:572: warning: unused variable ‘b’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:591: error: ‘VIDIOCGCHAN’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:593: error: storage size of ‘v’ isn’t known
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:609: error: ‘VIDEO_TYPE_CAMERA’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:593: warning: unused variable ‘v’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:617: error: ‘VIDIOCSCHAN’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:632: error: ‘VIDIOCGPICT’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:634: error: storage size of ‘vp’ isn’t known
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:636: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_picture’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:636: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_picture’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:636: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_picture’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:636: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_picture’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:636: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_picture’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:636: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_picture’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:642: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_picture’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:634: warning: unused variable ‘vp’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:647: error: ‘VIDIOCSPICT’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:649: error: storage size of ‘vp’ isn’t known
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:652: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_picture’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:667: error: ‘VIDEO_PALETTE_RGB24’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:649: warning: unused variable ‘vp’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:677: error: ‘VIDIOCGWIN’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:679: error: storage size of ‘vw’ isn’t known
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:679: warning: unused variable ‘vw’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:700: error: ‘VIDIOCSWIN’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:704: error: dereferencing pointer to incomplete type
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:704: error: dereferencing pointer to incomplete type
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:706: error: dereferencing pointer to incomplete type
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:706: error: dereferencing pointer to incomplete type
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:713: error: ‘VIDIOCGMBUF’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:715: error: storage size of ‘vm’ isn’t known
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:715: warning: unused variable ‘vm’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:733: error: ‘VIDIOCMCAPTURE’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:735: error: storage size of ‘vm’ isn’t known
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:735: warning: unused variable ‘vm’
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:758: error: ‘VIDIOCSYNC’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:774: error: ‘VIDIOCCAPTURE’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:775: error: ‘VIDIOCGFBUF’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:776: error: ‘VIDIOCSFBUF’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:777: error: ‘VIDIOCKEY’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:782: error: ‘VIDIOCGTUNER’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:783: error: ‘VIDIOCSTUNER’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:784: error: ‘VIDIOCGFREQ’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:785: error: ‘VIDIOCSFREQ’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:790: error: ‘VIDIOCGAUDIO’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:791: error: ‘VIDIOCSAUDIO’ undeclared (first use in this function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c: At top level:
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:818: error: unknown field ‘owner’ specified in initializer
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:818: warning: initialization from incompatible pointer type
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:820: error: unknown field ‘type’ specified in initializer
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:820: error: ‘VID_TYPE_CAPTURE’ undeclared here (not in a function)
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:821: error: unknown field ‘hardware’ specified in initializer
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c: In function ‘zoran_probe’:
/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.c:878: error: ‘struct video_device’ has no member named ‘priv’
make[2]: *** [/home/f3ff0/Scrivania/zr364xx-0.64-fix1/zr364xx.o] Errore 1
make[1]: *** [_module_/home/f3ff0/Scrivania/zr364xx-0.64-fix1] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-2.6.28-11-generic»
make: *** [default] Errore 2Saluti!!
