Re: Linux 2.4.21-rc3

From: Andrzej Krzysztofowicz (ankry@green.mif.pg.gda.pl)
Date: Mon May 26 2003 - 09:03:04 EST


This has been around the 2.4.21 pre series for quite some time, I thought it
was known, but as it has not yet been fixed, I'm doubting it.

If you try to compile ide as modules you get unresolved symbols:

depmod: *** Unresolved symbols in
/lib/modules/2.4.21-rc3/kernel/drivers/ide/ide-disk.o
depmod: proc_ide_read_geometry
depmod: ide_remove_proc_entries
[...]

The following short patch should fix this problem
(AFAIK, also not fixed in -ac tree)
****************************************************
--- linux-2.4.21-rc3/drivers/ide/Makefile~ Mon May 26 14:02:47 2003
+++ linux-2.4.21-rc3/drivers/ide/Makefile Mon May 26 15:49:27 2003
@@ -44,8 +44,8 @@
obj-$(CONFIG_BLK_DEV_ISAPNP) += ide-pnp.o


-ifeq ($(CONFIG_BLK_DEV_IDE),y)
-obj-$(CONFIG_PROC_FS) += ide-proc.o
+ifeq ($(CONFIG_PROC_FS),y)
+obj-$(CONFIG_BLK_DEV_IDE) += ide-proc.o
endif

ifeq ($(CONFIG_BLK_DEV_IDE),y)

--
=======================================================================
Andrzej M. Krzysztofowicz ankry@xxxxxxxxxxxxx
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Gdansk University of Technology
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/