Undefined symbol with g++

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • saurabhverma78@gmail.com

    Undefined symbol with g++

    Hello,
    I am creating an executable using g++. I am gettinng the symbol
    '_ZNSaIcEC1Ev' undefined in my executable. This symbol is there in a
    static library being used to build this executable.
    I am passing libstdc++.a also which has this symbol. Can you please
    help me finding out the problem.

    Regards,
    Saurabh
  • Victor Bazarov

    #2
    Re: Undefined symbol with g++

    saurabhverma78@ gmail.com wrote:
    I am creating an executable using g++. I am gettinng the symbol
    '_ZNSaIcEC1Ev' undefined in my executable. This symbol is there in a
    static library being used to build this executable.
    I am passing libstdc++.a also which has this symbol. Can you please
    help me finding out the problem.
    Sure we can. First off, compiler-specific issues belong to compiler-
    specific newsgroups, so try 'gnu.g++.help'. Second, post your code (the
    distilled version of it, see FAQ 5.8). And read the rest of the FAQ
    while you're there.

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask

    Comment

    Working...