From: Andrew Lunn <andrew@lunn.ch>
To: David Fernandez <dfernandez@cct.co.uk>
Cc: eCos Disuss <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] Re: Problems building ecos sources
Date: Fri, 24 Feb 2006 06:11:00 -0000 [thread overview]
Message-ID: <20060223181036.GV19406@lunn.ch> (raw)
In-Reply-To: <1140716284.2885.45.camel@software.cct.co.uk>
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:
>
> [root@software 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
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2006-02-23 18:10 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-22 16:49 [ECOS] " David Fernandez
2006-02-22 16:54 ` Andrew Lunn
[not found] ` <1140627369.2878.18.camel@software.cct.co.uk>
2006-02-22 21:39 ` Andrew Lunn
2006-02-23 11:33 ` David Fernandez
2006-02-23 15:02 ` Andrew Lunn
2006-02-23 15:37 ` David Fernandez
2006-02-23 15:51 ` Andrew Lunn
2006-02-23 16:48 ` [ECOS] " John Dallaway
[not found] ` <1140716284.2885.45.camel@software.cct.co.uk>
2006-02-24 6:11 ` Andrew Lunn [this message]
2006-02-24 16:38 ` David Fernandez
2006-02-24 17:14 ` Andrew Lunn
2006-02-24 22:00 ` [ECOS] " David Fernandez
2006-02-26 5:19 ` Andrew Lunn
2006-02-27 10:09 ` David Fernandez
2006-02-27 11:25 ` Andrew Lunn
2006-02-27 15:35 ` David Fernandez
[not found] ` <1141032779.2878.13.camel@software.cct.co.uk>
2006-02-27 18:14 ` Andrew Lunn
2006-02-27 22:48 ` David Fernandez
2006-05-14 2:51 ` Frank Pagliughi
2006-02-26 23:13 ` Chuck McManis
2006-02-27 9:33 ` David Fernandez
2006-02-23 17:30 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060223181036.GV19406@lunn.ch \
--to=andrew@lunn.ch \
--cc=dfernandez@cct.co.uk \
--cc=ecos-discuss@ecos.sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).