Fórum Ubuntu CZ/SK

Ostatní => Archiv => Téma založeno: ufaak 11 Září 2007, 21:58:40

Název: Kompilace ovladače pro WebCam Asus - chybová hláška
Přispěvatel: ufaak 11 Září 2007, 21:58:40
Ahoj,
snažím se zkompilovat driver stk11xx pro webkameru v notebooku Asus A6Jc, ale hází mi to pořád chybu, už nevím, co mám ještě nainstalovat, aby to proběhlo.
Kód: [Vybrat]
make -C /lib/modules/2.6.17-12-386/build SUBDIRS=/home/ufaak/Share/drivers/stk11xx-1.0.0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-12-386'
  CC [M]  /home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.o
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:45:29: error: media/pwc-ioctl.h: No such file or directory
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_open’:
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:214: warning: implicit declaration of function ‘video_devdata’
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:214: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:215: warning: implicit declaration of function ‘video_get_drvdata’
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:215: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_release’:
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:294: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:295: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_read’:
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:346: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:347: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_poll’:
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:426: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:427: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_mmap’:
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:472: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:473: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_do_ioctl’:
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:548: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:549: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:554: error: ‘VIDIOCGCAP’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:554: error: (Each undeclared identifier is reported only once
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:554: error: for each function it appears in.)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:560: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:560: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:560: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:560: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:560: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:560: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:561: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:561: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:562: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:563: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:564: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:568: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:569: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:570: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:571: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:575: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:576: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:577: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:578: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:584: error: ‘VIDIOCGCHAN’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:590: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:593: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:594: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:595: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:595: error: ‘VIDEO_TYPE_CAMERA’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:596: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:600: error: ‘VIDIOCSCHAN’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:606: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:611: error: ‘VIDIOCGPICT’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:617: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:618: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:619: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:620: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:621: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:622: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:623: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:627: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:627: error: ‘VIDEO_PALETTE_RGB24’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:631: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:631: error: ‘VIDEO_PALETTE_RGB32’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:637: error: ‘VIDIOCSPICT’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:643: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:644: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:645: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:646: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:647: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:649: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:649: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:650: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:672: error: ‘VIDIOCGWIN’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:678: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:679: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:680: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:681: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:682: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:686: error: ‘VIDIOCSWIN’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:708: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:708: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:729: error: ‘VIDIOCGFBUF’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:735: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:735: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:735: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:735: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:735: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:735: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:739: error: ‘VIDIOCGMBUF’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:746: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:746: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:746: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:746: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:746: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:746: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:748: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:749: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:752: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:756: error: ‘VIDIOCMCAPTURE’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:762: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:762: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:765: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:766: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:778: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:778: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:781: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:784: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:790: error: ‘VIDIOCSYNC’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:838: error: ‘VIDIOCGAUDIO’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:843: error: ‘VIDIOCSAUDIO’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:848: error: ‘VIDIOCGUNIT’ undeclared (first use in this function)
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:852: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:853: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:854: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:855: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:856: error: dereferencing pointer to incomplete type
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_ioctl’:
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:1487: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:1488: warning: assignment makes pointer from integer without a cast
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c: In function ‘v4l_stk11xx_register_video_device’:
/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.c:1528: warning: implicit declaration of function ‘video_set_drvdata’
make[2]: *** [/home/ufaak/Share/drivers/stk11xx-1.0.0/stk11xx-v4l.o] Error 1
make[1]: *** [_module_/home/ufaak/Share/drivers/stk11xx-1.0.0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-12-386'
make: *** [driver] Error 2
Prosím o radu, případně pokud znáte jinou možnost, tak jak se obejít bez té kompilace :)
Název: Kompilace ovladače pro WebCam Asus - chybová hláška
Přispěvatel: ufaak 12 Září 2007, 09:56:54
Tak uz jsem zjistil proc to nejde... je vyzadovano novejsi jadro, takze upgrade na 7.04...
Jenze tam se mi notebook seka... tak uvidime co to udela
Název: Kompilace ovladače pro WebCam Asus - chybová hláška
Přispěvatel: ufaak 12 Září 2007, 20:14:02
tak webcam uz je funkcni, ted vyresit to tuhnuti...