El 23 de febrero de 2011 00:14, Jonathan Nieder <[email protected]>escribió:

> Hi!
>
> Iker Salmón wrote:
>
> > Trying to compile an external webcam driver fails if there are spaces in
> the
> > path of the driver:
>
> Do you have a copy of the makefile?  Where does the driver come from?
>
>
The driver is for syntek webcam, it was included in kernel 2.6.24.  It was
stk11xx, but the new stkwebcam driver doesn't work anymore with some models:

http://sourceforge.net/projects/syntekdriver/

the Makefile:

---code--------------------------------------------
stk11xx-objs := stk11xx-usb.o stk11xx-v4l.o stk11xx-sysfs.o stk11xx-dev.o
stk11xx-buf.o stk11xx-bayer.o

stk11xx-objs += stk11xx-dev-0408.o
stk11xx-objs += stk11xx-dev-0500.o
stk11xx-objs += stk11xx-dev-0501.o
stk11xx-objs += stk11xx-dev-a311.o
stk11xx-objs += stk11xx-dev-a821.o
stk11xx-objs += stk11xx-dev-6a31.o
stk11xx-objs += stk11xx-dev-6a33.o
stk11xx-objs += stk11xx-dev-6a51.o
stk11xx-objs += stk11xx-dev-6a54.o

obj-$(CONFIG_STK11XX) += stk11xx.o
----code------------------------------------------------------

it also has Mafekile.standalone file.  To compile you have to:   make -f
Makefile.standalone

Makefile.standalone:
-----code---------------------------------------------------------
KVER=$(shell uname -r)
KSRC=/lib/modules/$(KVER)/build


all: driver

doc:
        @echo "Generating document with Doxygen..."
        @doxygen doxygen.cfg

driver:
        $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
        @ctags -R

clean:
        $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) clean
        @rm -f Module.symvers

cleandoc:
        @echo "Removing documentation generated by Doxygen..."
        @rm -Rf ../doxygen

------code--------------------------------------------





> > make -C /lib/modules/2.6.37-1-686/build SUBDIRS=/home/duffy/Programas y
> drivers/Compilar/driver modules
> [...]
> > I didn't now against wich package to report this, please reasign where it
> belongs.
>
> It belongs to the author of the driver's makefile, I believe.

Well, i don't know.  It works perfect in squeeze, after upgrading to testing
appears the issue



> I'd suggest building from a path without spaces in it, lame as that might
> sound.
>
>
Yeah, i allready did that, but i thoutgh i had to report it



> Hope that helps,
> Jonathan
>

Sure, thanks for your response, but if you (or whoever) don't mind, i would
like to know if i should report this to the driver authors and if there is
something else relevant to tell him.

I'll cc this email to the mailing list


Thanks

Iker

Reply via email to