On Thu, 2006-02-23 at 19:10 +0100, Andrew Lunn wrote: > 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: > > > > [EMAIL PROTECTED] 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
Hi Andrew, It worked !, the utility is running now. Thank you very much for your help. I'll keep exploring this eCos thing... David. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
