Giter VIP home page Giter VIP logo

ext-buffer's People

Contributors

grachevko avatar zloyuser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ext-buffer's Issues

Build failed

$ make
/bin/bash /tmp/ext-buffer/libtool --mode=compile g++  -I. -I/tmp/ext-buffer -DPHP_ATOM_INC -I/tmp/ext-buffer/include -I/tmp/ext-buffer/main -I/tmp/ext-buffer -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/ext-buffer/buffer.cc -o buffer.lo 
mkdir .libs
 g++ -I. -I/tmp/ext-buffer -DPHP_ATOM_INC -I/tmp/ext-buffer/include -I/tmp/ext-buffer/main -I/tmp/ext-buffer -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/ext-buffer/buffer.cc  -fPIC -DPIC -o .libs/buffer.o
In file included from /tmp/ext-buffer/buffer.cc:11:
/tmp/ext-buffer/arginfo.h:14:42: error: ‘value’ was not declared in this scope
   14 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "")
      |                                          ^~~~~
/tmp/ext-buffer/arginfo.h:14:1: error: ‘ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE’ was not declared in this scope
   14 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "")
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/php/20190902/Zend/zend.h:27,
                 from /usr/include/php/20190902/main/php.h:34,
                 from /tmp/ext-buffer/php_buffer.h:21,
                 from /tmp/ext-buffer/buffer.cc:10:
/tmp/ext-buffer/arginfo.h:33:30: error: ‘IS_MIXED’ was not declared in this scope
   33 | ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
      |                              ^~~~~~~~
/usr/include/php/20190902/Zend/zend_types.h:157:5: note: in definition of macro ‘ZEND_TYPE_ENCODE’
  157 |  (((code) << Z_L(2)) | ((allow_null) ? Z_L(0x1) : Z_L(0x0)))
      |     ^~~~
/tmp/ext-buffer/arginfo.h:33:1: note: in expansion of macro ‘ZEND_ARG_TYPE_INFO’
   33 | ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
      | ^~~~~~~~~~~~~~~~~~
In file included from /tmp/ext-buffer/buffer.cc:11:
/tmp/ext-buffer/arginfo.h:38:42: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’?
   38 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, 0)
      |                                          ^~~~~~
      |                                          off_t
/tmp/ext-buffer/arginfo.h:38:1: error: ‘ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE’ was not declared in this scope
   38 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, 0)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ext-buffer/arginfo.h:51:42: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’?
   51 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, 0)
      |                                          ^~~~~~
      |                                          off_t
/tmp/ext-buffer/arginfo.h:51:1: error: ‘ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE’ was not declared in this scope
   51 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, 0)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ext-buffer/arginfo.h:63:42: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’?
   63 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, 0)
      |                                          ^~~~~~
      |                                          off_t
/tmp/ext-buffer/arginfo.h:63:1: error: ‘ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE’ was not declared in this scope
   63 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, 0)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ext-buffer/arginfo.h:74:42: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’?
   74 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, 0)
      |                                          ^~~~~~
      |                                          off_t
/tmp/ext-buffer/arginfo.h:74:1: error: ‘ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE’ was not declared in this scope
   74 | ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, 0)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:192: buffer.lo] Error 1
  • Version used PHP 7.4.3
  • Operating system and version Ubuntu 20.04.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.