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

From: Randy Dunlap
Date: Mon Jan 19 2009 - 13:51:55 EST


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@xxxxxxxxxxxxx>
---
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
--
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/