This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Problems building ecos sources
On Thu, 2006-02-23 at 11:55 +0100, Andrew Lunn wrote:
> > [root@software ecos-build]# make
> > ...
> > c++ -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual
> > -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> > -Woverloaded-virtual -O0 -o ecosconfig ecosconfig.o cdl_exec.o
> > build.o flags.o -lcdl -lcyginfra -L/usr/local/ecos/lib -ltcl8.4
> > -L/root/ecos-build/host/libcdl -L/root/ecos-build/host/infra
> > /usr/local/ecos/lib/libtcl8.4.a(tclLoadDl.o)(.text+0x2a): In function
>
> This looks more like a tcl problem. Try using the system install of
> tcl, not the build for insight. It is also worth checking the output
> from configure. Which tcl does it find, the system installation or
> your private install in /usr/local?
>
> Andrew
Installed a new brand Tcl, all goes OK.
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?.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss