Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo pecl install SPL_Types
- downloading SPL_Types-0.4.0.tgz ...
- Starting to download SPL_Types-0.4.0.tgz (8,388 bytes)
- .....done: 8,388 bytes
- 6 source files, building
- running: phpize
- Configuring for:
- PHP Api Version: 20151012
- Zend Module Api No: 20151012
- Zend Extension Api No: 320151012
- building in /var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0
- running: /var/tmp/SPL_Types/configure --with-php-config=/usr/bin/php-config
- checking for grep that handles long lines and -e... /bin/grep
- checking for egrep... /bin/grep -E
- checking for a sed that does not truncate output... /bin/sed
- checking for cc... cc
- checking for C compiler default output file name... a.out
- checking whether the C compiler works... yes
- checking whether we are cross compiling... no
- checking for suffix of executables...
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether cc accepts -g... yes
- checking for cc option to accept ISO C89... none needed
- checking how to run the C preprocessor... cc -E
- checking for icc... no
- checking for suncc... no
- checking whether cc understands -c and -o together... yes
- checking for system library directory... lib
- checking if compiler supports -R... no
- checking if compiler supports -Wl,-rpath,... yes
- checking build system type... x86_64-unknown-linux-gnu
- checking host system type... x86_64-unknown-linux-gnu
- checking target system type... x86_64-unknown-linux-gnu
- checking for PHP prefix... /usr
- checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
- checking for PHP extension directory... /usr/lib64/php/modules
- checking for PHP installed headers prefix... /usr/include/php
- checking if debug is enabled... no
- checking if zts is enabled... no
- checking for re2c... no
- configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
- checking for gawk... gawk
- checking enable SPL Types suppport... yes, shared
- checking for a sed that does not truncate output... (cached) /bin/sed
- checking for fgrep... /bin/grep -F
- checking for ld used by cc... /usr/bin/ld
- checking if the linker (/usr/bin/ld) is GNU ld... yes
- checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
- checking the name lister (/usr/bin/nm -B) interface... BSD nm
- checking whether ln -s works... yes
- checking the maximum length of command line arguments... 1966080
- checking whether the shell understands some XSI constructs... yes
- checking whether the shell understands "+="... yes
- checking for /usr/bin/ld option to reload object files... -r
- checking for objdump... objdump
- checking how to recognize dependent libraries... pass_all
- checking for ar... ar
- checking for strip... strip
- checking for ranlib... ranlib
- checking command to parse /usr/bin/nm -B output from cc object... ok
- checking for ANSI C header files... yes
- checking for sys/types.h... yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking for dlfcn.h... yes
- checking for objdir... .libs
- checking if cc supports -fno-rtti -fno-exceptions... no
- checking for cc option to produce PIC... -fPIC -DPIC
- checking if cc PIC flag -fPIC -DPIC works... yes
- checking if cc static flag -static works... no
- checking if cc supports -c -o file.o... yes
- checking if cc supports -c -o file.o... (cached) yes
- checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
- checking whether -lc should be explicitly linked in... no
- checking dynamic linker characteristics... GNU/Linux ld.so
- checking how to hardcode library paths into programs... immediate
- checking whether stripping libraries is possible... yes
- checking if libtool supports shared libraries... yes
- checking whether to build shared libraries... yes
- checking whether to build static libraries... no
- configure: creating ./config.status
- config.status: creating config.h
- config.status: executing libtool commands
- running: make
- /bin/sh /var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/libtool --mode=compile cc -I. -I/var/tmp/SPL_Types -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/include -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/main -I/var/tmp/SPL_Types -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/SPL_Types/php_spl_types.c -o php_spl_types.lo
- libtool: compile: cc -I. -I/var/tmp/SPL_Types -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/include -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/main -I/var/tmp/SPL_Types -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/SPL_Types/php_spl_types.c -fPIC -DPIC -o .libs/php_spl_types.o
- /bin/sh /var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/libtool --mode=compile cc -I. -I/var/tmp/SPL_Types -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/include -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/main -I/var/tmp/SPL_Types -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/SPL_Types/spl_type.c -o spl_type.lo
- libtool: compile: cc -I. -I/var/tmp/SPL_Types -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/include -I/var/tmp/pear-build-rootGcBxTo/SPL_Types-0.4.0/main -I/var/tmp/SPL_Types -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/tmp/SPL_Types/spl_type.c -fPIC -DPIC -o .libs/spl_type.o
- /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_free_storage':
- /var/tmp/SPL_Types/spl_type.c:74: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type
- /usr/include/php/Zend/zend_variables.h:112: note: expected 'struct zval *' but argument is of type 'struct zval **'
- /var/tmp/SPL_Types/spl_type.c: At top level:
- /var/tmp/SPL_Types/spl_type.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_type_object_new_ex'
- /var/tmp/SPL_Types/spl_type.c:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_type_object_clone'
- /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_set_int':
- /var/tmp/SPL_Types/spl_type.c:205: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type
- /usr/include/php/Zend/zend_types.h:326: note: expected 'const struct zval *' but argument is of type 'struct zval **'
- /var/tmp/SPL_Types/spl_type.c:205: warning: passing argument 1 of 'convert_to_long' from incompatible pointer type
- /usr/include/php/Zend/zend_operators.h:244: note: expected 'struct zval *' but argument is of type 'struct zval **'
- /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_set_string':
- /var/tmp/SPL_Types/spl_type.c:218: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type
- /usr/include/php/Zend/zend_types.h:326: note: expected 'const struct zval *' but argument is of type 'struct zval **'
- /var/tmp/SPL_Types/spl_type.c:218: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type
- /usr/include/php/Zend/zend_types.h:326: note: expected 'const struct zval *' but argument is of type 'struct zval **'
- /var/tmp/SPL_Types/spl_type.c:218: warning: passing argument 1 of '_convert_to_string' from incompatible pointer type
- /usr/include/php/Zend/zend_operators.h:243: note: expected 'struct zval *' but argument is of type 'struct zval **'
- /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_set_float':
- /var/tmp/SPL_Types/spl_type.c:231: warning: passing argument 1 of 'zval_get_type' from incompatible pointer type
- /usr/include/php/Zend/zend_types.h:326: note: expected 'const struct zval *' but argument is of type 'struct zval **'
- /var/tmp/SPL_Types/spl_type.c:231: warning: passing argument 1 of 'convert_to_double' from incompatible pointer type
- /usr/include/php/Zend/zend_operators.h:245: note: expected 'struct zval *' but argument is of type 'struct zval **'
- /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_set':
- /var/tmp/SPL_Types/spl_type.c:241: warning: cast to pointer from integer of different size
- /var/tmp/SPL_Types/spl_type.c:246: error: invalid type argument of '->' (have 'int')
- /var/tmp/SPL_Types/spl_type.c:251: error: too few arguments to function 'value->value.obj->handlers->get'
- /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_get':
- /var/tmp/SPL_Types/spl_type.c:265: warning: cast to pointer from integer of different size
- /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_get_properties':
- /var/tmp/SPL_Types/spl_type.c:277: warning: cast to pointer from integer of different size
- /var/tmp/SPL_Types/spl_type.c:286: error: too many arguments to function 'zend_hash_copy'
- /var/tmp/SPL_Types/spl_type.c:289:129: error: macro "zend_hash_update" passed 6 arguments, but takes just 3
- /var/tmp/SPL_Types/spl_type.c:289: error: 'zend_hash_update' undeclared (first use in this function)
- /var/tmp/SPL_Types/spl_type.c:289: error: (Each undeclared identifier is reported only once
- /var/tmp/SPL_Types/spl_type.c:289: error: for each function it appears in.)
- /var/tmp/SPL_Types/spl_type.c: In function 'spl_type_object_cast':
- /var/tmp/SPL_Types/spl_type.c:329: warning: cast to pointer from integer of different size
- /var/tmp/SPL_Types/spl_type.c: In function 'zim_spl_SplType___construct':
- /var/tmp/SPL_Types/spl_type.c:344: warning: cast to pointer from integer of different size
- /var/tmp/SPL_Types/spl_type.c:346: warning: 'php_set_error_handling' is deprecated (declared at /usr/include/php/main/php.h:292)
- /var/tmp/SPL_Types/spl_type.c:349: warning: 'php_set_error_handling' is deprecated (declared at /usr/include/php/main/php.h:292)
- /var/tmp/SPL_Types/spl_type.c:354: error: lvalue required as unary '&' operand
- /var/tmp/SPL_Types/spl_type.c:357: warning: 'php_set_error_handling' is deprecated (declared at /usr/include/php/main/php.h:292)
- /var/tmp/SPL_Types/spl_type.c: In function 'spl_enum_apply_get_consts':
- /var/tmp/SPL_Types/spl_type.c:371: error: 'zend_hash_key' has no member named 'arKey'
- /var/tmp/SPL_Types/spl_type.c:371: error: 'zend_hash_key' has no member named 'arKey'
- /var/tmp/SPL_Types/spl_type.c: In function 'zim_spl_SplEnum_getConstList':
- /var/tmp/SPL_Types/spl_type.c:390: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type
- /usr/include/php/Zend/zend_hash.h:154: note: expected 'struct zend_string *' but argument is of type 'char *'
- /var/tmp/SPL_Types/spl_type.c:390: error: too many arguments to function 'zend_hash_find'
- /var/tmp/SPL_Types/spl_type.c: At top level:
- /var/tmp/SPL_Types/spl_type.c:400: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_type_object_new'
- /var/tmp/SPL_Types/spl_type.c:406: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_int_object_new'
- /var/tmp/SPL_Types/spl_type.c:412: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_float_object_new'
- /var/tmp/SPL_Types/spl_type.c:418: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_string_object_new'
- /var/tmp/SPL_Types/spl_type.c:443: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'spl_enum_object_new'
- /var/tmp/SPL_Types/spl_type.c: In function 'zm_startup_spl_type':
- /var/tmp/SPL_Types/spl_type.c:451: error: 'spl_type_object_new' undeclared (first use in this function)
- /var/tmp/SPL_Types/spl_type.c:454: error: 'spl_type_object_clone' undeclared (first use in this function)
- /var/tmp/SPL_Types/spl_type.c:455: warning: assignment from incompatible pointer type
- /var/tmp/SPL_Types/spl_type.c:456: warning: assignment from incompatible pointer type
- /var/tmp/SPL_Types/spl_type.c:469: error: 'spl_enum_object_new' undeclared (first use in this function)
- /var/tmp/SPL_Types/spl_type.c:477: error: 'spl_int_object_new' undeclared (first use in this function)
- /var/tmp/SPL_Types/spl_type.c:480: error: 'spl_float_object_new' undeclared (first use in this function)
- /var/tmp/SPL_Types/spl_type.c:483: error: 'spl_string_object_new' undeclared (first use in this function)
- make: *** [spl_type.lo] Error 1
- ERROR: `make' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement