undefined symbol: cri_initialize_checkpoint_args_t

From: Alexandre Strube (surak_at_surak.eti.br)
Date: Thu Dec 11 2008 - 10:26:30 PST

  • Next message: Paul H. Hargrove: "Re: undefined symbol: cri_initialize_checkpoint_args_t"
    Hello,
    I am trying to use the checkpoint library as a "client". However, I'm facing
    some trouble.
    
    My tool compiles fine. But when I try to run it, I'm faced with the message:
    undefined symbol: cri_initialize_checkpoint_args_t
    
    I'm pretty sure it's my fault, as the examples/pthread_misc/pthread_misc
    works.
    
    This is blcr 0.8.0_b2
    
    
    
    The code compiles with no errors, unless I force the blcr/include. Then, I
    have the errors:
    
    g++ -c  -DBIGARRAY_MULTIPLIER=1 -DUSING_XED -g -fno-strict-aliasing
    -I/users/surak/pin/Include -I/users/surak/pin/InstLib
    -I/users/surak/pin/source/tools/InstLib
    -I/users/surak/pin/extras/xed2-ia32/include
    -I/users/surak/pin/source/include -I/users/surak/pin/source/include/gen
    -I/softs/blcr-0.8.0_b2/include/ -DTARGET_IA32 -DTARGET_LINUX -o
    obj-ia32/sigenable.o sigenable.cpp
    In file included from /softs/blcr-0.8.0_b2/include/libcr.h:33,
                     from sigenable.cpp:5:
    /softs/blcr-0.8.0_b2/include/blcr_common.h:213: error: expected
    unqualified-id before "new"
    /softs/blcr-0.8.0_b2/include/blcr_common.h:213: error: abstract declarator
    `const char*' used as declaration
    /softs/blcr-0.8.0_b2/include/blcr_common.h:213: error: expected `;' before
    "new"
    
    
    -- 
    []
    Alexandre Strube
    surak_at_ubuntu_dot_com
    

  • Next message: Paul H. Hargrove: "Re: undefined symbol: cri_initialize_checkpoint_args_t"