http://www.freedreamer.it/2007/04/15/li ... ment-23632
siccome era poco chiara per me ho fatto riferimento a questa:
http://www.ubuntu-es.org/index.php?q=node/40359
ma arrivato a fare make mi trova un errore:
Codice: Seleziona tutto
giovanni@CENTURION:~/v4l-dvb$ sudo make
make -C /home/giovanni/v4l-dvb/v4l
make[1]: Entering directory `/home/giovanni/v4l-dvb/v4l'
No version yet, using 2.6.24-19-generic
make[1]: Leaving directory `/home/giovanni/v4l-dvb/v4l'
make[1]: Entering directory `/home/giovanni/v4l-dvb/v4l'
scripts/make_makefile.pl
Updating/Creating .config
Preparing to compile for kernel version 2.6.24
***WARNING:*** You do not have the full kernel sources installed.
This does not prevent you from building the v4l-dvb tree if you have the
kernel headers, but the full kernel source may be required in order to use
make menuconfig / xconfig / qconfig.
If you are experiencing problems building the v4l-dvb tree, please try
building against a vanilla kernel before reporting a bug.
Vanilla kernels are available at http://kernel.org.
On most distros, this will compile a newly downloaded kernel:
cp /boot/config-`uname -r` <your kernel dir>/.config
cd <your kernel dir>
make all modules_install install
Please see your distro's web site for instructions to build a new kernel.
VIDEO_PLANB: Requires at least kernel 2.6.99
SOC_CAMERA: Requires at least kernel 2.6.25
SOC_CAMERA_MT9M001: Requires at least kernel 2.6.25
SOC_CAMERA_MT9V022: Requires at least kernel 2.6.25
Created default (all yes) .config file
./scripts/make_myconfig.pl
make[1]: Leaving directory `/home/giovanni/v4l-dvb/v4l'
make[1]: Entering directory `/home/giovanni/v4l-dvb/v4l'
perl scripts/make_config_compat.pl /lib/modules/2.6.24-19-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
Kernel build directory is /lib/modules/2.6.24-19-generic/build
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/giovanni/v4l-dvb/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop-pci.o
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop-usb.o
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop.o
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop-fe-tuner.o
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop-i2c.o
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop-sram.o
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop-eeprom.o
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop-misc.o
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop-hw-filter.o
CC [M] /home/giovanni/v4l-dvb/v4l/flexcop-dma.o
CC [M] /home/giovanni/v4l-dvb/v4l/dvbdev.o
CC [M] /home/giovanni/v4l-dvb/v4l/dmxdev.o
CC [M] /home/giovanni/v4l-dvb/v4l/dvb_demux.o
CC [M] /home/giovanni/v4l-dvb/v4l/dvb_filter.o
CC [M] /home/giovanni/v4l-dvb/v4l/dvb_ca_en50221.o
CC [M] /home/giovanni/v4l-dvb/v4l/dvb_frontend.o
CC [M] /home/giovanni/v4l-dvb/v4l/dvb_net.o
CC [M] /home/giovanni/v4l-dvb/v4l/dvb_ringbuffer.o
CC [M] /home/giovanni/v4l-dvb/v4l/dvb_math.o
CC [M] /home/giovanni/v4l-dvb/v4l/av7110_hw.o
CC [M] /home/giovanni/v4l-dvb/v4l/av7110_v4l.o
CC [M] /home/giovanni/v4l-dvb/v4l/av7110_av.o
CC [M] /home/giovanni/v4l-dvb/v4l/av7110_ca.o
CC [M] /home/giovanni/v4l-dvb/v4l/av7110.o
CC [M] /home/giovanni/v4l-dvb/v4l/av7110_ipack.o
CC [M] /home/giovanni/v4l-dvb/v4l/av7110_ir.o
CC [M] /home/giovanni/v4l-dvb/v4l/a800.o
CC [M] /home/giovanni/v4l-dvb/v4l/af9005-remote.o
In file included from /home/giovanni/v4l-dvb/v4l/dvb-usb.h:14,
from /home/giovanni/v4l-dvb/v4l/af9005.h:28,
from /home/giovanni/v4l-dvb/v4l/af9005-remote.c:26:
include/linux/usb.h: In function 'usb_register':
include/linux/usb.h:1013: error: 'KBUILD_MODNAME' undeclared (first use in this function)
include/linux/usb.h:1013: error: (Each undeclared identifier is reported only once
include/linux/usb.h:1013: error: for each function it appears in.)
make[3]: *** [/home/giovanni/v4l-dvb/v4l/af9005-remote.o] Error 1
make[2]: *** [_module_/home/giovanni/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/giovanni/v4l-dvb/v4l'
make: *** [all] Error 2
giovanni@CENTURION:~/v4l-dvb$
