This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems building ecos sources


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]