Re: m68k: main.c:(.init.text+0x730): undefined reference to `strlen'

From: Roman Zippel
Date: Wed May 14 2008 - 10:55:43 EST


Hi,

On Wed, 14 May 2008, Geert Uytterhoeven wrote:

> M68k builds with current mainline fail with
>
> init/built-in.o: In function `kernel_init':
> main.c:(.init.text+0x730): undefined reference to `strlen'

If it's generated by gcc, we can simply provide an uninlined version of it
in arch/m68k/lib/string.c similiar to strcpy (and there is already a
__kernel_strlen).

bye, Roman
--
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/