SHARE
TWEET

Linker errors

TransientResponse Aug 2nd, 2012 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~/Projects/CPP/AssisterLib> clang++ prog.cpp -o program -L. -lassister
  2. ./libassister.a(assister.o): In function `ArgumentException':
  3. /home/rudy/Projects/CPP/AssisterLib/assister.cpp:29: undefined reference to `vtable for ArgumentException'
  4. /home/rudy/Projects/CPP/AssisterLib/assister.cpp:34: undefined reference to `vtable for ArgumentException'
  5. ./libassister.a(assister.o): In function `str2int(std::string const&)':
  6. /home/rudy/Projects/CPP/AssisterLib/assister.cpp:99: undefined reference to `typeinfo for ArgumentException'
  7. /home/rudy/Projects/CPP/AssisterLib/assister.cpp:99: undefined reference to `ArgumentException::~ArgumentException()'
  8. ./libassister.a(assister.o): In function `str2double(std::string const&)':
  9. /home/rudy/Projects/CPP/AssisterLib/assister.cpp:107: undefined reference to `typeinfo for ArgumentException'
  10. /home/rudy/Projects/CPP/AssisterLib/assister.cpp:107: undefined reference to `ArgumentException::~ArgumentException()'
  11. ./libassister.a(assister.o): In function `GCC_except_table12':
  12. assister.cpp:(.gcc_except_table+0x1bc): undefined reference to `typeinfo for ArgumentException'
  13. ./libassister.a(assister.o): In function `GCC_except_table13':
  14. assister.cpp:(.gcc_except_table+0x224): undefined reference to `typeinfo for ArgumentException'
  15. clang: error: linker command failed with exit code 1 (use -v to see invocation)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top