public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Build eCos Configuration Tool for Linux
@ 2007-04-28 10:48 Shusharin Alexey
  2007-04-28 12:22 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Shusharin Alexey @ 2007-04-28 10:48 UTC (permalink / raw)
  To: ecos-discuss

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?


Thanks
Best regards

Alexey Shusharin


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Build eCos Configuration Tool for Linux
  2007-04-28 10:48 [ECOS] Build eCos Configuration Tool for Linux Shusharin Alexey
@ 2007-04-28 12:22 ` Gary Thomas
  2007-04-29  2:55   ` Chris Bayley
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2007-04-28 12:22 UTC (permalink / raw)
  To: Shusharin Alexey; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Build eCos Configuration Tool for Linux
  2007-04-28 12:22 ` Gary Thomas
@ 2007-04-29  2:55   ` Chris Bayley
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Bayley @ 2007-04-29  2:55 UTC (permalink / raw)
  To: ecos-discuss

Alternatively, if you wish to stick with gcc 4.1 just delete the extra
qualifier ‘CeCosTest::’ on the member Connect. Under new rules with 4.1
the extra qualifiers are redundant. Once you have fixed that file you
will encounter the error once again in the file propertywin.h, again
delete the extra qualifier 'ecPropertyListCtrl::' on member
visible_properties and you are away!

: )
Chris Bayley



Gary Thomas wrote:
> 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)
>
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-29  2:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-28 10:48 [ECOS] Build eCos Configuration Tool for Linux Shusharin Alexey
2007-04-28 12:22 ` Gary Thomas
2007-04-29  2:55   ` Chris Bayley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).