UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 25039

11.1 EDK - LwIP and TEMAC error: "contrib/ports/v2pro/netif/xtemacif.c:584: multiple definition of `lwip_init'"

Description

When an EMAC and a TEMAC are included my design using LwIP, the following error messages occur:

"./ppc405_0/lib//liblwip4.a(xtemacif.o): In function `lwip_init':

contrib/ports/v2pro/netif/xtemacif.c:584: multiple definition of `lwip_init'

./ppc405_0/lib//liblwip4.a(xemacif.o):contrib/ports/v2pro/netif/xemacif.c:567: first defined here

./ppc405_0/lib//liblwip4.a(xtemacif.o): In function `tcpip_init_done':

contrib/ports/v2pro/netif/xtemacif.c:577: multiple definition of `tcpip_init_done'

./ppc405_0/lib//liblwip4.a(xemacif.o):contrib/ports/v2pro/netif/xemacif.c:557: first defined here

/cygdrive/c/EDK/gnu/powerpc-eabi/nt/bin/../lib/gcc/powerpc-eabi/4.1.1/../../../../powerpc-

eabi/bin/ld: Warning: size of symbol `tcpip_init_done' changed from 60 in ./ppc405_0/lib//liblwip4.a(xemacif.o) to 32 in ./ppc405_0/lib//liblwip4.a(xtemacif.o)

collect2: ld returned 1 exit status

make: *** [application/executable.elf] Error 1"

Solution

The configuration of LwIP does not support both a TEMAC and an EMAC in the same system, and there is currently no way to work around this issue.

This issue will be fixed in a future release.

AR# 25039
Date Created 09/04/2007
Last Updated 12/15/2012
Status Active
Type General Article