2.5.51 don't compil with dvb
Hello,
I got:
ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o init/do_mounts.o init/initramfs.o
ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/built-in.o --start-group usr/built-in.o arch/i386/kernel/built-in.o arch/i386/mm/built-in.o arch/i386/mach-generic/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o lib/lib.a arch/i386/lib/lib.a drivers/built-in.o sound/built-in.o arch/i386/pci/built-in.o net/built-in.o --end-group -o vmlinux
drivers/built-in.o(.text+0x38655): In function `try_attach_device':
: undefined reference to `MOD_CAN_QUERY'
make: *** [vmlinux] Error 1
And in the src:
rgrep -r -l try_attach_device * gives:
drivers/media/dvb/built-in.odrivers/media/dvb/dvb-core/dvb-core.odrivers/media/dvb/dvb-core/dvb_i2c.cdrivers/media/dvb/dvb-core/dvb_i2c.odrivers/media/dvb/dvb-core/built-in.odrivers/media/built-in.odrivers/built-in.o
That's with the original 2.5.51 and with the CVS from yesterday evening I got exactly the same...
Quoted 1 line
From my .config:
CONFIG_DVB=yCONFIG_DVB_CORE=yCONFIG_DVB_DEVFS_ONLY=yCONFIG_DVB_ALPS_BSRV2=mCONFIG_DVB_AV7110=mCONFIG_DVB_AV7110_OSD=y
Thank you very much,
Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:[email protected]
Quoted 4 lines · Gregoire Favre
drivers/built-in.o(.text+0x38655): In function `try_attach_device':
: undefined reference to `MOD_CAN_QUERY'
make: *** [vmlinux] Error 1
Modules are still very broken in 2.5.51, its best to compile a system which doesn't use modules or stay at an older kernel
Quoted 8 lines · On 10 Dec 2002 16:05:15 +0000 Alan Cox <[email protected]> wrote:
Quoted 4 lines · Gregoire Favre
drivers/built-in.o(.text+0x38655): In function `try_attach_device':
: undefined reference to `MOD_CAN_QUERY'
make: *** [vmlinux] Error 1Modules are still very broken in 2.5.51, its best to compile a system which doesn't use modules or stay at an older kernel
That may be true, but in this case, it's the only occurrance of MOD_CAN_QUERY outside the archs which haven't been updated to the new module loader yet, and it's a very odd thing to do.
I assume the author meant this:
drivers/media/dvb/dvb-core/dvb_i2c.c +1 -3
@@ -64,10 +64,8 @@ staticvoid try_attach_device (struct dvb_i2c_bus *i2c,struct dvb_i2c_device *dev) {if (dev->owner) { -if (!MOD_CAN_QUERY (dev->owner)) +if (!try_inc_mod_count (dev->owner))return ; - -__MOD_INC_USE_COUNT (dev->owner); }if (dev->attach (i2c) ==0 ) {
Signature · 2 lines
there are those who do and those who hang on and you don't see too many doers quoting their contemporaries. -- Larry McVoy
Quoted 9 lines · Rusty Russell
Quoted 6 lines · On 10 Dec 2002 16:05:15 +0000 Alan Cox <[email protected]> wrote:
Quoted 4 lines · Gregoire Favre
drivers/built-in.o(.text+0x38655): In function `try_attach_device':
: undefined reference to `MOD_CAN_QUERY'
make: *** [vmlinux] Error 1
Quoted 8 lines
Quoted 2 lines
Modules are still very broken in 2.5.51, its best to compile a system which doesn't use modules or stay at an older kernel
That may be true, but in this case, it's the only occurrance of
MOD_CAN_QUERYoutside the archs which haven't been updated to the new module loader yet, and it's a very odd thing to do.I assume the author meant this:
That looks right to me yes