This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ARP Support in eCos Applications
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Manoj Abraham <manojkabraham at india dot com>
- Cc: sebastien dot couret at elios-informatique dot fr,ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 15 Oct 2004 09:12:19 +0200
- Subject: Re: [ECOS] ARP Support in eCos Applications
- References: <20041015060226.BAFF8398198@ws5-1.us4.outblaze.com>
On Fri, Oct 15, 2004 at 02:02:26PM +0800, Manoj Abraham wrote:
> Hello Sebastien Couret,
> Thanks for the your quick reply.Sorry for the late reply as I was trying with the AddMAC and DelMAC code what was suggested by you.But we have faced some problems while compiling.
> These are errors after compiling:
>
> $powerpc-eabi-gcc -c -DECOS _I /working/ppc/Infra_install/include -I /devel/5X-Pilot/src/ -L /working/ppc/Infra_install/lib/ IpStack.cpp -Ttarget.ld -nostdlib
>
> IpStack.cpp:191: `LOG_ERR' undeclared (first use this function)
> IpStack.cpp:191: (Each undeclared identifier is reported only once for each
> function it appears in.)
> IpStack.cpp:191: `LOG' undeclared (first use this function)
> IpStack.cpp:207: `LOG_INFO' undeclared (first use this function)
> IpStack.cpp:207: pointer to a function used in arithmetic
> IpStack.cpp:211: `log' undeclared (first use this function)
> IpStack.cpp:237: parse error before `/' token
These are not standard eCos features. You will need to replace them
with diag_printf or what ever you use your log/debug output.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss