Portál AbcLinuxu, 14. května 2025 13:53

Dotaz: Kompilácia modulu pre Pinnacle PCTV DVB-T Stick (72e)

23.8.2008 17:02 barney | skóre: 6
Kompilácia modulu pre Pinnacle PCTV DVB-T Stick (72e)
Přečteno: 886×
Odpovědět | Admin
Ahojte,

mohli by ste mi poradiť čo znamená táto chybová hláška? Dostanem ju pokiaľ chcem preložiť moduly z projektu V4L.

Používam ArchLinux na jadre 2.6.26 a s predchádzajúcim jadrom 2.6.25 som nemal žiaden problém.jov Podotýkam, že zdrojový kód jadra mám nainštalovaný.

Za akúkoľvek radu ďakujem.
[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
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

urys avatar 14.9.2008 15:04 urys | skóre: 3 | Teplice
Rozbalit Rozbalit vše Re: Kompilácia modulu pre Pinnacle PCTV DVB-T Stick (72e)
Odpovědět | | Sbalit | Link | Blokovat | Admin
Mám stejný problém, přišel si na to, čím to bylo?

díky
Uživatel GNU/Linux: #462745

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.