unresolved symbols while trying to link to boost_regex library

Discussion in 'C Programming' started by shouvik, Feb 11, 2008.

  1. shouvik

    shouvik

    Joined:
    Feb 11, 2008
    Messages:
    1
    Likes Received:
    0
    Hi,
    I am trying to access the function regex_search() by linking to the boost_regex library. However I get the following unresolved symbols
    1.undefined symbol: _ZN5boost14reg_expressionIcNS_12regex_traitsIcEEN4_STL9allocatorIcEEE14set_expressionEPKcS8_j
    2.undefined symbol: _ZN5boost9re_detail21raise_regex_exceptionERKN4_STL12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE
    3.undefined symbol: _ZN5boost14c_regex_traitsIcE17transform_primaryERN4_STL12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERKS8_
    4.undefined symbol: _ZN5boost14c_regex_traitsIcE9transformERN4_STL12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERKS8_
    The first and third error point to functions set_expression() and transform_primary() respectively. However the other errors are not clear to me.
    How can I resolve the link errors
    Thanks
     
    Last edited: Feb 18, 2008
    shouvik, Feb 11, 2008
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ^CrazyCoder^
    Replies:
    3
    Views:
    7,636
    Terrence Benade
    Sep 15, 2003
  2. David
    Replies:
    1
    Views:
    628
    David
    Jul 19, 2004
  3. Scott Brady Drummonds

    Unresolved Symbols from C++ Code

    Scott Brady Drummonds, Oct 8, 2003, in forum: C++
    Replies:
    3
    Views:
    658
    Jonathan Mcdougall
    Oct 9, 2003
  4. Jim
    Replies:
    0
    Views:
    427
  5. Mastadex
    Replies:
    4
    Views:
    911
    Mastadex
    Oct 1, 2005
  6. dotyet

    unresolved external symbol while linking

    dotyet, Jun 22, 2007, in forum: C Programming
    Replies:
    0
    Views:
    1,519
    dotyet
    Jun 22, 2007
  7. ideal.black@gmail.com
    Replies:
    3
    Views:
    3,161
    ideal.black@gmail.com
    Sep 30, 2007
  8. me2faster@excite.com
    Replies:
    8
    Views:
    800
    me2faster@excite.com
    May 17, 2005
Loading...