<div dir="ltr"><div>Hi All, <br><br></div>I am trying to install (the latest) libosmium on a server running CentOS 6.7. When I compile the program using intel/15.0.6 and the make command, an error occurred: <br><br>---------------------------------------------------------------------------------------------------------------------------------------------------<br>$ make<br>[  1%] Built target testlib<br>[  3%] Building CXX object test/CMakeFiles/area_test_area_id.dir/t/area/test_area_id.cpp.o<br>icpc: command line warning #10159: invalid argument for option '-std'<br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/ext/atomicity.h(49): error: identifier "__ATOMIC_ACQ_REL" is undefined<br>    { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }<br>                                              ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/ext/atomicity.h(49): error: identifier "__atomic_fetch_add" is undefined<br>    { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }<br>             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/ext/atomicity.h(53): error: identifier "__ATOMIC_ACQ_REL" is undefined<br>    { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }<br>                                       ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/ext/atomicity.h(53): error: identifier "__atomic_fetch_add" is undefined<br>    { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }<br>      ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/cstdlib(178): error: identifier "__int128" is undefined<br>    inline __int128<br>           ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/cstdlib(179): error: identifier "__int128" is undefined<br>    abs(__int128 __x) { return __x >= 0 ? __x : -__x; }<br>        ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1405): error: identifier "__int128" is undefined<br>      struct numeric_limits<__int128><br>                            ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1409): error: identifier "__int128" is undefined<br>        static _GLIBCXX_CONSTEXPR __int128<br>                                  ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1412): error: identifier "__int128" is undefined<br>        static _GLIBCXX_CONSTEXPR __int128<br>                                  ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1421): error: identifier "__int128" is undefined<br>         = __glibcxx_digits (__int128);<br>           ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1421): error: function call is not allowed in a constant expression<br>         = __glibcxx_digits (__int128);<br>           ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1423): error: function call is not allowed in a constant expression<br>         = __glibcxx_digits10 (__int128);<br>           ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1432): error: "__int128" is not a type name<br>        static _GLIBCXX_CONSTEXPR __int128<br>                                  ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1435): error: "__int128" is not a type name<br>        static _GLIBCXX_CONSTEXPR __int128<br>                                  ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1450): error: "__int128" is not a type name<br>        static _GLIBCXX_CONSTEXPR __int128<br>                                  ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1454): error: "__int128" is not a type name<br>        static _GLIBCXX_CONSTEXPR __int128<br>                                  ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1458): error: "__int128" is not a type name<br>        static _GLIBCXX_CONSTEXPR __int128<br>                                  ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1462): error: "__int128" is not a type name<br>        static _GLIBCXX_CONSTEXPR __int128<br>                                  ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1410): error: expected a ")"<br>        min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (__int128); }<br>                                             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1410): error: expected a ")"<br>        min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (__int128); }<br>                                             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1410): error: expected a ")"<br>        min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (__int128); }<br>                                             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1413): error: expected a ")"<br>        max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (__int128); }<br>                                             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1413): error: expected a ")"<br>        max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (__int128); }<br>                                             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1452): error: "__int128" is not a type name<br>        { return static_cast<__int128>(0); }<br>                             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1456): error: "__int128" is not a type name<br>        { return static_cast<__int128>(0); }<br>                             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1460): error: "__int128" is not a type name<br>        { return static_cast<__int128>(0); }<br>                             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1464): error: "__int128" is not a type name<br>        { return static_cast<__int128>(0); }<br>                             ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1479): error: expected a ">"<br>      struct numeric_limits<unsigned __int128><br>                                     ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1484): error: expected a ";"<br>        min() _GLIBCXX_USE_NOEXCEPT { return 0; }<br>        ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1497): error: expected a ")"<br>         = __glibcxx_digits10 (unsigned __int128);<br>           ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1497): error: expected a ")"<br>         = __glibcxx_digits10 (unsigned __int128);<br>           ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1506): error: "__int128" has already been declared in the current scope<br>        static _GLIBCXX_CONSTEXPR unsigned __int128<br>                                           ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1507): error: expected a ";"<br>        epsilon() _GLIBCXX_USE_NOEXCEPT { return 0; }<br>        ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1524): error: "__int128" has already been declared in the current scope<br>        static _GLIBCXX_CONSTEXPR unsigned __int128<br>                                           ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1525): error: expected a ";"<br>        infinity() _GLIBCXX_USE_NOEXCEPT<br>        ^<br><br>/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/bits/c++0x_warning.h(32): catastrophic error: #error directive: This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.<br>  #error This file requires compiler and library support for the \<br>   ^<br><br>compilation aborted for /home/hzhan338/libosmium/test/t/area/test_area_id.cpp (code 4)<br>make[2]: *** [test/CMakeFiles/area_test_area_id.dir/t/area/test_area_id.cpp.o] Error 4<br>make[1]: *** [test/CMakeFiles/area_test_area_id.dir/all] Error 2<br>make: *** [all] Error 2<br><div>---------------------------------------------------------------------------------------------------------------------------------------------------<br><br></div><div>Could someone help me solve this issue? Thanks! <br></div><div><br clear="all"><div><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b><font face="tahoma, sans-serif">Hongyu </font><span style="font-family:tahoma,sans-serif">Zhang </span></b><div style="color:rgb(34,34,34);background-color:rgb(255,255,255)"><font face="tahoma, sans-serif" size="1">MSc Candidate | University of Western Ontario<br></font></div></div></div></div></div></div></div></div></div></div></div></div>

</div></div></div>