LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-10-2010, 08:22 AM   #1
mikaelD
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Webcam on Slitaz


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
 
Old 02-11-2010, 06:09 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

from memory when you

ls -al /bin/sh and other stuff..they sym link to /bin/busybox

slitaz has a bash package....install it and it should offer you a new sym link

see if that helps
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are the Slitaz repos down? mercedes300 Linux - Distributions 2 08-19-2012 04:08 PM
slitaz 2 and other languages support !1!! please help!! michaa808 Linux - Newbie 3 11-01-2009 10:22 AM
Any Slitaz Users here? linus72 Linux - General 1 06-14-2009 03:12 AM
SliTaz on USB Drive cryptoX Linux - Distributions 1 04-09-2009 10:34 PM
SliTaz - mirrors in different countries david_ozura Linux - Distributions 0 04-08-2009 04:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration