[ECOS] Problems building ecos sources

Andrew Lunn andrew@lunn.ch
Thu Feb 23 17:30:00 GMT 2006


>> 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



More information about the Ecos-discuss mailing list