This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
CPP question
- From: Erik Aagaard Knudsen <EAK at penell dot com>
- To: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 10 Jun 2002 12:04:44 +0200
- Subject: [ECOS] CPP question
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?
Best Regards
Erik Aa. Knudsen
Project Engineer,
Software Engineer, M.Sc.
Phone direct: +45 9652 0356
E-mail: eak@penell.com <mailto:eak@penell.com>
----------------------------------------------------------------------------
-------------
Penell A/S - An RTX Company
Plastvaenget 9
DK-9560 Hadsund
Denmark.
Phone: +45 9857 2666
Fax: +45 9857 2664
Website: www.penell.com <http://www.penell.com>
----------------------------------------------------------------------------
-------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss