I'm trying to get a webcam working with my Raspberry Pi
How do I install webcam firmware on the Raspberry Pi?
I found a possible way of doing this with gspca.
So I downloaded the file and unzipped it.
http://moinejf.free.fr/gspca-2.15.19.tar.gz
I followed the instructions in this answer (replacing with my version number 3.6.11+)
https://raspberrypi.stackexchange.com/a/1304/3027
And now I'm trying to run the makefile that I unzipped but I get this error and my googling has been fruitless so far.
root@WebCamEthernet:/home/pi/Downloads/gspca-2.15.19# make
make -C /lib/modules/3.6.11+/build M=/home/pi/Downloads/gspca-2.15.19/build modules
make[1]: Entering directory `/lib/modules/3.6.11+/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/3.6.11+/build'
make: *** [modules] Error 2
Here is the makefile.
KVER=$(shell uname -r)
KSRC=/lib/modules/$(KVER)/build
KGSPCADIR=/lib/modules/$(KVER)/kernel/drivers/media/video/gspca
all: modules
modules:
    $(MAKE) -C $(KSRC) M=$(PWD)/build modules
gspca_%::
    $(MAKE) -C $(KSRC) M=$(PWD)/build gspca_main.ko $@
install:
    rm -f $(KGSPCADIR)/gspca*.ko $(KGSPCADIR)/*/gspca*.ko \
            $(KGSPCADIR)/gspca*.gz $(KGSPCADIR)/*/gspca*.gz; \
    install -c -m 0644 build/*.ko $(KGSPCADIR)/; \
    depmod
# local development
dist:
    ln -s . gspca-$(VERSION); \
    files=`ls gspca-$(VERSION)/build/*.c | fgrep -v .mod.c`; \
    tar -zcvf gspca-$(VERSION).tar.gz \
            gspca-$(VERSION)/Makefile \
            gspca-$(VERSION)/README \
            gspca-$(VERSION)/build/Makefile \
            gspca-$(VERSION)/build/gspca.h.orig \
            gspca-$(VERSION)/build/*.h \
            $$files; \
    rm gspca-$(VERSION)
.PHONY: dist driver install update modules
I'm not sure what is going on. What does this error mean?
 
     
     
     
     
     
    
/lib/modules/3.6.11+/buildshould be a link to the 3.6.11+ kernel source tree? – goldilocks Mar 03 '13 at 23:46