пытаюсь поставить на ubuntu 18.04 вылетает с ошибкой, подскажите пожалуйста, что делать:
eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
g++ -DLINUX -DUNIX -DHAVE_LIMITS_H -DHAVE_STDINT_H -I/opt/cprocsp/include/ -I/opt/cprocsp/include/cpcsp -I/opt/cprocsp/include/pki -I/opt/cprocsp/include/pki/atl -I/opt/cprocsp/include/pki/cppcades -I/opt/cprocsp/include/pki/cplib -I/home/boo/php -I/home/boo/php/main -I/home/boo/php/Zend -I/home/boo/php/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigners.o PHPCadesCPSigners.cpp
In file included from stdafx.h:24:0,
from PHPCadesCPSigners.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:483:150: note: #pragma message: Your application will require at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.
ll require at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
In file included from /usr/include/c++/7/algorithm:62:0,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:39,
from /usr/include/boost/smart_ptr/make_shared_object.hpp:17,
from /usr/include/boost/smart_ptr/make_shared.hpp:14,
from /usr/include/boost/make_shared.hpp:14,
from /opt/cprocsp/include/pki/atl/atlcrypt2.inl:8,
from /opt/cprocsp/include/pki/atl/atlcrypt2.h:2278,
from stdafx.h:38,
from PHPCadesCPSigners.cpp:1:
/usr/include/c++/7/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__sample(_InputIterator, _InputIterator, std::input_iterator_tag, _RandomAccessIterator, std::random_access_iterator_tag, _Size, _UniformRandomBitGenerator&&)’:
/usr/include/c++/7/bits/stl_algo.h:5723:21: error: expected ‘,’ before ‘++’ token
__out[__sample_sz++] = *__first;
^~
/usr/include/c++/7/bits/stl_algo.h:5723:21: error: expected identifier before ‘++’ token
/usr/include/c++/7/bits/stl_algo.h: In lambda function:
/usr/include/c++/7/bits/stl_algo.h:5723:25: error: expected ‘{’ before ‘=’ token
__out[__sample_sz++] = *__first;
^
/usr/include/c++/7/bits/stl_algo.h: In lambda function:
/usr/include/c++/7/bits/stl_algo.h:5731:17: error: expected ‘{’ before ‘=’ token
__out[__k] = *__first;
^
/usr/include/c++/7/bits/stl_algo.h: In function ‘_OutputIterator std::__sample(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag, _OutputIterator, _Cat, _Size, _UniformRandomBitGenerator&&)’:
/usr/include/c++/7/bits/stl_algo.h:5771:14: error: expected primary-expression before ‘=’ token
*__out++ = *__first;
^
/usr/include/c++/7/bits/stl_algo.h:5782:14: error: expected primary-expression before ‘=’ token
*__out++ = *__first;
^
/usr/include/c++/7/bits/stl_algo.h:5795:15: error: expected primary-expression before ‘=’ token
*__out++ = *__first;
^
Makefile.unix:30: recipe for target 'PHPCadesCPSigners.o' failed
make: *** [PHPCadesCPSigners.o] Error 1
Отредактировано пользователем 29 июня 2018 г. 16:49:32(UTC)
| Причина: Не указана