This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ecos synthetic target with "net" package
- From: Rohan Soman <rohan dot soman at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 3 Mar 2005 08:13:03 +0530
- Subject: [ECOS] ecos synthetic target with "net" package
- Reply-to: Rohan Soman <rohan dot soman at gmail dot com>
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