lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Error: symbol `...' is already defined


From: Chris Hiszpanski
Subject: [lwip-users] Error: symbol `...' is already defined
Date: Wed, 09 Mar 2005 08:41:00 +0000

Hello,

I'm new to LwIP and I'm trying to compile the recommended minimal set of files (as listed in contrib\ports\unix\proj\minimal\Makefile) for the ARM7TDMI using gcc 3.4.2 from www.codesourcery.com (the ARM Ltd. endorsed distribution).

I have finally fixed hundreds of errors the compiler was reporting by creating arch/cc.h and similar files with the necessary definitions; however, I cannot get around these set of errors:

arm-none-elf-gcc -gdwarf-2 -Wall -march=armv4t -fno-builtin -mcpu=arm7tdmi -mlittle-endian -O0 -g -c -Ilwip/src/include -Ilwip/src/include/ipv4 -Iinclude -I/usr/local/arm-none-elf/include -L/usr/local/arm-none-elf/lib -o obj/lwip.o lwip/src/core/mem.c lwip/src/code/memp.c lwip/src/core/netif.c lwip/src/core/raw.c lwip/src/core/pbuf.c lwip/src/core/stats.c lwip/src/core/netif.c lwip/src/core/sys.c lwip/src/core/tcp.c lwip/src/core/tcp_in.c lwip/src/core/tcp_out.c lwip/src/core/udp.c lwip/src/core/dhcp.c lwip/src/core/ipv4/icmp.c lwip/src/core/ipv4/ip.c lwip/src/core/inet.c lwip/src/core/ipv4/ip_addr.c lwip/src/core/ipv4/ip_frag.c lwip/src/netif/etharp.c

c:\\DOCUMEN~1\\CHRISH~1\\LOCALS~1\\Temp/ccwfaaaa.s: Assembler messages:
c:\\DOCUMEN~1\\CHRISH~1\\LOCALS~1\\Temp/ccwfaaaa.s:18843: Error: symbol `ip_addr_any' is already defined c:\\DOCUMEN~1\\CHRISH~1\\LOCALS~1\\Temp/ccwfaaaa.s:18849: Error: symbol `ip_addr_broadcast' is already defined c:\\DOCUMEN~1\\CHRISH~1\\LOCALS~1\\Temp/ccwfaaaa.s:18856: Error: symbol `netif_list' is already defined
...
make: *** [lwip.o] Error 1

some of these repeat several times (i.e. different line numbers in ccwfaaaa.s but same symbol).

Any ideas?

Cheers,
Chris

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement





reply via email to

[Prev in Thread] Current Thread [Next in Thread]