Thread (5 messages) flat view 5 messages, 3 authors, 2011-03-25

multiple definition of `show_mem'

From: John Linn <hidden>
Date: 2011-03-25 17:10:00
Also in: lkml

-----Original Message-----
From: linux-arm-kernel-bounces at lists.infradead.org
[mailto:linux-arm-kernel-
bounces at lists.infradead.org] On Behalf Of Marc Kleine-Budde
Sent: Friday, March 25, 2011 5:07 AM
To: David Rientjes
Cc: linux-arm-kernel; LKML; kernel at pengutronix.de
Subject: Re: multiple definition of `show_mem'

On 03/24/2011 11:22 PM, David Rientjes wrote:
quoted
quoted
current mainline (v2.6.38-7210-gb81a618) on ARM/mxs has the
following build failure:
quoted
quoted
quoted
lib/lib.a(show_mem.o): In function `show_mem':
.../linux-2.6/lib/show_mem.c:67: multiple definition of `show_mem'
arch/arm/mm/built-in.o:.../linux-2.6/arch/arm/mm/init.c:82: first
defined here
make: *** [vmlinux.o] Error 1
[..]
quoted
Sorry about that, Marc.  I have a patch at

	http://marc.info/?l=linux-kernel&m=130100511521954

which should fix the issue for you (and I tested it with my arm
cross
quoted
compiler).
\o/ - the patch is already in mainline, boots like charm on my
mx28evk.

I pulled it, rebuilt without any issues, and it runs also on the Xilinx
platform.

Thanks,
John
regards, Marc
--
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help