|
|
我 yum install rsync
运行 make std
出现提示:
make[3]: *** [makefile:31: sites.o] Error 2
make[3]: Leaving directory '/opt/vasp.6.1.2_patched/build/std/parser'
make[2]: *** [makefile:12: all] Error 2
make[2]: Leaving directory '/opt/vasp.6.1.2_patched/build/std/parser'
make[1]: *** [makefile:156: parser] Error 2
make[1]: Leaving directory '/opt/vasp.6.1.2_patched/build/std'
make: *** [makefile:6: std] Error 2
[root@localhost vasp.6.1.2_patched]# make all
if [ ! -d build/std ] ; then mkdir build/std ; fi; \
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
make[1]: Entering directory '/opt/vasp.6.1.2_patched/build/std'
rsync -ru ../../src/lib .
cp makefile.include lib
make -C lib -j1
make[2]: Entering directory '/opt/vasp.6.1.2_patched/build/std/lib'
make libdmy.a
make[3]: Entering directory '/opt/vasp.6.1.2_patched/build/std/lib'
make[3]: 'libdmy.a' is up to date.
make[3]: Leaving directory '/opt/vasp.6.1.2_patched/build/std/lib'
make[2]: Leaving directory '/opt/vasp.6.1.2_patched/build/std/lib'
rsync -ru ../../src/parser .
cp makefile.include parser
make -C parser -j1
make[2]: Entering directory '/opt/vasp.6.1.2_patched/build/std/parser'
make libparser.a
make[3]: Entering directory '/opt/vasp.6.1.2_patched/build/std/parser'
icpc -D YY_parse_DEBUG=1 -c sites.cpp -o sites.o
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/move.h(55),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/stl_pair.h(59),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/stl_algobase.h(64),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/vector(60),
from sites.hpp(4),
from sites.cpp(1):
/opt/rh/devtoolset-9/root/usr/include/c++/9/type_traits(1018): error: type name is not allowed
: public __bool_constant<__is_assignable(_Tp, _Up)>
^
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/move.h(55),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/stl_pair.h(59),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/stl_algobase.h(64),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/vector(60),
from sites.hpp(4),
from sites.cpp(1):
/opt/rh/devtoolset-9/root/usr/include/c++/9/type_traits(1018): error: type name is not allowed
: public __bool_constant<__is_assignable(_Tp, _Up)>
^
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/move.h(55),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/stl_pair.h(59),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/stl_algobase.h(64),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/vector(60),
from sites.hpp(4),
from sites.cpp(1):
/opt/rh/devtoolset-9/root/usr/include/c++/9/type_traits(1018): error: identifier "__is_assignable" is undefined
: public __bool_constant<__is_assignable(_Tp, _Up)>
^
In file included from /opt/rh/devtoolset-9/root/usr/include/c++/9/bits/ios_base.h(46),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/ios(42),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/ostream(38),
from /opt/rh/devtoolset-9/root/usr/include/c++/9/iostream(39),
from sites.cpp(2):
/opt/rh/devtoolset-9/root/usr/include/c++/9/bits/stl_function.h(437): error: identifier "__builtin_is_constant_evaluated" is undefined
if (__builtin_is_constant_evaluated())
^
compilation aborted for sites.cpp (code 2)
make[3]: *** [makefile:31: sites.o] Error 2
make[3]: Leaving directory '/opt/vasp.6.1.2_patched/build/std/parser'
make[2]: *** [makefile:12: all] Error 2
make[2]: Leaving directory '/opt/vasp.6.1.2_patched/build/std/parser'
make[1]: *** [makefile:156: parser] Error 2
make[1]: Leaving directory '/opt/vasp.6.1.2_patched/build/std'
make: *** [makefile:6: std] Error 2
|
|