Re: make/configuration/dependency bug in 2.4.20 kernel

From: Adrian Bunk (bunk@fs.tum.de)
Date: Fri Jan 03 2003 - 19:39:14 EST


On Fri, Dec 27, 2002 at 03:32:42PM -0500, shivers@cc.gatech.edu wrote:

> I am not a member of the linux kernel-hackers community, so if this is the
> wrong address for this message, please excuse my ignorance.
>
> There appears to be a make/configuration/dependency bug in the
> 2.4.20 kernel found at
> http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.gz
>
> * Short summary
> ---------------
> The build machinery isn't aware that the driver for the smc91c92 PCMCIA card
> /lib/modules/2.4.20/kernel/drivers/net/pcmcia/smc91c92_cs.o
> depends on /usr/src/linux-2.4.20/drivers/net/mii.c.
>...

This is a known bug in 2.4.20 that is already fixed in 2.4.21-pre.

The following patch fixes it:

--- linux-2.4.20/drivers/net/Makefile.old 2003-01-04 01:36:43.000000000 +0100
+++ linux-2.4.20/drivers/net/Makefile 2003-01-04 01:37:14.000000000 +0100
@@ -226,6 +226,9 @@
 obj-$(CONFIG_TUN) += tun.o
 obj-$(CONFIG_DL2K) += dl2k.o
 
+# non-drivers/net drivers who want mii lib
+obj-$(CONFIG_PCMCIA_SMC91C92) += mii.o
+
 ifeq ($(CONFIG_ARCH_ACORN),y)
 mod-subdirs += ../acorn/net
 subdir-y += ../acorn/net

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:23 EST