public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] CPP question
@ 2002-06-10  3:05 Erik Aagaard Knudsen
  2002-06-10  5:26 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Erik Aagaard Knudsen @ 2002-06-10  3:05 UTC (permalink / raw)
  To: 'ecos-discuss@sources.redhat.com'

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] CPP question
  2002-06-10  3:05 [ECOS] CPP question Erik Aagaard Knudsen
@ 2002-06-10  5:26 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2002-06-10  5:26 UTC (permalink / raw)
  To: Erik Aagaard Knudsen; +Cc: 'ecos-discuss@sources.redhat.com'

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-10 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-10  3:05 [ECOS] CPP question Erik Aagaard Knudsen
2002-06-10  5:26 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).