c9s / Pux

Pux is a fast PHP Router and includes out-of-box controller tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recipe for target 'pux_functions.lo' failed

surjit opened this issue · comments

/bin/bash /home/Pux/ext/libtool --mode=compile cc -I. -I/home/Pux/ext -DPHP_ATOM_INC -I/home/Pux/ext/include -I/home/Pux/ext/main -I/home/Pux/ext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/opt/local/include -DHAVE_CONFIG_H -g -O2 -c /home/Pux/ext/pux_functions.c -o pux_functions.lo
cc -I. -I/home/Pux/ext -DPHP_ATOM_INC -I/home/Pux/ext/include -I/home/Pux/ext/main -I/home/Pux/ext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/opt/local/include -DHAVE_CONFIG_H -g -O2 -c /home/Pux/ext/pux_functions.c -fPIC -DPIC -o .libs/pux_functions.o
/home/Pux/ext/pux_functions.c: In function ‘my_copy_zval’:
/home/Pux/ext/pux_functions.c:80:10: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
case IS_CONSTANT_ARRAY:
^
/home/Pux/ext/pux_functions.c:80:10: note: each undeclared identifier is reported only once for each function it appears in
/home/Pux/ext/pux_functions.c: In function ‘my_zval_copy_ctor_func’:
/home/Pux/ext/pux_functions.c:123:14: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
case IS_CONSTANT_ARRAY: {
^
/home/Pux/ext/pux_functions.c: In function ‘my_zval_copy_ctor_persistent_func’:
/home/Pux/ext/pux_functions.c:179:14: error: ‘IS_CONSTANT_ARRAY’ undeclared (first use in this function)
case IS_CONSTANT_ARRAY: {
^
Makefile:193: recipe for target 'pux_functions.lo' failed
make: *** [pux_functions.lo] Error 1

Ubuntu 16.04

php -v
PHP 5.6.25 (cli) (built: Sep 16 2016 12:09:04)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies