The error is because your gcc-core package and gcc-g++ are not of the same version. Either downgrade one of them to solve the problem or update both the libraries. Updating both the libraries is the recommended way.
More Related Contents:
- How to compile a program with limit time (5s), using MinGW-Gnu C++
- Undefined reference to static class member
- What is the difference between g++ and gcc?
- std::enable_if to conditionally compile a member function
- Compiling C++11 with g++
- Error: free(): invalid next size (fast):
- How does #include work in C++? [duplicate]
- Compiling a C++ program with GCC
- Flags to enable thorough and verbose g++ warnings
- Different floating point result with optimization enabled – compiler bug?
- Why is my integer math with std::pow giving the wrong answer?
- C++ standard library and Boehm garbage collector
- How to create a static library with g++?
- How to specify preference of library path?
- GNU GCC (g++): Why does it generate multiple dtors?
- Linking g++ 4.8 to libstdc++
- What’s the point of g++ -Wreorder?
- Linking to MSVC DLL from MinGW
- extra qualification error in C++
- Are C++17 Parallel Algorithms implemented already?
- GCC: Difference between -O3 and -Os
- cc1plus: error: unrecognized command line option “-std=c++11” with g++
- Link error “undefined reference to `__gxx_personality_v0′” and g++ [duplicate]
- Compile c++14-code with g++
- Linking files in g++
- “to_string” isn’t a member of “std”?
- C++ template function compiles in header but not implementation
- Can I make GCC warn on passing too-wide types to functions?
- get part of std::tuple
- std::array with aggregate initialization on g++ generates huge code