Portál AbcLinuxu, 14. května 2025 13:53
[root@ender v4l-dvb-experimental]# make all make -C /opt/v4l-dvb-experimental/v4l all /bin/sh: /sbin/lsmod: Adresár alebo súbor neexistuje make[1]: Entering directory `/opt/v4l-dvb-experimental/v4l' scripts/make_makefile.pl No version yet. Updating/Creating .config Preparing to compile for kernel version 2.6.26 VIDEO_PLANB: Requires at least kernel 2.6.99 Created default (all yes) .config file ./scripts/make_myconfig.pl make[1]: Leaving directory `/opt/v4l-dvb-experimental/v4l' /bin/sh: /sbin/lsmod: Adresár alebo súbor neexistuje make[1]: Entering directory `/opt/v4l-dvb-experimental/v4l' perl scripts/make_config_compat.pl /lib/modules/2.6.26-ARCH/build ./.myconfig ./config-compat.h creating symbolic links... ln -sf . oss make -C /lib/modules/2.6.26-ARCH/build SUBDIRS=/opt/v4l-dvb-experimental/v4l modules make[2]: Entering directory `/usr/src/linux-2.6.26-ARCH' /bin/sh: /sbin/lsmod: No such file or directory CC [M] /opt/v4l-dvb-experimental/v4l/flexcop-pci.o CC [M] /opt/v4l-dvb-experimental/v4l/flexcop-usb.o CC [M] /opt/v4l-dvb-experimental/v4l/flexcop.o CC [M] /opt/v4l-dvb-experimental/v4l/flexcop-fe-tuner.o CC [M] /opt/v4l-dvb-experimental/v4l/flexcop-i2c.o CC [M] /opt/v4l-dvb-experimental/v4l/flexcop-sram.o CC [M] /opt/v4l-dvb-experimental/v4l/flexcop-eeprom.o CC [M] /opt/v4l-dvb-experimental/v4l/flexcop-misc.o CC [M] /opt/v4l-dvb-experimental/v4l/flexcop-hw-filter.o CC [M] /opt/v4l-dvb-experimental/v4l/flexcop-dma.o CC [M] /opt/v4l-dvb-experimental/v4l/bttv-driver.o In file included from /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-common.h:29, from /opt/v4l-dvb-experimental/v4l/bttvp.h:37, from /opt/v4l-dvb-experimental/v4l/bttv-driver.c:41: /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:365: error: field 'class_dev' has incomplete type In file included from /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-common.h:29, from /opt/v4l-dvb-experimental/v4l/bttvp.h:37, from /opt/v4l-dvb-experimental/v4l/bttv-driver.c:41: /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:394: warning: 'struct class_device_attribute' declared inside parameter list /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:394: warning: its scope is only this definition or declaration, which is probably not what you want /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h: In function 'video_device_create_file': /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:396: error: implicit declaration of function 'class_device_create_file' /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h: At top level: /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:403: warning: 'struct class_device_attribute' declared inside parameter list /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h: In function 'video_device_remove_file': /opt/v4l-dvb-experimental/v4l/../linux/include/media/v4l2-dev.h:405: error: implicit declaration of function 'class_device_remove_file' In file included from /opt/v4l-dvb-experimental/v4l/bttv-driver.c:41: /opt/v4l-dvb-experimental/v4l/bttvp.h:94:1: warning: "clamp" redefined In file included from include/asm/system.h:10, from include/asm/processor.h:17, from include/linux/prefetch.h:14, from include/linux/list.h:6, from include/linux/module.h:9, from /opt/v4l-dvb-experimental/v4l/bttv-driver.c:32: include/linux/kernel.h:379:1: warning: this is the location of the previous definition /opt/v4l-dvb-experimental/v4l/bttv-driver.c: In function 'show_card': /opt/v4l-dvb-experimental/v4l/bttv-driver.c:172: warning: type defaults to 'int' in declaration of '__mptr' /opt/v4l-dvb-experimental/v4l/bttv-driver.c:172: warning: initialization from incompatible pointer type /opt/v4l-dvb-experimental/v4l/bttv-driver.c: At top level: /opt/v4l-dvb-experimental/v4l/bttv-driver.c:176: error: expected ')' before '(' token /opt/v4l-dvb-experimental/v4l/bttv-driver.c: In function 'bttv_register_video': /opt/v4l-dvb-experimental/v4l/bttv-driver.c:4637: error: 'class_device_attr_card' undeclared (first use in this function) /opt/v4l-dvb-experimental/v4l/bttv-driver.c:4637: error: (Each undeclared identifier is reported only once /opt/v4l-dvb-experimental/v4l/bttv-driver.c:4637: error: for each function it appears in.) make[3]: *** [/opt/v4l-dvb-experimental/v4l/bttv-driver.o] Error 1 make[2]: *** [_module_/opt/v4l-dvb-experimental/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.26-ARCH' make[1]: *** [default] Error 2 make[1]: Leaving directory `/opt/v4l-dvb-experimental/v4l' make: *** [all] Error
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.