This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Enable Network Support for Hitachi Sh-7729


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]