This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Enable Network Support for Hitachi Sh-7729
- From: Kelvin Lawson <klawson at ad-holdings dot co dot uk>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 19 Apr 2004 09:21:14 +0100
- Subject: [ECOS] Re: Enable Network Support for Hitachi Sh-7729
- References: <s08037d4.039@EMAIL>
i am tring to enable network support for my system (ecos 2.0 & H/W SH7729) for that i developed a configuration filr with Hardware Sh77x9 & Package = net.
I am able to build the configuration with above h/w & package type.
I am tring to build the simple printf project with above mentioned configuration , but it is giving error as follows:
/ecos-c/ecos-work/net_install/lib/libtarget.a<net_bsd_tcpip_ip_icmp.o><bss.cyg_icmpstat+0x0>: in function 'ip_next_mtu':
........129: multiple defination of ' _cyg_icmpstst'
pls guide me to solve this problem
This is because you have upgraded to a newer version of GCC. Please see
the following:
http://sources.redhat.com/ml/ecos-discuss/2004-02/msg00383.html
Basically you have to move icmpstat to a source file, rather than
declare it (without extern) in a header file. This has been fixed
already - you can see the solution in CVS.
Kelvin.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss