This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problems building ecos sources
- From: Andrew Lunn <andrew at lunn dot ch>
- To: David Fernandez <dfernandez at cct dot co dot uk>
- Cc: Andrew Lunn <andrew at lunn dot ch>, eCos Disuss <ecos-discuss at ecos dot sourceware dot org>, "; John Dallaway" <jld at ecoscentric dot com>
- Date: Fri, 24 Feb 2006 09:46:57 +0100
- Subject: [ECOS] Re: Problems building ecos sources
- References: <20060223181036.GV19406@lunn.ch> <1140770157.2884.2.camel@software.cct.co.uk>
> > Hi David
> >
> > A shot in the dark. Try this:
> >
> > Index: eCosSocket.h
> > ===================================================================
> > RCS file: /cvs/ecos/ecos/host/tools/Utils/common/eCosSocket.h,v
> > retrieving revision 1.2
> > diff -u -r1.2 eCosSocket.h
> > --- eCosSocket.h 19 Sep 2000 05:53:51 -0000 1.2
> > +++ eCosSocket.h 23 Feb 2006 18:09:34 -0000
> > @@ -75,6 +75,7 @@
> >
> > class CeCosSocket {
> > public:
> > + friend class CeCosSerial;
> > static const String GetHostByName(LPCTSTR pszHost);
> >
> > // These functions must be called before any other operation is carried out:
> >
> > Andrew
>
> Hi Andrew,
>
> It worked !, the utility is running now.
Great.
John: Please could you take a look at this. Is this really the correct
fix? Should the whole class be a friend or is there a way to make just
the function a friend?
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