You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Dmitrii Zolotov (JIRA)" <ji...@apache.org> on 2013/11/11 16:54:19 UTC

[jira] [Created] (PROTON-451) PHP binding build failed with PHP5.5 (ZTS)

Dmitrii Zolotov created PROTON-451:
--------------------------------------

             Summary: 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


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)