This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ConfigTool compilation-error


Hi,

> You might have a look at
>
> http://www.ecosforge.net/pmwiki/index.php/Projects/Hosttools
>
> If you try that, please let me know, if it works or what the problem is.

Ok. First of all - it is impossible to specify a tcl configuration
with includes in /usr/local/include/tcl8.4 and where tclConfig.sh in
/usr/local/lib/tcl8.4/tclConfig.sh. Normaly you would use the options
'--with-tcl-header=/usr/local/include/tcl8.4 --with-tcl=/usr/local/ 
--with-tcl-version=8.4'
However - this is not possible with this configure script since

[host-tools/host/libcdl/configure:4433]

if test "${MSVC}" = "yes" ; then

let the tcl-include code not to be executed. (Maybe this is
just a typo) The coresponding "fi" is an else near
ecos_tk_libs=""


The second problem is in line 4534. If tclConfig.sh does not
provice $TCL_INC_DIR, $TCL_PREFIX/tcl.h is used although I provided
the correct location before.

Same problem in host-tools/host/tools/configtool/standalone/common/configure,
/host-tools/host/tools/ecostest/common/configure, host-tools/host/tools/configtool/standalone/wxwin/configure 

OK - I patched that configure scripts and get the following
error while linking configtool:
g++ -pipe -Wall -Wpointer-arith -Woverloaded-virtual -O0 -I/usr/local/lib/wx/inc
lude/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D
_LARGE_FILES -D__WXGTK__ -pthread -D_THREAD_SAFE  -L/usr/local/lib -pthread   -L
/usr/local/lib   -lwx_gtk2_richtext-2.8 -lwx_gtk2_aui-2.8 -lwx_gtk2_xrc-2.8 -lwx
_gtk2_qa-2.8 -lwx_gtk2_html-2.8 -lwx_gtk2_adv-2.8 -lwx_gtk2_core-2.8 -lwx_base_x
ml-2.8 -lwx_base_net-2.8 -lwx_base-2.8   -o configtool build.o flags.o aboutdlg.
o admindlg.o appsettings.o buildoptionsdlg.o choosereposdlg.o configitem.o confi
gpropdlg.o configtooldoc.o configtool.o configtoolview.o configtree.o conflictsd
lg.o conflictwin.o docsystem.o ecscrolwin.o ecutils.o filename.o finddlg.o folde
rdlg.o htmlparser.o licensedlg.o mainwin.o mltwin.o msgdlgex.o outputwin.o packa
gesdlg.o platformeditordlg.o platformsdlg.o propertywin.o reposdlg.o runtestsdlg
.o sectiondlg.o settingsdlg.o shortdescrwin.o solutionswin.o splittree.o templat
esdlg.o  -lcdl -lcyginfra -ltcl84 -L/usr/local/lib -ltcl84 -ltest -lutils  -L/mn
t/build/host/libcdl -L/mnt/build/host/infra -L=/usr/local//lib -L/mnt/build/host
/tools/ecostest/common -L/mnt/build/host/tools/Utils/common 
/mnt/build/host/tools/ecostest/common/libtest.a(eCosTest.o)(.text+0x6422): In fu
nction `CeCosTest::AcceptThreadFunc()':
: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
configtree.o(.gnu.linkonce.r._ZTV16ecConfigTreeCtrl+0x17c): undefined reference 
to `wxRemotelyScrolledTreeCtrl::SetScrollbar(int, int, int, int, bool)'
configtree.o(.gnu.linkonce.r._ZTV16ecConfigTreeCtrl+0x380): undefined reference 
to `wxRemotelyScrolledTreeCtrl::DoCalcScrolledPosition(int, int, int*, int*) con
st'
configtree.o(.gnu.linkonce.r._ZTV16ecConfigTreeCtrl+0x3a8): undefined reference 
to `non-virtual thunk to wxRemotelyScrolledTreeCtrl::DoCalcScrolledPosition(int,
 int, int*, int*) const'
splittree.o(.gnu.linkonce.r._ZTV26wxRemotelyScrolledTreeCtrl+0x17c): undefined r
eference to `wxRemotelyScrolledTreeCtrl::SetScrollbar(int, int, int, int, bool)'
splittree.o(.gnu.linkonce.r._ZTV26wxRemotelyScrolledTreeCtrl+0x380): undefined r
eference to `wxRemotelyScrolledTreeCtrl::DoCalcScrolledPosition(int, int, int*, 
int*) const'
splittree.o(.gnu.linkonce.r._ZTV26wxRemotelyScrolledTreeCtrl+0x3a8): undefined r
eference to `non-virtual thunk to wxRemotelyScrolledTreeCtrl::DoCalcScrolledPosi
tion(int, int, int*, int*) const'
gmake[3]: *** [configtool] Fehler 1
gmake[3]: Leaving directory `/mnt/build/host/tools/configtool/standalone/wxwin'
gmake[2]: *** [all] Fehler 2
gmake[2]: Leaving directory `/mnt/build/host/tools/configtool/standalone/wxwin'
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Leaving directory `/mnt/build/host'
gmake: *** [all-recursive] Fehler 1
[martin@martin /mnt/build]$ 


Now I'm using wxgtk2-2.8 instead of 2.4.

Thank you,
 Martin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]