From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4913 invoked by alias); 28 Apr 2007 12:22:49 -0000 Received: (qmail 4904 invoked by uid 22791); 28 Apr 2007 12:22:47 -0000 X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 28 Apr 2007 13:22:44 +0100 Received: by mail.chez-thomas.org (Postfix, from userid 999) id ABF3019500C3; Sat, 28 Apr 2007 06:22:42 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 370FE1950090; Sat, 28 Apr 2007 06:22:37 -0600 (MDT) Message-ID: <46333C8C.8060606@mlbassoc.com> Date: Sat, 28 Apr 2007 12:22:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: Shusharin Alexey CC: ecos-discuss@ecos.sourceware.org References: <463325A9.5000403@mail.ru> In-Reply-To: <463325A9.5000403@mail.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Build eCos Configuration Tool for Linux X-SW-Source: 2007-04/txt/msg00156.txt.bz2 Shusharin Alexey wrote: > Hello all > > I'm trying to build eCos Configuration Tool for Linux. I follow > ecoscentric instructions > (http://www.ecoscentric.com/devzone/configtool.shtml) and successfully > build wxWidgets 2.4.0 and eCos host infrastructure, but building of eCos > Configuration Tool is failed. Where is mistake? > > My console output: > > [alex@killix configtool-build]$ make -f > ~/cvs/ecos/host/tools/configtool/standalone/wxwin/makefile.gnu \ > > install WXDIR=$HOME/wxGTK-2.4.0 ECOSSRCDIR=$HOME/cvs/ecos/host \ > > INSTALLDIR=$HOME/ecos-tools > > c++ -O2 -c -ITCLDIR_use_system/include -I/home/alex/ecos-tools/include > -I/home/alex/cvs/ecos/host/tools/configtool/common/common > -I/home/alex/cvs/ecos/host/tools/Utils/common > -I/home/alex/cvs/ecos/host/tools/ecostest/common > -DecUSE_EXPERIMENTAL_CODE=1 `/home/alex/wxGTK-2.4.0/bin/wx-config > --cppflags` -o /home/alex/configtool-build/aboutdlg.o > /home/alex/cvs/ecos/host/tools/configtool/standalone/wxwin/aboutdlg.cpp > /home/alex/cvs/ecos/host/tools/ecostest/common/eCosTest.h:202: error: > extra qualification ‘CeCosTest::’ on member ‘Connect’ > make: *** [/home/alex/configtool-build/aboutdlg.o] Error 1 > > My system: > distr: Fedora 6 > gcc version: 4.1.1 > glib version: 2.12 and 1.2.10 > gtk version: 2.10 and 1.2.10 > > Also I was trying to build configtool with wxWidgets 2.8.3 and it wasn't > working too, but with another error. As far as I understand current > version of configtool can't work with wxWidgets 2.8.3. Is my > understanding correct? Stick with wxWidgets 2.4.0 Your compile problem can most easily be fixed by using an older version of GCC. On Fedora, you can install the "compat-gcc" RPMS, which installs GCC 3.4.0 alongside of 4.1.1 Adding "CC=gcc34 CXX=g++34" should fix it (I've not tested this) -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss