From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27519 invoked by alias); 23 Feb 2006 18:10:43 -0000 Received: (qmail 27506 invoked by uid 22791); 23 Feb 2006 18:10:42 -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; Thu, 23 Feb 2006 18:10:40 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FCKvE-00041A-00; Thu, 23 Feb 2006 19:10:36 +0100 Date: Fri, 24 Feb 2006 06:11:00 -0000 To: David Fernandez Cc: eCos Disuss Message-ID: <20060223181036.GV19406@lunn.ch> Mail-Followup-To: David Fernandez , eCos Disuss References: <1140626982.2878.16.camel@software.cct.co.uk> <20060222165331.GI3433@lunn.ch> <1140627369.2878.18.camel@software.cct.co.uk> <20060222213922.GP19406@lunn.ch> <1140691695.2885.25.camel@software.cct.co.uk> <20060223105500.GK3433@lunn.ch> <1140706974.2885.34.camel@software.cct.co.uk> <43FDDF21.8070107@ecoscentric.com> <1140716284.2885.45.camel@software.cct.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1140716284.2885.45.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/msg00281.txt.bz2 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 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss