From Bistre Pelican, 5 Years ago, written in Plain Text.
- view diff
Embed
  1. g++ -I/usr/src/freeswitch.git/libs/esl/src/include -I/usr/src/freeswitch.git/src/include -I/usr/src/freeswitch.git/src/include -I/usr/src/freeswitch.git/libs/li
  2. bteletone/src -fPIC -ffast-math -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DCJSON_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -I/usr/include/php/20151012 -I
  3. /usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext
  4. /date/lib -Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o
  5. esl_wrap.cpp:898:106: error: macro "zend_hash_update" passed 6 arguments, but takes just 3
  6.        zend_hash_update(HASH_OF(z), (char*)"_cPtr", sizeof("_cPtr"), (void*)&resource, sizeof(zval*), NULL);
  7.                                                                                                           ^
  8. esl_wrap.cpp:1268:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
  9.        ZVAL_STRING(return_value, (char *)result, 1);
  10.                                                   ^
  11. esl_wrap.cpp:1543:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
  12.        ZVAL_STRING(return_value, (char *)result, 1);
  13.                                                   ^
  14. esl_wrap.cpp:1632:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
  15.        ZVAL_STRING(return_value, (char *)result, 1);
  16.                                                   ^
  17. esl_wrap.cpp:1662:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
  18.        ZVAL_STRING(return_value, (char *)result, 1);
  19.                                                   ^
  20. esl_wrap.cpp:1692:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
  21.        ZVAL_STRING(return_value, (char *)result, 1);
  22.                                                   ^
  23. esl_wrap.cpp:1940:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
  24.        ZVAL_STRING(return_value, (char *)result, 1);
  25.                                                   ^
  26. esl_wrap.cpp:1970:50: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2
  27.        ZVAL_STRING(return_value, (char *)result, 1);
  28.                                                   ^
  29. esl_wrap.cpp: In function ‘void SWIG_landfill(zend_resource*)’:
  30. esl_wrap.cpp:835:51: error: ‘rsrc’ was not declared in this scope
  31.  static ZEND_RSRC_DTOR_FUNC(SWIG_landfill) { (void)rsrc; }
  32.                                                    ^~~~
  33. esl_wrap.cpp: In function ‘void SWIG_ZTS_SetPointerZval(zval*, void*, swig_type_info*, int)’:
  34. esl_wrap.cpp:858:66: error: ‘ZEND_REGISTER_RESOURCE’ was not declared in this scope
  35.        ZEND_REGISTER_RESOURCE(z, value, *(int *)(type->clientdata));
  36.                                                                   ^
  37. esl_wrap.cpp:879:29: error: ‘MAKE_STD_ZVAL’ was not declared in this scope
  38.        MAKE_STD_ZVAL(resource);
  39.                              ^
  40. esl_wrap.cpp:880:73: error: ‘ZEND_REGISTER_RESOURCE’ was not declared in this scope
  41.        ZEND_REGISTER_RESOURCE(resource, value, *(int *)(type->clientdata));
  42.                                                                          ^
  43. esl_wrap.cpp:885:93: error: cannot convert ‘char*’ to ‘zend_string* {aka _zend_string*}’ for argument ‘1’ to ‘zend_class_entry* zend_lookup_class(zend_string*)’
  44.          result = zend_lookup_class(classname, SWIG_PREFIX_LEN + type_name_len, &ce TSRMLS_CC);
  45.                                                                                              ^
  46. esl_wrap.cpp:888:83: error: cannot convert ‘char*’ to ‘zend_string* {aka _zend_string*}’ for argument ‘1’ to ‘zend_class_entry* zend_lookup_class(zend_string*)’
  47.          result = zend_lookup_class((char *)type_name, type_name_len, &ce TSRMLS_CC);
  48.                                                                                    ^
  49. esl_wrap.cpp:771:32: error: ‘zval {aka struct _zval_struct}’ has no member named ‘is_ref’
  50.  # define Z_SET_ISREF_P(z) (z)->is_ref = 1
  51.                                 ^
  52. esl_wrap.cpp:897:7: note: in expansion of macro ‘Z_SET_ISREF_P’
  53.        Z_SET_ISREF_P(z);
  54.        ^~~~~~~~~~~~~
  55. esl_wrap.cpp:898:7: error: ‘zend_hash_update’ was not declared in this scope
  56.        zend_hash_update(HASH_OF(z), (char*)"_cPtr", sizeof("_cPtr"), (void*)&resource, sizeof(zval*), NULL);
  57.        ^~~~~~~~~~~~~~~~
  58. esl_wrap.cpp: In function ‘void* SWIG_ZTS_ConvertResourcePtr(zval*, swig_type_info*, int)’:
  59. esl_wrap.cpp:953:70: error: ‘zend_list_find’ was not declared in this scope
  60.