Hello,
I'm trying to make a webcam work on my Slitaz 2.0.
SysInfo :
Kernel 2.6.25
Busybox
I tested the webcam on my Mandriva 2010 and it works just fine with UVCvideo so i decided to compile UVCVideo for the slitaz Kernel.
I downloaded the files, then uncompressed them. I cheched my kernel source and gcc,make,.... utilities. Then I typed make and ....
There was an error with an ln command in v4l/Makefile in the following line:
Code:
links::
@echo creating symbolic links...
@find ../linux/drivers/media -name '*.[ch]' -type f -print0 | xargs -0n 255 ln -sf --target-directory=.
@find ../linux/sound -name '*.[ch]' -type f -print0 | xargs -0n 255 ln -sf --target-directory=.
@find ../linux/drivers/staging -name '*.[ch]' -type f -print0 | xargs -0n 255 ln -sf --target-directory=.
Of course busybox as simple version of ln which does no understand --target-directory. According to what I found, this parametres allow you to specify to directory where you want to create the link so, using it with the . value is perphaps a bit useless (or I missed something)
I decided to remove the parametre and the make went on until there was another error :
Code:
make -C /root/uvcvideo-75c97b2d1a2a/v4l
make[1]: entrant dans le r�pertoire � /root/uvcvideo-75c97b2d1a2a/v4l �
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/root/uvcvideo-75c97b2d1a2a/v4l/firmware'
make[2]: Leaving directory `/root/uvcvideo-75c97b2d1a2a/v4l/firmware'
make -C firmware
make[2]: Entering directory `/root/uvcvideo-75c97b2d1a2a/v4l/firmware'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/root/uvcvideo-75c97b2d1a2a/v4l/firmware'
Kernel build directory is /lib/modules/2.6.25.5-slitaz/build
make -C /lib/modules/2.6.25.5-slitaz/build SUBDIRS=/root/uvcvideo-75c97b2d1a2a/v4l modules
make[2]: Entering directory `/usr/src/linux-2.6.25.5-slitaz'
make[3]: *** No rule to make target `/root/uvcvideo-75c97b2d1a2a/v4l/cpia2_v4l.o', needed by `/root/uvcvideo-75c97b2d1a2a/v4l/ir-core.o'. Stop.
make[2]: *** [_module_/root/uvcvideo-75c97b2d1a2a/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.25.5-slitaz'
make[1]: *** [default] Erreur 2
make[1]: quittant le r�pertoire � /root/uvcvideo-75c97b2d1a2a/v4l �
make: *** [all] Erreur 2
Perhaps changing the Makefile was a mistake or the problem comes from somewhere else. I may have forgotten a dependency. Please I need some help ...
Thanks lot