From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3620 invoked by alias); 23 Feb 2006 16:48:41 -0000 Received: (qmail 3611 invoked by uid 22791); 23 Feb 2006 16:48:41 -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 16:48:39 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FCJdn-0003xv-00; Thu, 23 Feb 2006 17:48:31 +0100 Date: Thu, 23 Feb 2006 17:30:00 -0000 To: jld@ecoscentric.com Cc: Andrew Lunn , ecos-discuss@ecos.sourceware.org, David Fernandez Message-ID: <20060223164831.GN3433@lunn.ch> Mail-Followup-To: jld@ecoscentric.com, Andrew Lunn , ecos-discuss@ecos.sourceware.org, David Fernandez 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> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1140691695.2885.25.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: Re: [ECOS] Problems building ecos sources X-SW-Source: 2006-02/txt/msg00278.txt.bz2 >> 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 Hi John. Isn't this the same error as http://bugzilla.ecoscentric.com/show_bug.cgi?id=1000207 Also, isn't this a true C++ error. I'm no C++ programmer, but shouldn't class CeCosSerial be a friend of class CeCosSerial? It is trying to access a protected member which only friends and the class derived from the class are allowed to do. 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