[ https://issues.apache.org/jira/browse/PROTON-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820201#comment-13820201 ]
Darryl L. Pierce edited comment on PROTON-451 at 11/12/13 4:07 PM: ------------------------------------------------------------------- On what platform are you doing this build? And what PHP packages are installed on it? Is there, perhaps, a missing php-devel package? Also, what version of Swig are you using? was (Author: mcpierce): On what platform are you doing this build? And what PHP packages are installed on it? Is there, perhaps, a missing php-devel package? > 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: proton-c > Affects Versions: 0.5 > Environment: Debian 7 (amd64), PHP5.5.5 (built from source) > Reporter: Dmitrii Zolotov > Assignee: Darryl L. Pierce > > 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.1#6144)