Gerd Knorr wrote:
delete the static for no_overlay.
Ok thanks for the tip. I had tried playing around a bit with the
no_overlay declarations...
However, the compile now fails with the messages below. Could there be
more to this no_overlay business than meets the eye? :-)
Cheers,
Philip
ld -m elf_i386 -T /usr/src/linux-2.4.20/arch/i386/vmlinux.lds -e stext
arch/i386/k
ernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o
init/do_mount
s.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/parport/driver.o drivers/char/char.o
drivers/block/block.o driver
s/misc/misc.o drivers/net/net.o drivers/media/media.o
drivers/ide/idedriver.o driv
ers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o
drivers/pci
/driver.o drivers/video/video.o drivers/usb/usbdrv.o drivers/i2c/i2c.o \
net/network.o \
/usr/src/linux-2.4.20/arch/i386/lib/lib.a
/usr/src/linux-2.4.20/lib/lib.a
/usr/src/linux-2.4.20/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/media/media.o(.text+0xf438): In function `bttv_ioctl':
: undefined reference to `no_overlay'
drivers/media/media.o(.text.init+0x1552): In function `bttv_check_chipset':
: undefined reference to `no_overlay'
drivers/media/media.o(.text.init+0x156f): In function `bttv_check_chipset':
: undefined reference to `no_overlay'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20'
make: *** [stamp-build] Error 2