From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2642 invoked by alias); 24 Feb 2006 08:35:40 -0000 Received: (qmail 2634 invoked by uid 22791); 24 Feb 2006 08:35:39 -0000 X-Spam-Check-By: sourceware.org Received: from server.cct.co.uk (HELO SERVER.cct.co.uk) (195.11.24.1) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Feb 2006 08:35:36 +0000 Received: from 192.67.84.200 ([192.67.84.200]) by SERVER.cct.co.uk ([10.10.10.1]) with Microsoft Exchange Server HTTP-DAV ; Fri, 24 Feb 2006 08:36:34 +0000 Received: from software.cct.co.uk by server.cct.co.uk; 24 Feb 2006 08:35:57 +0000 From: David Fernandez To: Andrew Lunn Cc: eCos Disuss , "; John Dallaway" In-Reply-To: <20060223181036.GV19406@lunn.ch> References: <20060223181036.GV19406@lunn.ch> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 24 Feb 2006 16:38:00 -0000 Message-Id: <1140770157.2884.2.camel@software.cct.co.uk> Mime-Version: 1.0 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/msg00285.txt.bz2 On Thu, 2006-02-23 at 19:10 +0100, Andrew Lunn wrote: > On Thu, Feb 23, 2006 at 05:38:04PM +0000, David Fernandez wrote: > > On Thu, 2006-02-23 at 16:13 +0000, John Dallaway wrote: > > > Hi David > > > > > > David Fernandez wrote: > > > > > > > But, when trying to make the graphical configuration utility (wxwin in > > > > linux), I've got: > > > > > > > > make -f /opt/ecos/host/tools/configtool/standalone/wxwin/Makefile > > > > ECOSDIR=/opt/ecos WXDIR=/usr/src/redhat/BUILD/wxGTK-2.4.2 LEVEL=release > > > > full 2>&1 | tee make.out > > > > ... > > > > mkdir -p /root/ecfg-build/ct-build-release > > > > c++ -O2 -c -I/usr/src/redhat/BUILD/wxGTK-2.4.2/include > > > > -I/opt/ecos/host/libcdl -I/opt/ecos/host/infra > > > > -I/opt/ecos/host/tools/configtool/common/common > > > > -I/opt/ecos/host/tools/Utils/common > > > > -I/opt/ecos/host/tools/ecostest/common > > > > -I/root/ecfg-build/ecc-build-release/libcdl > > > > -I/root/ecfg-build/ecc-build-release/infra -DecUSE_EXPERIMENTAL_CODE=1 > > > > `/root/ecfg-build/wxwin-build-release/wx-config > > > > --prefix=/root/ecfg-build/wxwin-build-release --cflags` > > > > -o /root/ecfg-build/ct-build-release/aboutdlg.o /opt/ecos/host/tools/configtool/standalone/wxwin/aboutdlg.cpp > > > > /opt/ecos/host/tools/Utils/common/eCosSocket.h:177: error: ???static > > > > CeCosSocket::SSReadResult CeCosSocket::SSRead(CeCosSerial&, > > > > CeCosSocket&, void*, unsigned int, unsigned int&, bool*)??? is protected > > > > /opt/ecos/host/tools/Utils/common/eCosSerial.h:53: error: within this > > > > context > > > > /usr/src/redhat/BUILD/wxGTK-2.4.2/include/wx/event.h:1949: warning: > > > > inline function ???wxEventTableEntry::wxEventTableEntry(const > > > > wxEventTableEntry&)??? used but never defined > > > > make: *** [/root/ecfg-build/ct-build-release/aboutdlg.o] Error 1 > > > > > > > > Any ideas?. > > > > > > I do not see this problem when building the eCos Configuration Tool > > > against wxGTK-2.4.2 under Linux. Make sure that you have configured > > > wxWidgets according to the instructions at: > > > > > > http://www.ecoscentric.com/devzone/configtool.shtml > > > > > > John Dallaway > > > eCosCentric Limited > > > > Hi John, > > > > Using wxGTK-2.4.2, and following the directions on the ecoscentric web > > site instead of README file in wxwin directory, for the wxGTK configure, > > I had to change --disable-sockets to --without-sockets for it to work; > > But when running the makefile.gnu in wxwing I got: > > > > [root@software ecfg-build]# make > > -f /opt/ecos/host/tools/configtool/standalone/wxwin/makefile.gnu install > > ECOSSRCDIR=/opt/ecos/host WXDIR=/usr/local/ecos > > INSTALLDIR=/usr/local/ecos 2>&1 | tee make.out > > c++ -O2 -c -ITCLDIR_use_system/include -I/usr/local/ecos/include > > -I/opt/ecos/host/tools/configtool/common/common > > -I/opt/ecos/host/tools/Utils/common > > -I/opt/ecos/host/tools/ecostest/common -DecUSE_EXPERIMENTAL_CODE=1 > > `/usr/local/ecos/bin/wx-config --cppflags` > > -o /root/ecfg-build/aboutdlg.o /opt/ecos/host/tools/configtool/standalone/wxwin/aboutdlg.cpp > > /opt/ecos/host/tools/Utils/common/eCosSocket.h:177: error: ???static > > CeCosSocket::SSReadResult CeCosSocket::SSRead(CeCosSerial&, > > CeCosSocket&, void*, unsigned int, unsigned int&, bool*)??? is protected > > /opt/ecos/host/tools/Utils/common/eCosSerial.h:53: error: within this > > context > > /usr/local/ecos/include/wx/event.h:1949: warning: inline function > > ???wxEventTableEntry::wxEventTableEntry(const wxEventTableEntry&)??? used > > but never defined > > make: *** [/root/ecfg-build/aboutdlg.o] Error 1 > > 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. Thank you very much for your help. I'll keep exploring this eCos thing... David. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss