Advertisement
Guest User

Build failure.

a guest
Dec 9th, 2019
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. mkdir -p shared/common
  2. mkdir -p shared/zend
  3. g++ -Wall -c -std=c++11 -fvisibility=hidden -DBUILDING_PHPCPP -Wno-write-strings -MD -g `php-config --includes` -fpic -o shared/zend/inivalue.o zend/inivalue.cpp
  4. In file included from zend/includes.h:120,
  5. from zend/inivalue.cpp:8:
  6. zend/callable.h: In constructor ‘Php::Callable::Callable(Php::ZendCallback, const char*, const Arguments&)’:
  7. zend/callable.h:56:18: error: ‘struct _zend_internal_arg_info’ has no member named ‘is_variadic’
  8. 56 | _argv[i].is_variadic = false;
  9. | ^~~~~~~~~~~
  10. zend/callable.h:57:18: error: ‘struct _zend_internal_arg_info’ has no member named ‘pass_by_reference’
  11. 57 | _argv[i].pass_by_reference = false;
  12. | ^~~~~~~~~~~~~~~~~
  13. zend/callable.h:63:25: error: no match for ‘operator=’ (operand types are ‘zend_type’ and ‘int’)
  14. 63 | _argv[i].type = 0;
  15. | ^
  16. In file included from /usr/local/include/php/Zend/zend.h:27,
  17. from /usr/local/include/php/main/php.h:31,
  18. from zend/includes.h:40,
  19. from zend/inivalue.cpp:8:
  20. /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘zend_type& zend_type::operator=(const zend_type&)’
  21. 131 | } zend_type;
  22. | ^~~~~~~~~
  23. /usr/local/include/php/Zend/zend_types.h:131:3: note: no known conversion for argument 1 from ‘int’ to ‘const zend_type&’
  24. /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘zend_type& zend_type::operator=(zend_type&&)’
  25. /usr/local/include/php/Zend/zend_types.h:131:3: note: no known conversion for argument 1 from ‘int’ to ‘zend_type&&’
  26. In file included from zend/includes.h:120,
  27. from zend/inivalue.cpp:8:
  28. zend/callable.h: In member function ‘void Php::Callable::fill(zend_internal_arg_info*, const Php::Argument&) const’:
  29. zend/callable.h:202:50: error: ‘ZEND_TYPE_ENCODE’ was not declared in this scope; did you mean ‘ZEND_TYPE_CE’?
  30. 202 | case Type::Undefined: info->type = ZEND_TYPE_ENCODE(IS_UNDEF, arg.allowNull()); break; // undefined means we'll accept any type
  31. | ^~~~~~~~~~~~~~~~
  32. | ZEND_TYPE_CE
  33. zend/callable.h:213:58: error: no matching function for call to ‘zend_type::zend_type(const char*)’
  34. 213 | else info->type = (zend_type)arg.encoded();
  35. | ^
  36. In file included from /usr/local/include/php/Zend/zend.h:27,
  37. from /usr/local/include/php/main/php.h:31,
  38. from zend/includes.h:40,
  39. from zend/inivalue.cpp:8:
  40. /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘zend_type::zend_type()’
  41. 131 | } zend_type;
  42. | ^~~~~~~~~
  43. /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate expects 0 arguments, 1 provided
  44. /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘constexpr zend_type::zend_type(const zend_type&)’
  45. /usr/local/include/php/Zend/zend_types.h:131:3: note: no known conversion for argument 1 from ‘const char*’ to ‘const zend_type&’
  46. /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘constexpr zend_type::zend_type(zend_type&&)’
  47. /usr/local/include/php/Zend/zend_types.h:131:3: note: no known conversion for argument 1 from ‘const char*’ to ‘zend_type&&’
  48. In file included from zend/includes.h:120,
  49. from zend/inivalue.cpp:8:
  50. zend/callable.h:224:15: error: ‘zend_internal_arg_info’ {aka ‘struct _zend_internal_arg_info’} has no member named ‘is_variadic’
  51. 224 | info->is_variadic = false;
  52. | ^~~~~~~~~~~
  53. zend/callable.h:227:15: error: ‘zend_internal_arg_info’ {aka ‘struct _zend_internal_arg_info’} has no member named ‘pass_by_reference’
  54. 227 | info->pass_by_reference = arg.byReference();
  55. | ^~~~~~~~~~~~~~~~~
  56. make: *** [Makefile:219: shared/zend/inivalue.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement