Kernel 2.0.36 & RAID0145-19990128:
After fixing the obvious bug involving empty_zero_page
and discussed on the linux-raid list last month, I
hit the following problem compiling modules. Does
anyone have a patch to fix this?
gcc -D__KERNEL__ -I/usr/src/linux-2.0.36-raid0145-19990128/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.0.36-raid0145-19990128/include/linux/modversions.h -c
-o sd.o sd.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.36-raid0145-19990128/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.0.36-raid0145-19990128/include/linux/modversions.h -c
-o sd_ioctl.o sd_ioctl.c
ld -m elf_i386 -m elf_i386 -r -o sd_mod.o sd.o sd_ioctl.o
sd_ioctl.o(.data+0x0): multiple definition of `kernel_version'
sd.o(.data+0x0): first defined here
make[2]: *** [sd_mod.o] Error 1
make[2]: Leaving directory
`/usr/src/linux-2.0.36-raid0145-19990128/drivers/scsi'
make[1]: *** [modules] Error 2
make[1]: Leaving directory
`/usr/src/linux-2.0.36-raid0145-19990128/drivers'
make: *** [modules] Error 2
Rich.
--
Bibliotech Ltd., 631-633 Fulham Rd., London SW6 5UQ. +44 171 460 4646
http://www.bibliotech.co.uk Home page: http://www.annexia.demon.co.uk
Home email: [EMAIL PROTECTED] Work: [EMAIL PROTECTED]
Original message content Copyright © 1999 Richard Jones