Advertisement
SansNumbers

these errors instead

Dec 2nd, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. /tmp/ccblj5DG.o: In function `main':
  2. print1.cpp:(.text+0xa): undefined reference to `std::cout'
  3. print1.cpp:(.text+0xf): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
  4. /tmp/ccblj5DG.o: In function `__static_initialization_and_destruction_0(int, int)':
  5. print1.cpp:(.text+0x3d): undefined reference to `std::ios_base::Init::Init()'
  6. print1.cpp:(.text+0x4c): undefined reference to `std::ios_base::Init::~Init()'
  7. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement