itkDB.a linking issue

Discussion in 'Cadence' started by sg, Aug 31, 2010.

  1. sg

    sg Guest

    I am building a itkDB/sample/DB using g++ version 3.4.6, on x86_64-
    redhat-linux machine.

    during linking, I see some strange undefs.

    .....
    ....
    : undefined reference to `std:_default_alloc_template<true,
    0>::alloacate(...)` <cadence_5141_install_path: tools/itkDB/lib64/
    itkDB.a(bCompTypeRoot.o(.gnu.linkonce.t....: In function
    `std:_Rb_tree<unsigned long, unsigned
    long....>::_M_create_node(unsigned long const&)
    ....
    ...

    something is missing in Makefile? any clues? thanks,
     
    sg, Aug 31, 2010
    #1
  2. sg wrote, on 08/31/10 02:18:
    Samir,

    This is covered in
    http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=11598146

    Essentially 3.4.6 is not supported with IC5141. It is because the build version
    of IC5141 is earlier - you should use 3.2.3. On our RHEL4 machines in Cadence,
    we have g++32 as the 3.2.3 version, so you may be able to use that:

    andrewb_26> rpm -q -f /usr/bin/g++32
    compat-gcc-32-c++-3.2.3-47.3.x86_64
    andrewb_27> rpm -q -f /usr/bin/g++
    gcc-c++-3.4.6-3.x86_64

    Regards,

    Andrew.
     
    Andrew Beckett, Sep 26, 2010
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.