This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Perhaps I just like pain :-(
- From: Chuck McManis <ecos at mcmanis dot com>
- To: ECOS Discussion Group <ecos-discuss at sources dot redhat dot com>
- Date: Sun, 04 Apr 2004 19:03:24 -0700
- Subject: [ECOS] Perhaps I just like pain :-(
Ok, I'm trying to get ecosconfig to compile using the 2.95.4 tools, this
because the presence of libstdc++.so.5 has totally screwed up my system
when portupgrade built some things with c++ which picked up that library
instead of the system.3 version because presumably it was "newer." Sigh.
Anyway, I've determined that libcdl and the infra library both build fine
with the older tools, the problem comes with cdl_exec in the ecosconfig
directory. That gives me the error shown below.(and many like it) What is
C++ trying to tell me?
--Chuck
Build error below :
====================================================================
gmake[1]: Entering directory `/u2/software/cvs-ecos/build/host/tools/configtool
/standalone/common'
c++ -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-protot
ypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual -O0 -o ecosco
nfig ecosconfig.o cdl_exec.o build.o flags.o -lcdl -lcyginfra -L/usr/local/li
b -ltcl84 -L/u2/software/cvs-ecos/build/host/libcdl -L/u2/software/cvs-ecos/bu
ild/host/infra
cdl_exec.o: In function `cdl_exec::cdl_exec(basic_string<char, string_char_trai
ts<char>, __default_alloc_template<false, 0> >, basic_string<char, string_char_
traits<char>, __default_alloc_template<false, 0> >, basic_string<char, string_c
har_traits<char>, __default_alloc_template<false, 0> >, bool)':
cdl_exec.o(.text+0x179): undefined reference to `CdlTransactionBody::set_infere
nce_callback_fn(CdlInferenceCallbackResult (*)(CdlTransactionBody *))'
cdl_exec.o(.text+0x181): undefined reference to `CdlTransactionBody::disable_au
tomatic_inference(void)'
cdl_exec.o: In function `cdl_exec::set_verbose_mode(bool)':
cdl_exec.o(.text+0x3b6): undefined reference to `CdlPackagesDatabaseBody::set_v
erbose(bool)'
cdl_exec.o: In function `cdl_exec::init(bool)':
cdl_exec.o(.text+0x422): undefined reference to `CdlPackagesDatabaseBody::make(
basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0>
>, void (*)(basic_string<char, string_char_traits<char>,
__default_alloc_templ
ate<false, 0> >), void (*)(basic_string<char, string_char_traits<char>, __defau
lt_alloc_template<false, 0> >))'
cdl_exec.o(.text+0x434): undefined reference to `CdlInterpreterBody::make(Tcl_I
nterp *)'
cdl_exec.o(.text+0x475): undefined reference to `CdlConfigurationBody::load(bas
ic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >,
CdlPackagesDatabaseBody *, CdlInterpreterBody *, void
(*)(basic_string<char, s
tring_char_traits<char>, __default_alloc_template<false, 0> >), void (*)(basic_
string<char, string_char_traits<char>, __default_alloc_template<false, 0> >))'
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss