This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Link error building eCos CVS host tools on FC2


I fetched the latest snapshot from

    http://www.ecoscentric.com/devzone/snapshots.shtml

and compiled with:

    mkdir ecos-cvs-build
    cd ecos-cvs-build/
    /opt/ecos/ecos-cvs/ecos/configure --prefix=/usr
    make

but it fails when linking ecosconfig:

    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/lib -ltcl8.4  -L/opt/ecos/ecos-cvs-build/host/libcdl -L/opt/ecos/ecos-cvs-build/host/infra
    cdl_exec.o(.text+0x80): In function `cdl_exec::cdl_exec[not-in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)':
    : undefined reference to `CdlTransactionBody::set_inference_callback_fn(CdlInferenceCallbackResult (*)(CdlTransactionBody*))'
    cdl_exec.o(.text+0x88): In function `cdl_exec::cdl_exec[not-in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)':
    : undefined reference to `CdlTransactionBody::disable_automatic_inference()'
    [100's of undefined symbol errors omitted]

Looking on Google I could only come up with this mail, which didn't
have a useful follow up:

    http://sources.redhat.com/ml/ecos-discuss/2004-04/msg00072.html

I'm using gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7).

Any suggestions?

Craig

-- 
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]