From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5955 invoked by alias); 24 Feb 2006 08:47:05 -0000 Received: (qmail 5947 invoked by uid 22791); 24 Feb 2006 08:47:04 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Feb 2006 08:47:02 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FCYbJ-0007N3-00; Fri, 24 Feb 2006 09:46:57 +0100 Date: Fri, 24 Feb 2006 17:14:00 -0000 To: David Fernandez Cc: Andrew Lunn , eCos Disuss , "; John Dallaway" Message-ID: <20060224084657.GP3433@lunn.ch> Mail-Followup-To: David Fernandez , Andrew Lunn , eCos Disuss , "; John Dallaway" References: <20060223181036.GV19406@lunn.ch> <1140770157.2884.2.camel@software.cct.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1140770157.2884.2.camel@software.cct.co.uk> User-Agent: Mutt/1.5.11+cvs20060126 From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: Problems building ecos sources X-SW-Source: 2006-02/txt/msg00286.txt.bz2 > > 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