[ECOS] ecos synthetic target with "net" package

Rohan Soman rohan.soman@gmail.com
Thu Mar 3 02:43:00 GMT 2005


1 >
i am trying to build an ecos synthetic target with "net" package 
build got succeful but while running hello.c i got following errors
i also have done synthetic target setup through 
configure, make, and make install steps (given in ecos reference eCos
synthetisc
target setup)
  
 
errors are follows...

[root@localhost ecos_net]# i386-elf-gcc -g
-I/ecos_net/ecos_install/include hello.c
-L/ecos_net/ecos_install/lib -Ttarget.ld -nostdlib
/ecos_net/ecos_install/lib/libtarget.a(net_bsd_tcpip_ip_icmp.o): 
In function `ip_next_mtu':
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_icmp.c:129: 
multiple definition of `cyg_icmpstat'

/ecos_net/ecos_install/lib/libtarget.a(net_bsd_tcpip_udp_usrreq.o):
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/udp_usrreq.c:140:
first defined here
/ecos_net/ecos_install/lib/libtarget.a(net_bsd_tcpip_tcp_input.o): 
In function `tcp_newreno':
/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/tcp_input.c:155: 
multiple definition of `cyg_icmpstat'
/ecos_net/ecos_install/lib/libtarget.a(net_bsd_tcpip_udp_usrreq.o)(.bss.cyg_icmpstat+0x0):
first defined here
collect2: ld returned 1 exit status



regards 
Rohan

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list