Δημοσιεύτηκε: 26 Δεκ 2008, 14:51
Κατέβασα τι αρχείο gspcav1-20071224.tar.gz το έκανα αποσυμπίεση configure και make
bash: ./configure: No such file or directory
akis@akis-desktop:~/gspcav1-20071224$ ./configure
bash: ./configure: No such file or directory
akis@akis-desktop:~/gspcav1-20071224$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/akis/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
CC [M] /home/akis/gspcav1-20071224/gspca_core.o
/home/akis/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/home/akis/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/akis/gspcav1-20071224/gspca_core.c:2463: σφάλμα: implicit declaration of function ‘video_usercopy’
/home/akis/gspcav1-20071224/gspca_core.c: At top level:
/home/akis/gspcav1-20071224/gspca_core.c:2609: σφάλμα: unknown field ‘owner’ specified in initializer
/home/akis/gspcav1-20071224/gspca_core.c:2609: προειδοποίηση: initialization from incompatible pointer type
/home/akis/gspcav1-20071224/gspca_core.c:2611: σφάλμα: unknown field ‘type’ specified in initializer
/home/akis/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/akis/gspcav1-20071224/gspca_core.c:2769: σφάλμα: implicit declaration of function ‘video_device_create_file’
/home/akis/gspcav1-20071224/gspca_core.c:2780: σφάλμα: implicit declaration of function ‘video_device_remove_file’
/home/akis/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/akis/gspcav1-20071224/gspca_core.c:4301: σφάλμα: incompatible types in assignment
make[2]: *** [/home/akis/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/akis/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make: *** [default] Error 2
akis@akis-desktop:~/gspcav1-20071224$ sudo make install
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
akis@akis-desktop:~/gspcav1-20071224$
και δεν μπορώ να συνεχίσω. Τι άλλο να κάνω;
- Κώδικας: Επιλογή όλων
bash: ./configure: No such file or directory
akis@akis-desktop:~/gspcav1-20071224$ ./configure
bash: ./configure: No such file or directory
akis@akis-desktop:~/gspcav1-20071224$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/akis/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
CC [M] /home/akis/gspcav1-20071224/gspca_core.o
/home/akis/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/home/akis/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/akis/gspcav1-20071224/gspca_core.c:2463: σφάλμα: implicit declaration of function ‘video_usercopy’
/home/akis/gspcav1-20071224/gspca_core.c: At top level:
/home/akis/gspcav1-20071224/gspca_core.c:2609: σφάλμα: unknown field ‘owner’ specified in initializer
/home/akis/gspcav1-20071224/gspca_core.c:2609: προειδοποίηση: initialization from incompatible pointer type
/home/akis/gspcav1-20071224/gspca_core.c:2611: σφάλμα: unknown field ‘type’ specified in initializer
/home/akis/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/akis/gspcav1-20071224/gspca_core.c:2769: σφάλμα: implicit declaration of function ‘video_device_create_file’
/home/akis/gspcav1-20071224/gspca_core.c:2780: σφάλμα: implicit declaration of function ‘video_device_remove_file’
/home/akis/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/akis/gspcav1-20071224/gspca_core.c:4301: σφάλμα: incompatible types in assignment
make[2]: *** [/home/akis/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/akis/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make: *** [default] Error 2
akis@akis-desktop:~/gspcav1-20071224$ sudo make install
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
akis@akis-desktop:~/gspcav1-20071224$
- Κώδικας: Επιλογή όλων
και δεν μπορώ να συνεχίσω. Τι άλλο να κάνω;