AR# 25039


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


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


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"


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 12/15/2012
Status Active
Type General Article
People Also Viewed