Messages in this thread | | | Date | Mon, 12 Jan 1998 07:42:23 +0100 | From | Henrik Storner <> | Subject | Re: 2.1.78 - ide cannot be used as a module. |
| |
In linux.kernel you write: Itai Nahshon <nahshon@actcom.co.il> writes:
>If I have CONFIG_PROC_FS=y and CONFIG_BLK_DEV_IDE=m I cannot use ide.
>The reason is that ide-proc.o tries to compile as a module >but it has mutual dependencies with ide.o. Even if it did not, it does >not include <linux/module.h>.
This has been the case for the past several kernels. A quick fix is to link ide.o and ide-proc.o together into a "super-module", i.e.
cd /lib/modules/2.1.78/block ld -r -o ide_mod.o ide.o ide-proc.o rm -f ide.o ide-proc.o /sbin/depmod -a 2.1.78
This makes IDE work as a module, except that /proc/ide comes up empty.
-- Henrik Storner
| |