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. Bernie Gardner bernieg@110.net
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
Thanks for the suggestion. I did get the kernel to compile but now there is another problem. With any new kernel I compile now I seem to loose access to the modem. The modem is on TTYS0, and works fine with the original kernel, but if I try it with any other kernel it fails with the message 'modem busy'( kppp) or 'I/O error' (wvdial). I have tried this with a variety of kernel configurations with the same result. I have read all the descriptions which might be relevant in menuconfig, but can't see any options which would have this effect either by being selected or not being selected. Thanks for any assistance, Bernie Gardner bernieg@110.net
>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 7/31/99, 8:30:03 PM, "Robert C. Paulsen, Jr." <paulsen@texas.net> wrote regarding Re: [SLE] kernel compile error:
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
participants (2)
-
bernieg@110.net
-
paulsen@texas.net