[PATHv11 24/43] lwip: omap3: rename mem_init

Tom Rini trini at konsulko.com
Mon Nov 27 14:12:27 CET 2023


On Mon, Nov 27, 2023 at 06:57:07PM +0600, Maxim Uvarov wrote:

> Rename mem_init to solve following compilation error.
> +arm-linux-gnueabi-ld.bfd: net/lwip/lwip-external/src/core/mem.o: in
>   function `mem_init':
> +net/lwip/lwip-external/src/core/mem.c:162: multiple definition
>   of `mem_init';
>   arch/arm/mach-omap2/omap3/sdrc.o:arch/arm/mach-omap2/omap3/
>   sdrc.c:240: first defined here
> +make[1]: *** [Makefile:1764: u-boot] Error 1
> +/opt/gcc-13.1.0-nolibc/arm-linux-gnueabi/bin/../lib/gcc/arm-linux-
>   gnueabi/13.1.0/../../
> ../../arm-linux-gnueabi/bin/ld: net/lwip/lwip-external/src/core/
>   mem.o (symbol from
>   plugin): in function `mem_init':
> +(.text+0x0): multiple definition of `mem_init'; arch/arm/mach-omap2/
>   omap3/emif4.o
>   (symbol from plugin):(.text+0x0): first defined here
> +collect2: error: ld returned 1 exit status
> +(.text+0x0): multiple definition of `mem_init'; arch/arm/mach-omap2/
>   omap3/sdrc.o
>   (symbol from plugin):(.text+0x0): first defined here
> +Image 'simple-bin' is missing external blobs and is non-functional:
>    tee-os
> +/binman/simple-bin/fit/images/op-tee/tee-os (tee-os):
> 
> Signed-off-by: Maxim Uvarov <maxim.uvarov at linaro.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231127/a1202d0e/attachment.sig>


More information about the U-Boot mailing list