Ключевое слово в защите информации
КЛЮЧЕВОЕ СЛОВО
в защите информации
Получить ГОСТ TLS-сертификат для домена (SSL-сертификат)
Добро пожаловать, Гость! Чтобы использовать все возможности Вход или Регистрация.

Уведомление

Icon
Error

2 Страницы<12
Опции
К последнему сообщению К первому непрочитанному
Offline stufford  
#11 Оставлено : 1 февраля 2017 г. 12:08:54(UTC)
stufford

Статус: Активный участник

Группы: Участники
Зарегистрирован: 10.01.2017(UTC)
Сообщений: 30
Российская Федерация
Откуда: moscow

Сказал(а) «Спасибо»: 2 раз
Автор: microsoftexam Перейти к цитате
Начало делаться, но получил ошибку

/php/Zend/zend_exceptions.h:50: error: expected initializer before 'void'
/php/Zend/zend_exceptions.h:53: error: expected constructor, destructor, or type conversion before 'void'
PHPCadesCPSigners.cpp: In function 'void zim_CPSigners_get_Count(int, zval*, zval**, zval*, int)':
PHPCadesCPSigners.cpp:10: error: 'zend_object_store_get_object' was not declared in this scope
PHPCadesCPSigners.cpp:12: error: 'zend_exception_get_default' was not declared in this scope
PHPCadesCPSigners.cpp:12: error: 'zend_throw_exception' was not declared in this scope
PHPCadesCPSigners.cpp: In function 'void zim_CPSigners_get_Item(int, zval*, zval**, zval*, int)':
PHPCadesCPSigners.cpp:19: error: 'zend_parse_parameters' was not declared in this scope
PHPCadesCPSigners.cpp:21: error: 'zend_exception_get_default' was not declared in this scope
PHPCadesCPSigners.cpp:21: error: 'zend_throw_exception' was not declared in this scope
PHPCadesCPSigners.cpp:26: error: 'zend_object_store_get_object' was not declared in this scope
PHPCadesCPSigners.cpp:27: error: 'zend_exception_get_default' was not declared in this scope
PHPCadesCPSigners.cpp:27: error: 'zend_throw_exception' was not declared in this scope
PHPCadesCPSigners.cpp:29: error: '_object_init_ex' was not declared in this scope
PHPCadesCPSigners.cpp: In function 'void signers_free_storage(void*)':
PHPCadesCPSigners.cpp:39: error: 'zend_hash_destroy' was not declared in this scope
PHPCadesCPSigners.cpp:40: error: '_efree' was not declared in this scope
PHPCadesCPSigners.cpp: In function 'zend_object_value signers_create_handler(zend_class_entry*)':
PHPCadesCPSigners.cpp:55: error: '_emalloc' was not declared in this scope
PHPCadesCPSigners.cpp:61: error: '_zval_ptr_dtor' was not declared in this scope
PHPCadesCPSigners.cpp:61: error: '_zend_hash_init' was not declared in this scope
PHPCadesCPSigners.cpp:68: error: 'object_properties_init' was not declared in this scope
PHPCadesCPSigners.cpp:71: error: 'zend_objects_store_put' was not declared in this scope
PHPCadesCPSigners.cpp: In function 'void signers_init()':
PHPCadesCPSigners.cpp:79: error: 'zend_new_interned_string' was not declared in this scope
PHPCadesCPSigners.cpp:79: error: 'zend_strndup' was not declared in this scope
PHPCadesCPSigners.cpp:80: error: 'zend_register_internal_class' was not declared in this scope
PHPCadesCPSigners.cpp:82: error: 'zend_get_std_object_handlers' was not declared in this scope
make: *** [PHPCadesCPSigners.o] Error 1
You have mail in /var/spool/mail/root
[root@bx1 phpcades]# php -v
PHP 5.6.30 (cli) (built: Jan 19 2017 08:09:42)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
[root@bx1 phpcades]#

PHP 5.6.30 исходники я положил и на них сослался в файле.


К сожалению, тут я не подскажу. Нужно много гуглить и смотреть, разбираться :)
Может кто-нибудь подключится к решению вопроса.. Так же Вы можете обратиться в тех.поддержку крипто-про: https://support.cryptopro.ru/
Offline microsoftexam  
#12 Оставлено : 1 февраля 2017 г. 12:29:32(UTC)
microsoftexam

Статус: Участник

Группы: Участники
Зарегистрирован: 05.08.2016(UTC)
Сообщений: 16
Мужчина
Откуда: Москва

Да спасибо, тикет уже создан.
Offline microsoftexam  
#13 Оставлено : 1 февраля 2017 г. 19:12:00(UTC)
microsoftexam

Статус: Участник

Группы: Участники
Зарегистрирован: 05.08.2016(UTC)
Сообщений: 16
Мужчина
Откуда: Москва

Автор: stufford Перейти к цитате
Автор: microsoftexam Перейти к цитате
Начало делаться, но получил ошибку

/php/Zend/zend_exceptions.h:50: error: expected initializer before 'void'
/php/Zend/zend_exceptions.h:53: error: expected constructor, destructor, or type conversion before 'void'
PHPCadesCPSigners.cpp: In function 'void zim_CPSigners_get_Count(int, zval*, zval**, zval*, int)':
PHPCadesCPSigners.cpp:10: error: 'zend_object_store_get_object' was not declared in this scope
PHPCadesCPSigners.cpp:12: error: 'zend_exception_get_default' was not declared in this scope
PHPCadesCPSigners.cpp:12: error: 'zend_throw_exception' was not declared in this scope
PHPCadesCPSigners.cpp: In function 'void zim_CPSigners_get_Item(int, zval*, zval**, zval*, int)':
PHPCadesCPSigners.cpp:19: error: 'zend_parse_parameters' was not declared in this scope
PHPCadesCPSigners.cpp:21: error: 'zend_exception_get_default' was not declared in this scope
PHPCadesCPSigners.cpp:21: error: 'zend_throw_exception' was not declared in this scope
PHPCadesCPSigners.cpp:26: error: 'zend_object_store_get_object' was not declared in this scope
PHPCadesCPSigners.cpp:27: error: 'zend_exception_get_default' was not declared in this scope
PHPCadesCPSigners.cpp:27: error: 'zend_throw_exception' was not declared in this scope
PHPCadesCPSigners.cpp:29: error: '_object_init_ex' was not declared in this scope
PHPCadesCPSigners.cpp: In function 'void signers_free_storage(void*)':
PHPCadesCPSigners.cpp:39: error: 'zend_hash_destroy' was not declared in this scope
PHPCadesCPSigners.cpp:40: error: '_efree' was not declared in this scope
PHPCadesCPSigners.cpp: In function 'zend_object_value signers_create_handler(zend_class_entry*)':
PHPCadesCPSigners.cpp:55: error: '_emalloc' was not declared in this scope
PHPCadesCPSigners.cpp:61: error: '_zval_ptr_dtor' was not declared in this scope
PHPCadesCPSigners.cpp:61: error: '_zend_hash_init' was not declared in this scope
PHPCadesCPSigners.cpp:68: error: 'object_properties_init' was not declared in this scope
PHPCadesCPSigners.cpp:71: error: 'zend_objects_store_put' was not declared in this scope
PHPCadesCPSigners.cpp: In function 'void signers_init()':
PHPCadesCPSigners.cpp:79: error: 'zend_new_interned_string' was not declared in this scope
PHPCadesCPSigners.cpp:79: error: 'zend_strndup' was not declared in this scope
PHPCadesCPSigners.cpp:80: error: 'zend_register_internal_class' was not declared in this scope
PHPCadesCPSigners.cpp:82: error: 'zend_get_std_object_handlers' was not declared in this scope
make: *** [PHPCadesCPSigners.o] Error 1
You have mail in /var/spool/mail/root
[root@bx1 phpcades]# php -v
PHP 5.6.30 (cli) (built: Jan 19 2017 08:09:42)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
[root@bx1 phpcades]#

PHP 5.6.30 исходники я положил и на них сослался в файле.


К сожалению, тут я не подскажу. Нужно много гуглить и смотреть, разбираться :)
Может кто-нибудь подключится к решению вопроса.. Так же Вы можете обратиться в тех.поддержку крипто-про: https://support.cryptopro.ru/


А еще вопрос вы запускали команду ./configure в php исходниках и разблокировали в ручную какие либо параметры в файлах?
Offline INOKEZ  
#14 Оставлено : 11 июля 2018 г. 17:41:25(UTC)
INOKEZ

Статус: Новичок

Группы: Участники
Зарегистрирован: 30.05.2018(UTC)
Сообщений: 2

Здравствуйте!
Вариант собрать libphpcades.so есть только на *nix-ах? На окнах совсем без вариантов?
На окнах SDK только Java и C++ поддерживает?
RSS Лента  Atom Лента
Пользователи, просматривающие эту тему
2 Страницы<12
Быстрый переход  
Вы не можете создавать новые темы в этом форуме.
Вы не можете отвечать в этом форуме.
Вы не можете удалять Ваши сообщения в этом форуме.
Вы не можете редактировать Ваши сообщения в этом форуме.
Вы не можете создавать опросы в этом форуме.
Вы не можете голосовать в этом форуме.