Debian 10

Php 7.3

Fs sources as per “build from source” on

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?