Atom Лента - Форум КриптоПро - Тема:Установка CSP4.0 на Ubuntu 18.04 + php 7.2 - 10Форум КриптоПро - Atom Лентаurn:https:--www-cryptopro-ru:AtomLenta:ForumKriptoPro:Tema:UstanovkaCSP4.0naUbuntu18.04+php7.2-10:1Copyright 2024 Форум КриптоПро2024-03-29T12:37:25Zhttps://www.cryptopro.ru/forum2/Images/YAFLogo.pngForum Adminhttps://www.cryptopro.ruforum@cryptopro.ruferganetshttps://www.cryptopro.ru/forum2/default.aspx?g=profile&u=60077&name=ferganetsferganetshttps://www.cryptopro.ru/forum2/default.aspx?g=profile&u=60077&name=ferganetsСанчир Момолдаевhttps://www.cryptopro.ru/forum2/default.aspx?g=profile&u=50915&name=Санчир МомолдаевMenDu4https://www.cryptopro.ru/forum2/default.aspx?g=profile&u=59342&name=MenDu4Санчир Момолдаевhttps://www.cryptopro.ru/forum2/default.aspx?g=profile&u=50915&name=Санчир МомолдаевMenDu4https://www.cryptopro.ru/forum2/default.aspx?g=profile&u=59342&name=MenDu4Санчир Момолдаевhttps://www.cryptopro.ru/forum2/default.aspx?g=profile&u=50915&name=Санчир МомолдаевMenDu4https://www.cryptopro.ru/forum2/default.aspx?g=profile&u=59342&name=MenDu4Санчир Момолдаевhttps://www.cryptopro.ru/forum2/default.aspx?g=profile&u=50915&name=Санчир МомолдаевMenDu4https://www.cryptopro.ru/forum2/default.aspx?g=profile&u=59342&name=MenDu4Санчир Момолдаевhttps://www.cryptopro.ru/forum2/default.aspx?g=profile&u=50915&name=Санчир МомолдаевYetAnotherForum.NETurn:https:--www-cryptopro-ru:ftPosts:st1:meid126752:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer_Alt" width="100%"><tr><td>Коллеги, приветствую!<br />Весь мозг сломал, но так и не смог разобраться. На Ubuntu Server установил PHP расширение. Все собралось, расширение работает.<br />Расширение установлено на web-сервере и используется для CRM Руководитель.<br />При попытке добавления личного сертификата ЭЦП сбрасывает подключение. Кто нибудь сталкивался. Подскажите, куда копать?</td></tr></table>2021-08-19T23:01:55+03:002021-08-19T23:01:55+03:00ferganets<table class="content postContainer_Alt" width="100%"><tr><td>Коллеги, приветствую!<br />Весь мозг сломал, но так и не смог разобраться. На Ubuntu Server установил PHP расширение. Все собралось, расширение работает.<br />Расширение установлено на web-сервере и используется для CRM Руководитель.<br />При попытке добавления личного сертификата ЭЦП сбрасывает подключение. Кто нибудь сталкивался. Подскажите, куда копать?</td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124751:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer" width="100%"><tr><td>теперь пробуйте использовать эту либу</td></tr></table>2021-05-12T22:16:58+03:002021-05-12T22:16:58+03:00Санчир Момолдаев<table class="content postContainer" width="100%"><tr><td>теперь пробуйте использовать эту либу</td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124748:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer_Alt" width="100%"><tr><td>собралась<br /></td></tr></table>2021-05-12T20:10:33+03:002021-05-12T20:10:33+03:00MenDu4<table class="content postContainer_Alt" width="100%"><tr><td>собралась<br /></td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124742:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer" width="100%"><tr><td>данные ошибки можно игнорировать. по итогу расширение собралось?</td></tr></table>2021-05-12T16:39:03+03:002021-05-12T16:39:03+03:00Санчир Момолдаев<table class="content postContainer" width="100%"><tr><td>данные ошибки можно игнорировать. по итогу расширение собралось?</td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124739:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer_Alt" width="100%"><tr><td>Повторил все шаги и на этапе зборки появились такие ошибки. Использовал CSP 5.0R2 5.0.11998 и cades 2.0.14071<br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">/opt/cprocsp/src/phpcades# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigners.o PHPCadesCPSigners.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSigners.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigner.o PHPCadesCPSigner.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSigner.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPExtendedKeyUsage.o PHPCadesCPExtendedKeyUsage.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPExtendedKeyUsage.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPAttribute.o PHPCadesCPAttribute.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPAttribute.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPEKU.o PHPCadesCPEKU.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPEKU.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPEKUs.o PHPCadesCPEKUs.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPEKUs.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPBasicConstraints.o PHPCadesCPBasicConstraints.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPBasicConstraints.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSignedData.o PHPCadesCPSignedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSignedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPPublicKey.o PHPCadesCPPublicKey.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPPublicKey.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPPrivateKey.o PHPCadesCPPrivateKey.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPPrivateKey.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPOID.o PHPCadesCPOID.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPOID.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPEncodedData.o PHPCadesCPEncodedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPEncodedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPAttributes.o PHPCadesCPAttributes.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPAttributes.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPCertificateStatus.o PHPCadesCPCertificateStatus.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPCertificateStatus.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPEnvelopedData.o PHPCadesCPEnvelopedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPEnvelopedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPAlgorithm.o PHPCadesCPAlgorithm.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPAlgorithm.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPRecipients.o PHPCadesCPRecipients.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPRecipients.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPKeyUsage.o PHPCadesCPKeyUsage.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPKeyUsage.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesAbout.o PHPCadesAbout.cpp
In file included from stdafx.h:39:0,
from PHPCadesAbout.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPCardholderData.o PHPCadesCPCardholderData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPCardholderData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPCertificates.o PHPCadesCPCertificates.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPCertificates.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSignedXML.o PHPCadesCPSignedXML.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSignedXML.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPHashedData.o PHPCadesCPHashedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPHashedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPRawSignature.o PHPCadesCPRawSignature.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPRawSignature.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPCertificate.o PHPCadesCPCertificate.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPCertificate.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPStore.o PHPCadesCPStore.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPStore.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o dllmain.o dllmain.cpp
In file included from stdafx.h:39:0,
from dllmain.cpp:2:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesVersion.o PHPCadesVersion.cpp
In file included from stdafx.h:39:0,
from PHPCadesVersion.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesSymmetricAlgorithm.o PHPCadesSymmetricAlgorithm.cpp
In file included from stdafx.h:39:0,
from PHPCadesSymmetricAlgorithm.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o errormsg.o errormsg.cpp
In file included from /opt/cprocsp/include/cpcsp/CSP_WinError.h:26:0,
from errormsg.cpp:19:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -shared PHPCadesCPSigners.o PHPCadesCPSigner.o PHPCadesCPExtendedKeyUsage.o PHPCadesCPAttribute.o PHPCadesCPEKU.o PHPCadesCPEKUs.o PHPCadesCPBasicConstraints.o PHPCadesCPSignedData.o PHPCadesCPPublicKey.o PHPCadesCPPrivateKey.o PHPCadesCPOID.o PHPCadesCPEncodedData.o PHPCadesCPAttributes.o PHPCadesCPCertificateStatus.o PHPCadesCPEnvelopedData.o PHPCadesCPAlgorithm.o PHPCadesCPRecipients.o PHPCadesCPKeyUsage.o PHPCadesAbout.o PHPCadesCPCardholderData.o PHPCadesCPCertificates.o PHPCadesCPSignedXML.o PHPCadesCPHashedData.o PHPCadesCPRawSignature.o PHPCadesCPCertificate.o PHPCadesCPStore.o dllmain.o PHPCadesVersion.o PHPCadesSymmetricAlgorithm.o errormsg.o -L/opt/cprocsp/lib/amd64 -lcppcades -lcapi10 -lcapi20 -lrdrsup -lcplib -g -o libphpcades.so</code></pre>
</div></div></td></tr></table>2021-05-12T15:35:15+03:002021-05-12T15:35:15+03:00MenDu4<table class="content postContainer_Alt" width="100%"><tr><td>Повторил все шаги и на этапе зборки появились такие ошибки. Использовал CSP 5.0R2 5.0.11998 и cades 2.0.14071<br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">/opt/cprocsp/src/phpcades# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigners.o PHPCadesCPSigners.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSigners.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigner.o PHPCadesCPSigner.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSigner.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPExtendedKeyUsage.o PHPCadesCPExtendedKeyUsage.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPExtendedKeyUsage.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPAttribute.o PHPCadesCPAttribute.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPAttribute.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPEKU.o PHPCadesCPEKU.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPEKU.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPEKUs.o PHPCadesCPEKUs.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPEKUs.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPBasicConstraints.o PHPCadesCPBasicConstraints.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPBasicConstraints.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSignedData.o PHPCadesCPSignedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSignedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPPublicKey.o PHPCadesCPPublicKey.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPPublicKey.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPPrivateKey.o PHPCadesCPPrivateKey.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPPrivateKey.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPOID.o PHPCadesCPOID.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPOID.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPEncodedData.o PHPCadesCPEncodedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPEncodedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPAttributes.o PHPCadesCPAttributes.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPAttributes.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPCertificateStatus.o PHPCadesCPCertificateStatus.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPCertificateStatus.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPEnvelopedData.o PHPCadesCPEnvelopedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPEnvelopedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPAlgorithm.o PHPCadesCPAlgorithm.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPAlgorithm.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPRecipients.o PHPCadesCPRecipients.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPRecipients.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPKeyUsage.o PHPCadesCPKeyUsage.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPKeyUsage.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesAbout.o PHPCadesAbout.cpp
In file included from stdafx.h:39:0,
from PHPCadesAbout.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPCardholderData.o PHPCadesCPCardholderData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPCardholderData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPCertificates.o PHPCadesCPCertificates.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPCertificates.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSignedXML.o PHPCadesCPSignedXML.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSignedXML.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPHashedData.o PHPCadesCPHashedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPHashedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPRawSignature.o PHPCadesCPRawSignature.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPRawSignature.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPCertificate.o PHPCadesCPCertificate.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPCertificate.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPStore.o PHPCadesCPStore.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPStore.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o dllmain.o dllmain.cpp
In file included from stdafx.h:39:0,
from dllmain.cpp:2:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesVersion.o PHPCadesVersion.cpp
In file included from stdafx.h:39:0,
from PHPCadesVersion.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesSymmetricAlgorithm.o PHPCadesSymmetricAlgorithm.cpp
In file included from stdafx.h:39:0,
from PHPCadesSymmetricAlgorithm.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o errormsg.o errormsg.cpp
In file included from /opt/cprocsp/include/cpcsp/CSP_WinError.h:26:0,
from errormsg.cpp:19:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -shared PHPCadesCPSigners.o PHPCadesCPSigner.o PHPCadesCPExtendedKeyUsage.o PHPCadesCPAttribute.o PHPCadesCPEKU.o PHPCadesCPEKUs.o PHPCadesCPBasicConstraints.o PHPCadesCPSignedData.o PHPCadesCPPublicKey.o PHPCadesCPPrivateKey.o PHPCadesCPOID.o PHPCadesCPEncodedData.o PHPCadesCPAttributes.o PHPCadesCPCertificateStatus.o PHPCadesCPEnvelopedData.o PHPCadesCPAlgorithm.o PHPCadesCPRecipients.o PHPCadesCPKeyUsage.o PHPCadesAbout.o PHPCadesCPCardholderData.o PHPCadesCPCertificates.o PHPCadesCPSignedXML.o PHPCadesCPHashedData.o PHPCadesCPRawSignature.o PHPCadesCPCertificate.o PHPCadesCPStore.o dllmain.o PHPCadesVersion.o PHPCadesSymmetricAlgorithm.o errormsg.o -L/opt/cprocsp/lib/amd64 -lcppcades -lcapi10 -lcapi20 -lrdrsup -lcplib -g -o libphpcades.so</code></pre>
</div></div></td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124727:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer" width="100%"><tr><td>в Makefile.unix<br />указан путь до <span class="highlight">исходников</span> php?<br />исходники собраны? сделайте в каталоге исходников make</td></tr></table>2021-05-12T11:06:33+03:002021-05-12T11:06:33+03:00Санчир Момолдаев<table class="content postContainer" width="100%"><tr><td>в Makefile.unix<br />указан путь до <span class="highlight">исходников</span> php?<br />исходники собраны? сделайте в каталоге исходников make</td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124726:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer_Alt" width="100%"><tr><td>Повторил все шаги повторно. Установил lsb-cprocsp-devel_5.0.11998-6_all.deb но ошибка осталась<br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup"># dpkg -i lsb-cprocsp-devel_5.0.11998-6_all.deb
(Reading database ... 105847 files and directories currently installed.)
Preparing to unpack lsb-cprocsp-devel_5.0.11998-6_all.deb ...
Unpacking lsb-cprocsp-devel (5.0.11998-6) over (5.0.11438-4) ...
Setting up lsb-cprocsp-devel (5.0.11998-6) ...</code></pre>
</div></div><br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">/opt/cprocsp/src/phpcades# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/php -I/php/main -I/php/Zend -I/php/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigners.o PHPCadesCPSigners.cpp
In file included from PHPCadesCPSigners.cpp:1:0:
stdafx.h:92:17: fatal error: php.h: No such file or directory
#include "php.h"
^
compilation terminated.
Makefile.unix:30: recipe for target 'PHPCadesCPSigners.o' failed</code></pre>
</div></div></td></tr></table>2021-05-12T10:52:10+03:002021-05-12T10:52:10+03:00MenDu4<table class="content postContainer_Alt" width="100%"><tr><td>Повторил все шаги повторно. Установил lsb-cprocsp-devel_5.0.11998-6_all.deb но ошибка осталась<br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup"># dpkg -i lsb-cprocsp-devel_5.0.11998-6_all.deb
(Reading database ... 105847 files and directories currently installed.)
Preparing to unpack lsb-cprocsp-devel_5.0.11998-6_all.deb ...
Unpacking lsb-cprocsp-devel (5.0.11998-6) over (5.0.11438-4) ...
Setting up lsb-cprocsp-devel (5.0.11998-6) ...</code></pre>
</div></div><br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">/opt/cprocsp/src/phpcades# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/php -I/php/main -I/php/Zend -I/php/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigners.o PHPCadesCPSigners.cpp
In file included from PHPCadesCPSigners.cpp:1:0:
stdafx.h:92:17: fatal error: php.h: No such file or directory
#include "php.h"
^
compilation terminated.
Makefile.unix:30: recipe for target 'PHPCadesCPSigners.o' failed</code></pre>
</div></div></td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124672:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer" width="100%"><tr><td><div class="quote"><span class="quotetitle">Автор: MenDu4 <a href="/forum2/default.aspx?g=posts&m=124671#post124671"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote>Спасибо за предыдущие ответы. <br />Возникла следующая ошибка при вводе команды eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix<br />В других темаъ вижу что нужно использовать devel пакет. Но тема старая, не понимаю насколько она актуальна <a rel="nofollow" href="https://www.cryptopro.ru/forum2/default.aspx?g=posts&t=18364" title="https://www.cryptopro.ru/forum2/default.aspx?g=posts&t=18364">https://www.cryptopro.ru...aspx?g=posts&t=18364</a><br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">
# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
No compiler specified... trying to guess
g++ found in the path
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigners.o PHPCadesCPSigners.cpp
In file included from /opt/cprocsp/include/pki/asn1/Extension.h:29:0,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPCRL.h:5,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPStore.h:6,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPCertificate.h:11,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPSigner.h:6,
from PHPCadesCPSigner.h:4,
from PHPCadesCPSigners.cpp:3:
/opt/cprocsp/include/pki/asn1/Types.h:33:28: fatal error: asn1/Attribute.h: No such file or directory
#include <asn1/Attribute.h>
^
compilation terminated.
Makefile.unix:30: recipe for target 'PHPCadesCPSigners.o' failed
make: *** [PHPCadesCPSigners.o] Error 1
</code></pre>
</div></div></div></div><br />Вы девел от 5.0.11998 поставьте<br /></td></tr></table>2021-05-10T23:33:51+03:002021-05-10T23:33:51+03:00Санчир Момолдаев<table class="content postContainer" width="100%"><tr><td><div class="quote"><span class="quotetitle">Автор: MenDu4 <a href="/forum2/default.aspx?g=posts&m=124671#post124671"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote>Спасибо за предыдущие ответы. <br />Возникла следующая ошибка при вводе команды eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix<br />В других темаъ вижу что нужно использовать devel пакет. Но тема старая, не понимаю насколько она актуальна <a rel="nofollow" href="https://www.cryptopro.ru/forum2/default.aspx?g=posts&t=18364" title="https://www.cryptopro.ru/forum2/default.aspx?g=posts&t=18364">https://www.cryptopro.ru...aspx?g=posts&t=18364</a><br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">
# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
No compiler specified... trying to guess
g++ found in the path
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigners.o PHPCadesCPSigners.cpp
In file included from /opt/cprocsp/include/pki/asn1/Extension.h:29:0,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPCRL.h:5,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPStore.h:6,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPCertificate.h:11,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPSigner.h:6,
from PHPCadesCPSigner.h:4,
from PHPCadesCPSigners.cpp:3:
/opt/cprocsp/include/pki/asn1/Types.h:33:28: fatal error: asn1/Attribute.h: No such file or directory
#include <asn1/Attribute.h>
^
compilation terminated.
Makefile.unix:30: recipe for target 'PHPCadesCPSigners.o' failed
make: *** [PHPCadesCPSigners.o] Error 1
</code></pre>
</div></div></div></div><br />Вы девел от 5.0.11998 поставьте<br /></td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124671:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer_Alt" width="100%"><tr><td>Спасибо за предыдущие ответы. <br />Возникла следующая ошибка при вводе команды eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix<br />В других темаъ вижу что нужно использовать devel пакет. Но тема старая, не понимаю насколько она актуальна <a rel="nofollow" href="https://www.cryptopro.ru/forum2/default.aspx?g=posts&t=18364" title="https://www.cryptopro.ru/forum2/default.aspx?g=posts&t=18364">https://www.cryptopro.ru...aspx?g=posts&t=18364</a><br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">
# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
No compiler specified... trying to guess
g++ found in the path
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigners.o PHPCadesCPSigners.cpp
In file included from /opt/cprocsp/include/pki/asn1/Extension.h:29:0,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPCRL.h:5,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPStore.h:6,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPCertificate.h:11,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPSigner.h:6,
from PHPCadesCPSigner.h:4,
from PHPCadesCPSigners.cpp:3:
/opt/cprocsp/include/pki/asn1/Types.h:33:28: fatal error: asn1/Attribute.h: No such file or directory
#include <asn1/Attribute.h>
^
compilation terminated.
Makefile.unix:30: recipe for target 'PHPCadesCPSigners.o' failed
make: *** [PHPCadesCPSigners.o] Error 1
</code></pre>
</div></div></td></tr></table>2021-05-10T22:38:42+03:002021-05-10T22:38:42+03:00MenDu4<table class="content postContainer_Alt" width="100%"><tr><td>Спасибо за предыдущие ответы. <br />Возникла следующая ошибка при вводе команды eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix<br />В других темаъ вижу что нужно использовать devel пакет. Но тема старая, не понимаю насколько она актуальна <a rel="nofollow" href="https://www.cryptopro.ru/forum2/default.aspx?g=posts&t=18364" title="https://www.cryptopro.ru/forum2/default.aspx?g=posts&t=18364">https://www.cryptopro.ru...aspx?g=posts&t=18364</a><br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">
# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
No compiler specified... trying to guess
g++ found in the path
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSigners.o PHPCadesCPSigners.cpp
In file included from /opt/cprocsp/include/pki/asn1/Extension.h:29:0,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPCRL.h:5,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPStore.h:6,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPCertificate.h:11,
from /opt/cprocsp/include/pki/cppcades/CPPCadesCPSigner.h:6,
from PHPCadesCPSigner.h:4,
from PHPCadesCPSigners.cpp:3:
/opt/cprocsp/include/pki/asn1/Types.h:33:28: fatal error: asn1/Attribute.h: No such file or directory
#include <asn1/Attribute.h>
^
compilation terminated.
Makefile.unix:30: recipe for target 'PHPCadesCPSigners.o' failed
make: *** [PHPCadesCPSigners.o] Error 1
</code></pre>
</div></div></td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124668:1Установка CSP4.0 на Ubuntu 18.04 + php 7.2<table class="content postContainer" width="100%"><tr><td><div class="quote"><span class="quotetitle">Автор: MenDu4 <a href="/forum2/default.aspx?g=posts&m=124666#post124666"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote>После запуска команды eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix система выдала ряд ошибок. Можете посказать в чем проблема?<br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">
root@gloomy:/opt/cprocsp/src/phpcades# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
No compiler specified... trying to guess
g++ found in the path
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSignedData.o PHPCadesCPSignedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSignedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
PHPCadesCPSignedData.cpp: In function ‘void zim_CPSignedData_SignHash(zend_execute_data*, zval*)’:
PHPCadesCPSignedData.cpp:69:31: error: ‘sig_ce’ was not declared in this scope
sig_ce, &zHashedData, hash_dat_class_entry,
^~~~~~
PHPCadesCPSignedData.cpp:69:53: error: ‘hash_dat_class_entry’ was not declared in this scope
sig_ce, &zHashedData, hash_dat_class_entry,
^~~~~~~~~~~~~~~~~~~~
PHPCadesCPSignedData.cpp:76:5: error: ‘sig_obj’ was not declared in this scope
sig_obj *pSigner =
^~~~~~~
PHPCadesCPSignedData.cpp:76:14: error: ‘pSigner’ was not declared in this scope
sig_obj *pSigner =
^~~~~~~
PHPCadesCPSignedData.cpp:77:19: error: expected primary-expression before ‘)’ token
(sig_obj *)zend_object_store_get_object(zSigner TSRMLS_CC);
^
PHPCadesCPSignedData.cpp:78:5: error: ‘hash_dat_obj’ was not declared in this scope
hash_dat_obj *pHashedData =
^~~~~~~~~~~~
PHPCadesCPSignedData.cpp:78:19: error: ‘pHashedData’ was not declared in this scope
hash_dat_obj *pHashedData =
^~~~~~~~~~~
PHPCadesCPSignedData.cpp:79:24: error: expected primary-expression before ‘)’ token
(hash_dat_obj *)zend_object_store_get_object(zHashedData TSRMLS_CC);
^
PHPCadesCPSignedData.cpp:81:5: error: ‘sig_dat_obj’ was not declared in this scope
sig_dat_obj *obj =
^~~~~~~~~~~
PHPCadesCPSignedData.cpp:81:18: error: ‘obj’ was not declared in this scope
sig_dat_obj *obj =
^~~
PHPCadesCPSignedData.cpp:82:23: error: expected primary-expression before ‘)’ token
(sig_dat_obj *)zend_object_store_get_object(getThis() TSRMLS_CC);
^
Makefile.unix:30: recipe for target 'PHPCadesCPSignedData.o' failed
make: *** [PHPCadesCPSignedData.o] Error 1
</code></pre>
</div></div></div></div><br /><br />попробуйте с актульными CSP 5.0R2 5.0.11998 и cades 2.0.14071</td></tr></table>2021-05-09T10:29:54+03:002021-05-09T10:29:54+03:00Санчир Момолдаев<table class="content postContainer" width="100%"><tr><td><div class="quote"><span class="quotetitle">Автор: MenDu4 <a href="/forum2/default.aspx?g=posts&m=124666#post124666"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote>После запуска команды eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix система выдала ряд ошибок. Можете посказать в чем проблема?<br /><br /><div class="code"><strong>Код:</strong><div class="innercode"><pre class="line-numbers"><code class="language-markup">
root@gloomy:/opt/cprocsp/src/phpcades# eval `/opt/cprocsp/src/doxygen/CSP/../setenv.sh --64`; make -f Makefile.unix
No compiler specified... trying to guess
g++ found in the path
g++ -std=c++98 -D_GLIBCXX_USE_CXX11_ABI=0 -DLINUX -DUNIX -DHAVE_LIMITS_H -D_COMPACT -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/root/php-7.2.24 -I/root/php-7.2.24/main -I/root/php-7.2.24/Zend -I/root/php-7.2.24/TSRM -DSIZEOF_VOID_P=8 -fPIC -DPIC -c -o PHPCadesCPSignedData.o PHPCadesCPSignedData.cpp
In file included from stdafx.h:39:0,
from PHPCadesCPSignedData.cpp:1:
/opt/cprocsp/include/cpcsp/CSP_WinDef.h:484:152: 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.
at least CryptoPro CSP 4.0 R3. You can use LEGACY_FORMAT_MESSAGE_IMPL to support older versions.")
^
PHPCadesCPSignedData.cpp: In function ‘void zim_CPSignedData_SignHash(zend_execute_data*, zval*)’:
PHPCadesCPSignedData.cpp:69:31: error: ‘sig_ce’ was not declared in this scope
sig_ce, &zHashedData, hash_dat_class_entry,
^~~~~~
PHPCadesCPSignedData.cpp:69:53: error: ‘hash_dat_class_entry’ was not declared in this scope
sig_ce, &zHashedData, hash_dat_class_entry,
^~~~~~~~~~~~~~~~~~~~
PHPCadesCPSignedData.cpp:76:5: error: ‘sig_obj’ was not declared in this scope
sig_obj *pSigner =
^~~~~~~
PHPCadesCPSignedData.cpp:76:14: error: ‘pSigner’ was not declared in this scope
sig_obj *pSigner =
^~~~~~~
PHPCadesCPSignedData.cpp:77:19: error: expected primary-expression before ‘)’ token
(sig_obj *)zend_object_store_get_object(zSigner TSRMLS_CC);
^
PHPCadesCPSignedData.cpp:78:5: error: ‘hash_dat_obj’ was not declared in this scope
hash_dat_obj *pHashedData =
^~~~~~~~~~~~
PHPCadesCPSignedData.cpp:78:19: error: ‘pHashedData’ was not declared in this scope
hash_dat_obj *pHashedData =
^~~~~~~~~~~
PHPCadesCPSignedData.cpp:79:24: error: expected primary-expression before ‘)’ token
(hash_dat_obj *)zend_object_store_get_object(zHashedData TSRMLS_CC);
^
PHPCadesCPSignedData.cpp:81:5: error: ‘sig_dat_obj’ was not declared in this scope
sig_dat_obj *obj =
^~~~~~~~~~~
PHPCadesCPSignedData.cpp:81:18: error: ‘obj’ was not declared in this scope
sig_dat_obj *obj =
^~~
PHPCadesCPSignedData.cpp:82:23: error: expected primary-expression before ‘)’ token
(sig_dat_obj *)zend_object_store_get_object(getThis() TSRMLS_CC);
^
Makefile.unix:30: recipe for target 'PHPCadesCPSignedData.o' failed
make: *** [PHPCadesCPSignedData.o] Error 1
</code></pre>
</div></div></div></div><br /><br />попробуйте с актульными CSP 5.0R2 5.0.11998 и cades 2.0.14071</td></tr></table>