2.4.7 : video4linux driver problem (missing files for "zoran")

Martial MICHEL (martial@users.sourceforge.net)
Mon, 23 Jul 2001 17:38:27 -0400


When trying to compile 2.4.7 kernel including the "Zoran
ZR36057/36060" entry (into "Multimedia devices->Video For Linux"), the
compilation process complete on an error message :
--------------------
ld -m elf_i386 -T /usr/src/linux-2.4.7/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/acpi/acpi.o drivers/parport/driver.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o drivers/i2c/i2c.o \
net/network.o \
/usr/src/linux-2.4.7/arch/i386/lib/lib.a /usr/src/linux-2.4.7/lib/lib.a /usr/src/linux-2.4.7/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/media/media.o(.data+0x14): undefined reference to `init_zoran_cards'
make: *** [vmlinux] Error 1
--------------------
After performing a quick check, it appears that
"init_zoran_cards" is never fully defined in the kernel sources, only
referenced :
--------------------
find -name "*.c" | xargs fgrep init_zoran_cards
./drivers/media/video/videodev.c:extern int init_zoran_cards(struct video_init *);
./drivers/media/video/videodev.c: {"zoran", init_zoran_cards},
--------------------
Would it be possible to get the missing files in order to
compile this driver ?

Hope that helps,

PS : Please send me a copy of an answer to this e-mail as I am not
subscribed to this ML

-- 
  Martial MICHEL
E-mail    : martial@users.sourceforge.net
Home page : http://www.loria.fr/~michel/
PBM       : http://pbm.sourceforge.net/
DLC       : http://dlc.sourceforge.net/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/