This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: CPP question
- From: Gary Thomas <gary at chez-thomas dot org>
- To: Erik Aagaard Knudsen <EAK at penell dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: 10 Jun 2002 06:26:11 -0600
- Subject: Re: [ECOS] CPP question
- References: <AB439ADBB821D41181CC00D0B7458AEB01B62F3E@SRV-EXCHANGE>
On Mon, 2002-06-10 at 04:04, Erik Aagaard Knudsen wrote:
> Hi,
>
> I have a problem when trying to compile a CPP file which includes network.h.
> The compiler complains about multiple definitions of a number of routines
> (strcpy for one). Defined both in libkern.h and string.h. I have no problem
> if I compile it as a c file. What can I do about that?
>
You might see how it behaves when using the new (FreeBSD) network
stack instead - the include file layout has changed somewhat.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss