[Freeswitch-users] Trying to build ESL.so on Debian 10 / PHP 7.3 ...

Francesco Facco de Lagarda francesco at delagarda.com
Wed Oct 2 08:26:52 UTC 2019


Debian 10

Php 7.3

Fs sources as per “build from source” on

 <https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster> https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster



I’ve been scouring the ‘net for a week now trying to build this module..
I’ve installed php headers, ran ./config –with-php
and a zillion other attempts, but I always get a host of Zend errors  every time I try to make phpmod

Just a small sample:

/usr/include/php/20180731/Zend/zend_types.h:420:41: note: in definition of macro ‘Z_TYPE’

#define Z_TYPE(zval)    zval_get_type(&(zval))

                                         ^~~~

/usr/include/php/20180731/Zend/zend_operators.h:298:35: note: in expansion of macro ‘Z_TYPE_P’

#define convert_to_string(op) if (Z_TYPE_P(op) != IS_STRING) { _convert_to_string((op)); }

                                   ^~~~~~~~

/usr/include/php/20180731/Zend/zend_operators.h:400:3: note: in expansion of macro ‘convert_to_string’

   convert_to_##lower_type(pzv);      \

   ^~~~~~~~~~~

/usr/include/php/20180731/Zend/zend_operators.h:447:35: note: in expansion of macro ‘convert_to_ex_master’

#define convert_to_string_ex(pzv) convert_to_ex_master(pzv, string, IS_STRING)

                                   ^~~~~~~~~~~~~~~~~~~~

esl_wrap.cpp:2102:5: note: in expansion of macro ‘convert_to_string_ex’

     convert_to_string_ex(args[2]);

     ^~~~~~~~~~~~~~~~~~~~

/usr/include/php/20180731/Zend/zend_types.h:410:64: note:   initializing argument 1 of ‘zend_uchar zval_get_type(const zval*)’

static zend_always_inline zend_uchar zval_get_type(const zval* pz) {

 

 

Can anyone pls point me in the right direction?



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191002/f7a841f7/attachment-0001.html>


More information about the FreeSWITCH-users mailing list