[patch] Re: 2.5.56: undefined reference to `_ebss' from drivers/mtd/maps/uclinux.c

From: Adrian Bunk (bunk@fs.tum.de)
Date: Thu Mar 20 2003 - 11:00:08 EST


On Thu, Mar 20, 2003 at 03:59:28PM +0100, Adrian Bunk wrote:
>...
> It might not be a solution for the whole issue, but is it intentionally
> that it's possible to enable CONFIG_MTD_UCLINUX on non-uClinux
> architectures or should an appropriate dependency be added to the
> Kconfig file?

The following patch should do what I was thinking of:

--- linux-2.5.65-full/drivers/mtd/maps/Kconfig.old 2003-03-20 16:56:25.000000000 +0100
+++ linux-2.5.65-full/drivers/mtd/maps/Kconfig 2003-03-20 16:56:45.000000000 +0100
@@ -348,7 +348,7 @@
 
 config MTD_UCLINUX
         tristate "Generic uClinux RAM/ROM filesystem support"
- depends on MTD_PARTITIONS
+ depends on MTD_PARTITIONS && !MMU
         help
           Map driver to support image based filesystems for uClinux.
 

Any comments on whether this is correct?

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 : Sun Mar 23 2003 - 22:00:31 EST