Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: jls on March 29, 2009, 06:08:35 AM
-
I'm tryng to compile the gspca driver for my webcam, but I got this error:
'VIDEO_MODE_NTSC' undeclared.
I read that I have to enable Video For Linux 1 in the kernel
How? >:(
-
try the v4l2-media...tce I think it has v4l1 compatibility. If not let me know. It may be a file I missed.
-SG
-
when I tryed to compile I had video4linux... installed
-
could you give a site and download link? My only thought is that what your compiling isn't looking in /usr/local.
-
stable version:
http://mxhaard.free.fr/download.html (http://mxhaard.free.fr/download.html)
development version:
http://linuxtv.org/hg/~jfrancois/gspca/archive/tip.tar.bz2 (http://linuxtv.org/hg/~jfrancois/gspca/archive/tip.tar.bz2)
-
this is from the second link onhttp://mxhaard.free.fr/download.html (http://mxhaard.free.fr/download.html)
Where is linux/config.h?
advcomp bash compiletc expat2 glib1 graphics-libs-1 gtk1 linux-headers-2.6.26 perl_xml beaver coreutils fontconfig glib2 gtk+-2 libxml2 minefield zzdata
are loaded.
tc@box:/tmp/extension/spca5xx-v4l1goodbye$ sudo 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=/tmp/extension/spca5xx-v4l1goodbye CC=cc modules
make[1]: Entering directory `/usr/local/src/linux-headers-2.6.26'
CC [M] /tmp/extension/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o
/tmp/extension/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file or directory
In file included from /tmp/extension/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:851:
... many lines of errors here...
make[2]: *** [/tmp/extension/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o] Error 1
make[1]: *** [_module_/tmp/extension/spca5xx-v4l1goodbye] Error 2
make[1]: Leaving directory `/usr/local/src/linux-headers-2.6.26'
make: *** [default] Error 2
I do have read/write access to my kernel source tree.