You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2016/11/04 15:50:58 UTC
[jira] [Updated] (PROTON-451) PHP binding build failed with PHP5.5
(ZTS)
[ https://issues.apache.org/jira/browse/PROTON-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Ross updated PROTON-451:
-------------------------------
Labels: close-pending (was: )
> PHP binding build failed with PHP5.5 (ZTS)
> ------------------------------------------
>
> Key: PROTON-451
> URL: https://issues.apache.org/jira/browse/PROTON-451
> Project: Qpid Proton
> Issue Type: Bug
> Components: php-binding
> Affects Versions: 0.5
> Environment: Debian 7 (amd64), PHP5.5.5 (built from source)
> Reporter: Dmitrii Zolotov
> Labels: close-pending
>
> SWIG PHP binding compilation failed with following errors:
> In file included from /usr/include/php/Zend/zend_alloc.h:27:0,
> from /usr/include/php/Zend/zend.h:252,
> from php_wrap.c:706:
> php_wrap.c: In function ‘t_output_helper’:
> /usr/include/php/Zend/../TSRM/TSRM.h:167:18: error: ‘tsrm_ls’ undeclared (first use in this function)
> #define TSRMLS_C tsrm_ls
> ^
> /usr/include/php/Zend/../TSRM/TSRM.h:168:21: note: in expansion of macro ‘TSRMLS_C’
> #define TSRMLS_CC , TSRMLS_C
> ^
> /usr/include/php/Zend/zend_gc.h:160:32: note: in expansion of macro ‘TSRMLS_CC’
> gc_remove_zval_from_buffer(z TSRMLS_CC); \
> ^
> /usr/include/php/Zend/zend_gc.h:213:6: note: in expansion of macro ‘GC_REMOVE_ZVAL_FROM_BUFFER’
> GC_REMOVE_ZVAL_FROM_BUFFER(z); \
> ^
> php_wrap.c:1154:5: note: in expansion of macro ‘FREE_ZVAL’
> FREE_ZVAL(o);
> ^
> /usr/include/php/Zend/../TSRM/TSRM.h:167:18: note: each undeclared identifier is reported only once for each function it appears in
> #define TSRMLS_C tsrm_ls
> ^
> /usr/include/php/Zend/../TSRM/TSRM.h:168:21: note: in expansion of macro ‘TSRMLS_C’
> #define TSRMLS_CC , TSRMLS_C
> ^
> /usr/include/php/Zend/zend_gc.h:160:32: note: in expansion of macro ‘TSRMLS_CC’
> gc_remove_zval_from_buffer(z TSRMLS_CC); \
> ^
> /usr/include/php/Zend/zend_gc.h:213:6: note: in expansion of macro ‘GC_REMOVE_ZVAL_FROM_BUFFER’
> GC_REMOVE_ZVAL_FROM_BUFFER(z); \
> ^
> php_wrap.c:1154:5: note: in expansion of macro ‘FREE_ZVAL’
> FREE_ZVAL(o);
> ^
> I've tried to run swig manually (with php.i / cproton.i) and get the same error.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org