build issue #583 for v2.6.29-rc2-13-gf3b8436 : undefined reference to `lpddr_cmdset'

Randy Dunlap randy.dunlap at oracle.com
Mon Jan 19 13:51:31 EST 2009


Toralf Förster wrote:
> Hello,
> 
> the build (.config attached) failed, make ends with :
> ...
>   CC      arch/x86/lib/usercopy_32.o
>   AR      arch/x86/lib/lib.a
>   LD      vmlinux.o
>   MODPOST vmlinux.o
> WARNING: modpost: Found 1 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>   KSYM    .tmp_kallsyms0.S
>   AS      .tmp_kallsyms0.o
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> drivers/built-in.o: In function `lpddr_probe':
> (.text+0x17a1ae): undefined reference to `lpddr_cmdset'
> make: *** [.tmp_vmlinux1] Error 1


Repeating an email reply from last week:

This patch has been posted, just needs to be merged (hint):
---


Signed-off-by: Alexey Korolev <akorolev at infradead.org>
---
diff --git a/drivers/mtd/lpddr/Kconfig b/drivers/mtd/lpddr/Kconfig
index acd4ea9..5a401d8 100644
--- a/drivers/mtd/lpddr/Kconfig
+++ b/drivers/mtd/lpddr/Kconfig
@@ -12,6 +12,7 @@ config MTD_LPDDR
 	  DDR memories, intended for battery-operated systems.
 
 config MTD_QINFO_PROBE
+	depends on MTD_LPDDR
 	tristate "Detect flash chips by QINFO probe"
 	help
 	    Device Information for LPDDR chips is offered through the Overlay

-- 
~Randy



More information about the linux-mtd mailing list