PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mir reichts langsam :D


skatetrash13
15.03.03, 19:18
also jetzt nach 1 Monat win auf Linux Umgewöhnungsphase hab ich eigentlich alles zum laufen gebracht was bei Win auch lief hard- wie auch softwaremäßig ... mit EINER ausnahme und zwar meiner logitech quickcam web.

hab mir den quickcam-web.tar.gz (http://www.informatik.uni-oldenburg.de/~delwi/quickcam/quickcam-web.tar.gz) von DIESER (http://www.informatik.uni-oldenburg.de/~delwi/quickcam) page gezogen ....

in der readme steht folgendes:

Quick install:

make (maybe fix your X11 path)
(as root)
mknod /dev/quick c 180 80
chmod 666 /dev/quick
insmod quickcamex.o

(as non-root)
./quickcam


ich sehe aber nirgendwo ein quickcamex.o (oder bekomm ich das erst nach nen erfolgreichen make?)
quickcamex.o wird dann das modul sein das ich dann mit insmode lade, oder?

aber ein make gibt mir folgendes ... was brauche ich ... ich blick da noch nicht so ganz durch .... hach :(

make
gcc -I/lib/modules/2.4.19-4GB/build/include -include /lib/modules/2.4.19-4GB/build/include/linux/config.h -O3 -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DMODULE -D__KERNEL__ -c quickcamex.c
quickcamex.c: /lib/modules/2.4.19-4GB/build/include/linux/config.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/include/linux/module.h:297,
from quickcamex.c:31:
/usr/include/linux/version.h:2:2: #error "================================================== ====="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "================================================== ====="
In file included from quickcamex.c:31:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
In file included from /usr/include/linux/usb.h:136,
from quickcamex.c:41:
/usr/include/linux/version.h:2:2: #error "================================================== ====="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "================================================== ====="
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:45,
from /usr/include/linux/usb.h:139,
from quickcamex.c:41:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
from /usr/include/linux/usb.h:139,
from quickcamex.c:41:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from /usr/include/linux/usb.h:139,
from quickcamex.c:41:
/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:128: requested alignment is not a constant
quickcamex.c: In function `quickcam_iso_complete':
quickcamex.c:202: warning: passing arg 1 of `atomic_dec_and_test' discards qualifiers from pointer target type
quickcamex.c: In function `quickcam_startrek':
quickcamex.c:321: warning: passing arg 1 of `atomic_inc' discards qualifiers from pointer target type
quickcamex.c:576:40: missing binary operator before '('
make: *** [quickcamex.o] Fehler 1




schon mal danke, alles liebe
ST13

sysinformationen sind in signatur und so ;)
will mir wegen linux jetzt nicht ne neue linux kompatible cam kaufen ... und ich brauch den shir ,,, (fernbeziehung und so :D )

dauni
15.03.03, 19:38
Kernelquellen installieren würde unter Umständen helfen können

geronet
15.03.03, 19:48
Und danach die Anweisung ausführen die er da ausgibt.

skatetrash13
15.03.03, 20:33
sooooooo jo es lag wohl an den kernel-sources.

meiner meinung hat sich make erfolgreich ausführen lassen, also keine error meldung.

bei ins mode sagt er folgendes:
# insmod quickcamex.o
Warning: loading quickcamex.o will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module quickcamex loaded, with warnings



danach will ich das starten und ich bekomme folgende ausgabe .....
# ./quickcam
/dev/quick major 180, minor 80: No such device
deathwish:/tmp/quickcam/quickcam-web


ICH WILL DIESE CAMERA wieder zum laufen bekommen. kommt schon, ihr wisst bestimmt wie es geht : ;)
macht mich und meine freundin glücklich :D

dauni
15.03.03, 20:40
Ich werde irgendwie das Gefühl nicht los, dass du das:
mknod /dev/quick c 180 80
chmod 666 /dev/quick

Nicht gemacht hast

skatetrash13
15.03.03, 20:46
Original geschrieben von dauni
Ich werde irgendwie das Gefühl nicht los, dass du das:
mknod /dev/quick c 180 80
chmod 666 /dev/quick

Nicht gemacht hast

doch habe ich gemacht, aber der meinte immer das es die datei schon gib. hab die nun gelöscht und nochmal neu angelegt, natürlich so wie es beschrieben ist:

nun eine neue meldung:
ich hoffe ich bekomm den shit noch hin :)

# ./quickcam
Camera ID 0850
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Can't open display


schon mal riessen dank !!!!!!!!!!!!!!!!!! http://www.veganhardcore.de/phpBB/images/smiles/topdingdu.gif

dauni
15.03.03, 20:47
Hast du das Programm als root gestartet?

skatetrash13
15.03.03, 20:50
nicht das ich wüsste ...

was könnte denn so alles als root laufen was man als noob nicht weiss ....
also hier auf der der oberfläche habe ich gerade nur sim icq kmail und mozilla laufen.

geronet
15.03.03, 20:50
Gib als dein user unter X

xhost +localhost
oder nur
xhost +

ein und sei glücklich.

Grüsse, Stefan

dauni
15.03.03, 20:55
Falls du das alles nicht verstehst:

Wenn du als user eingeloggt bist und als root von der Konsole aus ein Programm starten willst, das sich mit dem X-Server verbinden möchte (jedes graphische Programm also) dann wirst du Pech haben, weil der X-Server nur Programme vom eingeloggten user zulässt. Wenn du also als root das Device angelegt hast und das Modul geladen hast, könnte es sein dass du vergessen hast dich auszuloggen, bzw. su zu beenden und einfach mal das Programm gestartet hast, was unweigerlich zu dieser Fehlermeldung führt.

skatetrash13
15.03.03, 20:57
Original geschrieben von skatetrash13
nicht das ich wüsste ...

was könnte denn so alles als root laufen was man als noob nicht weiss ....
also hier auf der der oberfläche habe ich gerade nur sim icq kmail und mozilla laufen.




EDIT:
aaaaah sorry ich habe mich verlesen, ja ich habe das programm als rout gestartet! und der ******* funktioniert ich glaube es nicht !!!! !!!!! !!!! !!!!!! das is grad soooooooooo geil, hell yeah !!!!!

dauni
15.03.03, 20:59
http://www.jungschar-untermais.net/bilder/smilies/laola2.gif

skatetrash13
15.03.03, 21:02
Original geschrieben von dauni
Falls du das alles nicht verstehst:

Wenn du als user eingeloggt bist und als root von der Konsole aus ein Programm starten willst, das sich mit dem X-Server verbinden möchte (jedes graphische Programm also) dann wirst du Pech haben, weil der X-Server nur Programme vom eingeloggten user zulässt. Wenn du also als root das Device angelegt hast und das Modul geladen hast, könnte es sein dass du vergessen hast dich auszuloggen, bzw. su zu beenden und einfach mal das Programm gestartet hast, was unweigerlich zu dieser Fehlermeldung führt.

genau so und nicht anders war es :(
hey aber echt riessen dank. das is so geil



nun brauch ich noch n' coole programm wo ich mit der cam fotos machen kann ... und habe gelesen das gnomemeeting oder wie das heisst auch funktioniert. achja das webcam mikro wird wahrscheinlich aber nicht funktionieren oder?
habt ihr noch irgendwelche tips wo ich so ein cam programm herbekomme das so einiges kann ...
sorry wegen meiner newbie nerverei ... :(

skatetrash13
15.03.03, 21:18
achja nochwas
wenn ich will das das modul bei jeden start geladen wird brauch ich es eigentlich nur das "insmod quickcamex.o" in die boot.local schreiben oder?

achja und für webcam proggys anregungen wär ich dankbar :)

skatetrash13
15.03.03, 21:24
:D :D :D
mit hilfe eines spiegels und knsapshot gleich mal das erste webcam foto von der webcam erstellt.

boah was bin ich froh das das sch'**s ding geht :)