Menu

#59 Error 1, 2

open
nobody
None
5
2011-06-01
2011-06-01
Andres
No

andres@ubuntu001:~/Downloads/gspcav1-20071224$ sudo ./gspca_build
[sudo] password for andres:

REMOVE the old module if present
ERROR: Module gspca does not exist in /proc/modules

CLEAN gspca source tree
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
.gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \
*.symvers *.err

COMPILE gspca Please Wait ....!!

INSTALL gspca in the kernel binary tree
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
install: cannot stat `gspca.ko': No such file or directory
make: *** [install] Error 1

LOAD gspca in memory
FATAL: Module gspca not found.

PRINT COMPILATION MESSAGES if ERRORS look kgspca.err
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/andres/Downloads/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-28-generic'
CC [M] /home/andres/Downloads/gspcav1-20071224/gspca_core.o
/home/andres/Downloads/gspcav1-20071224/gspca_core.c:54: fatal error: asm/semaphore.h: No such file or directory
compilation terminated.
make[2]: *** [/home/andres/Downloads/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/andres/Downloads/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-28-generic'
make: *** [default] Error 2
andres@ubuntu001:~/Downloads/gspcav1-20071224$ ^C

Discussion

  • Andres

    Andres - 2011-06-01

    My webcam is Labtec 1200

    Jun 1 08:45:22 ubuntu001 kernel: [ 2139.250017] usb 4-2: new full speed USB device using uhci_hcd and address 3
    Jun 1 08:45:22 ubuntu001 kernel: [ 2139.490342] gspca: probing 093a:2464
    Jun 1 08:45:22 ubuntu001 kernel: [ 2139.493265] pac207: Pixart Sensor ID 0x27 Chips ID 0x00
    Jun 1 08:45:22 ubuntu001 kernel: [ 2139.493270] pac207: Pixart PAC207BCA Image Processor and Control Chip detected (vid/pid 0x093A:0x2464)
    Jun 1 08:45:22 ubuntu001 kernel: [ 2139.495364] input: pac207 as /devices/pci0000:00/0000:00:1a.1/usb4/4-2/input/input6
    Jun 1 08:45:22 ubuntu001 kernel: [ 2139.495507] gspca: video0 created
    Jun 1 08:45:22 ubuntu001 kernel: [ 2139.495512] gspca: found int in endpoint: 0x83, buffer_len=2, interval=50

     
  • Andres

    Andres - 2011-06-01

    Linux ubuntu001 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux

     

Log in to post a comment.