Languages

g++ - /usr/bin/ld: program: _ZSt4cout: invalid version 2 (max 0)

5 points
Asked by:
Dexter
660

What is the reasone of the error when I use g++ command to compile C++ source code (this source code)?

g++ compilation error:

The command I use:

 

1 answer
4 points
Answered by:
Root-ssh
178180

It looks like you don't have defined output program name correctly (-o parameter is missing).

Check:

 

0 commentsAdd comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join