2 příspěvky / 0 new
Poslední
Obrázek uživatele vlada
Offline
Naposledy viděn: 15 let 2 týdny zpět
Připojen: 27.10.2006 - 22:56
Změna instalace

Zdravím všechny.Chtěl jsem se zeptat.Změnilo se se Suse něco? Po měsíci jsem se rozhodl nainstalovat znova webkameru dle návodu s vaší pomocí a zejmína Creatora a místo tehdejší úspěšné instalace mně to hodilo chyby.

Viz chybová hláška:

Heslo:
ip-89-102-188-55:/home/vlada # cd /home/vlada/Documents/spca5xx-20060501
ip-89-102-188-55:/home/vlada/Documents/spca5xx-20060501 # make clean
rm -r -f drivers/usb/*.o drivers/usb/.spcadecoder.o.cmd \
drivers/usb/.spca5xx.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i
ip-89-102-188-55:/home/vlada/Documents/spca5xx-20060501 # make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/vlada/Documents/spca5xx-20060501 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/x86_64/default'
make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/x86_64/default modules
CC [M] /home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.o
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_open’:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:2392: error: implicit declaration of function ‘video_devdata’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: initialization makes pointer from integer without a cast
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:2397: error: implicit declaration of function ‘video_get_drvdata’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: initialization makes pointer from integer without a cast
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_close’:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:2487: warning: initialization makes pointer from integer without a cast
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_do_ioctl’:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:2547: warning: initialization makes pointer from integer without a cast
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_ioctl’:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3091: error: implicit declaration of function ‘video_usercopy’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_read’:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3110: warning: initialization makes pointer from integer without a cast
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_mmap’:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3209: warning: initialization makes pointer from integer without a cast
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: At top level:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: variable ‘spca50x_template’ has initializer but incomplete type
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3262: error: unknown field ‘owner’ specified in initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: excess elements in struct initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: (near initialization for ‘spca50x_template’)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3263: error: unknown field ‘name’ specified in initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: excess elements in struct initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: (near initialization for ‘spca50x_template’)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3264: error: unknown field ‘type’ specified in initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: excess elements in struct initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: (near initialization for ‘spca50x_template’)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3265: error: unknown field ‘hardware’ specified in initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: excess elements in struct initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: (near initialization for ‘spca50x_template’)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3266: error: unknown field ‘fops’ specified in initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: excess elements in struct initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: (near initialization for ‘spca50x_template’)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: unknown field ‘release’ specified in initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: ‘video_device_release’ undeclared here (not in a function)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: excess elements in struct initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: (near initialization for ‘spca50x_template’)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3270: error: unknown field ‘minor’ specified in initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: excess elements in struct initializer
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: (near initialization for ‘spca50x_template’)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘cd_to_spca50x’:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3338: error: implicit declaration of function ‘to_video_device’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: initialization makes pointer from integer without a cast
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3339: warning: return makes pointer from integer without a cast
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca50x_create_sysfs’:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:3448: error: implicit declaration of function ‘video_device_create_file’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_probe’:
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5504: error: implicit declaration of function ‘video_device_alloc’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: assignment makes pointer from integer without a cast
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5509: error: dereferencing pointer to incomplete type
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5511: error: implicit declaration of function ‘video_set_drvdata’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: implicit declaration of function ‘video_register_device’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: (Each undeclared identifier is reported only once
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: for each function it appears in.)
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5545: error: dereferencing pointer to incomplete type
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5546: error: implicit declaration of function ‘video_device_release’
/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.c:5548: error: implicit declaration of function ‘video_unregister_device’
make[4]: *** [/home/vlada/Documents/spca5xx-20060501/drivers/usb/spca5xx.o] Error 1
make[3]: *** [_module_/home/vlada/Documents/spca5xx-20060501] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/x86_64/default'
make: *** [default] Error 2
ip-89-102-188-55:/home/vlada/Documents/spca5xx-20060501 # make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca50x.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/et61x.ko
install -c -m 0644 spca5xx.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
install: cannot stat `spca5xx.ko': není souborem ani adresářem
make: *** [install] Error 1
ip-89-102-188-55:/home/vlada/Documents/spca5xx-20060501 #

Několikrát jsem to procházel a dělal jsem to přesně podle tehdejšího úspěšného návodu.A ted není funkční.Vede mně to k domněnce,že se změnila nějak Suse.Nevíte co je špatně?

Obrázek uživatele N3o21
Offline
Naposledy viděn: 16 let 5 měsíců zpět
Připojen: 11.12.2006 - 23:08
asi chybi soubor

no vypis vypada jako by ti chybel soubor spca5xx.ko, ktery se pravdepodobne nezkompiloval. teda spis se nezkompiloval spca5xx.c.

Mozna mas moc novy gcc :D a nebo ti chybi neco doinstalovat. :/ to se mi uz taky jednou stalo an ubuntu, nainstaloval sem 6.06 a vsechno slo, i kompilace, pak sem upgradoval na 6.10 a najednou my neslo zkompilovat to co predtim.
Ale problem bych videl spis v tom ze mas 64bitu...

Obrázek uživatele vlada
Offline
Naposledy viděn: 15 let 2 týdny zpět
Připojen: 27.10.2006 - 22:56
Upgrade Suse a webcamera

No nevím,předtím to na 64 bitce šlo bez problému.Nebo je to míněno tak,že na 64 bitku ještě nejsou napsány vývojáři jádra a podobné záležitosti? Je fakt,že jsem přijal nabídku Suse na upggrade.Já ted měsí si hral s instalacemi,tak jsem kameru znova a znova neinstaloval, a když jsem to ted zkusil,tak tehdejší návod nefunguje a po googlení jsem se dozvěděl,že od nějakého novějšího jádra spca5xx není potřeba,ale nějak jsem se nedověděl co potřeba je,aby to šlo :-(
Tohle mně zarazilo.Člověk se pracně naučí nějake instalace a po nějaké době musí pátrat pro tu samou věc jine instalace? Je to nutné a k čemu? Suse mám rád a už jej používam místo Windows,ale tohle mně dost rozmrzelo,ne li naštvalo

Moc jsem se snažil,aby nebyl problém ve mně,takže jsem to kontroloval znova a znova at tady nedělam blbce.A prostě nemůžu si pomoc špatně to nemám a google viz výše

Obrázek uživatele pikec
Offline
Naposledy viděn: 16 let 5 měsíců zpět
Připojen: 07.01.2007 - 13:28
webovka labtec

Začal jsem si hrát se SUSE a SLAX a ůplně mě pohltili.

Obrázek uživatele vlada
Offline
Naposledy viděn: 15 let 2 týdny zpět
Připojen: 27.10.2006 - 22:56
Vyřešení a poděkování

Děkuji za pomoc.Díky odkazu jsem narazil na radu Koty ohledně ovladače spca a gspcav a cele to bylo tom dat ten gspcav pro novější kernel./Postup zůstal jinak stejný / Kamera běží ve všech aplikacích.Problem vyřešen