Bernie Gardner wrote:
I am trying to compile a kernel (2.2.7 from SuSe 6.1) to provide the scssi emulation for ide r/w cdroms. I don't think I selected anything odd, and have new, relatively standard install of SuSE 6.1, but I get the following error from the final link phase of the compilation:
init/main.o(.data.init+0x1d4): undefined reference to `md_setup' drivers/block/block.a(genhd.o): In function `device_setup': genhd.o(.text.init+0x10a): undefined reference to `md_setup_drive' make: *** [vmlinux] Error 1
Any help would be greatly appreciated.
I have seen similar errors compiling the kernel when I activated a kernel feature without activating something else it depended on. You could try doing grep in the source directories for md_setup_drive to find the source file and see if there are enough clues to determine if you have left something out of your kernel's build. Perhaps someone else is more familiar with this particular piece of the kernel and can give you a more direct answer! -- ____________________________________________________________________ Robert Paulsen http://paulsen.home.texas.net