chuan-yun / Molten

php probe for zipkin and opentracing
Apache License 2.0
793 stars 160 forks source link

compile time warning #39

Closed mhf-ir closed 6 years ago

mhf-ir commented 7 years ago

Php 7.1 ubuntu

root@aasaam-app:/tmp/Molten-0.1.2beta# make && make install
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/molten.c -o molten.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/molten.c  -fPIC -DPIC -o .libs/molten.o
In file included from /tmp/Molten-0.1.2beta/molten_chain.h:30:0,
                 from /tmp/Molten-0.1.2beta/php_molten.h:35,
                 from /tmp/Molten-0.1.2beta/molten.c:24:
/tmp/Molten-0.1.2beta/php7_wrapper.h: In function ‘mo_array_merge’:
/tmp/Molten-0.1.2beta/php7_wrapper.h:245:5: warning: implicit declaration of function ‘php_array_merge_recursive’ [-Wimplicit-function-declaration]
     php_array_merge_recursive(Z_ARRVAL_P(dest), Z_ARRVAL_P(src));  
     ^
/tmp/Molten-0.1.2beta/molten.c: In function ‘zm_activate_molten’:
/tmp/Molten-0.1.2beta/molten.c:635:9: warning: implicit declaration of function ‘mo_chain_log_init’ [-Wimplicit-function-declaration]
         mo_chain_log_init(&PTG(pcl));
         ^
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/molten_log.c -o molten_log.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/molten_log.c  -fPIC -DPIC -o .libs/molten_log.o
In file included from /tmp/Molten-0.1.2beta/molten_util.h:30:0,
                 from /tmp/Molten-0.1.2beta/molten_log.h:54,
                 from /tmp/Molten-0.1.2beta/molten_log.c:17:
/tmp/Molten-0.1.2beta/php7_wrapper.h: In function ‘mo_array_merge’:
/tmp/Molten-0.1.2beta/php7_wrapper.h:245:5: warning: implicit declaration of function ‘php_array_merge_recursive’ [-Wimplicit-function-declaration]
     php_array_merge_recursive(Z_ARRVAL_P(dest), Z_ARRVAL_P(src));  
     ^
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/molten_intercept.c -o molten_intercept.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/molten_intercept.c  -fPIC -DPIC -o .libs/molten_intercept.o
In file included from /tmp/Molten-0.1.2beta/molten_intercept.h:41:0,
                 from /tmp/Molten-0.1.2beta/molten_intercept.c:16:
/tmp/Molten-0.1.2beta/php7_wrapper.h: In function ‘mo_array_merge’:
/tmp/Molten-0.1.2beta/php7_wrapper.h:245:5: warning: implicit declaration of function ‘php_array_merge_recursive’ [-Wimplicit-function-declaration]
     php_array_merge_recursive(Z_ARRVAL_P(dest), Z_ARRVAL_P(src));  
     ^
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/molten_ctrl.c -o molten_ctrl.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/molten_ctrl.c  -fPIC -DPIC -o .libs/molten_ctrl.o
In file included from /tmp/Molten-0.1.2beta/molten_util.h:30:0,
                 from /tmp/Molten-0.1.2beta/molten_ctrl.h:33,
                 from /tmp/Molten-0.1.2beta/molten_ctrl.c:17:
/tmp/Molten-0.1.2beta/php7_wrapper.h: In function ‘mo_array_merge’:
/tmp/Molten-0.1.2beta/php7_wrapper.h:245:5: warning: implicit declaration of function ‘php_array_merge_recursive’ [-Wimplicit-function-declaration]
     php_array_merge_recursive(Z_ARRVAL_P(dest), Z_ARRVAL_P(src));  
     ^
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/common/molten_shm.c -o common/molten_shm.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/common/molten_shm.c  -fPIC -DPIC -o common/.libs/molten_shm.o
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/common/molten_stack.c -o common/molten_stack.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/common/molten_stack.c  -fPIC -DPIC -o common/.libs/molten_stack.o
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/common/molten_lock.c -o common/molten_lock.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/common/molten_lock.c  -fPIC -DPIC -o common/.libs/molten_lock.o
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/molten_util.c -o molten_util.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/molten_util.c  -fPIC -DPIC -o .libs/molten_util.o
In file included from /tmp/Molten-0.1.2beta/molten_util.h:30:0,
                 from /tmp/Molten-0.1.2beta/molten_util.c:16:
/tmp/Molten-0.1.2beta/php7_wrapper.h: In function ‘mo_array_merge’:
/tmp/Molten-0.1.2beta/php7_wrapper.h:245:5: warning: implicit declaration of function ‘php_array_merge_recursive’ [-Wimplicit-function-declaration]
     php_array_merge_recursive(Z_ARRVAL_P(dest), Z_ARRVAL_P(src));  
     ^
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/molten_span.c -o molten_span.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/molten_span.c  -fPIC -DPIC -o .libs/molten_span.o
In file included from /tmp/Molten-0.1.2beta/molten_span.h:29:0,
                 from /tmp/Molten-0.1.2beta/molten_span.c:17:
/tmp/Molten-0.1.2beta/php7_wrapper.h: In function ‘mo_array_merge’:
/tmp/Molten-0.1.2beta/php7_wrapper.h:245:5: warning: implicit declaration of function ‘php_array_merge_recursive’ [-Wimplicit-function-declaration]
     php_array_merge_recursive(Z_ARRVAL_P(dest), Z_ARRVAL_P(src));  
     ^
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/molten_status.c -o molten_status.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/molten_status.c  -fPIC -DPIC -o .libs/molten_status.o
In file included from /tmp/Molten-0.1.2beta/molten_util.h:30:0,
                 from /tmp/Molten-0.1.2beta/molten_ctrl.h:33,
                 from /tmp/Molten-0.1.2beta/molten_status.h:23,
                 from /tmp/Molten-0.1.2beta/molten_status.c:17:
/tmp/Molten-0.1.2beta/php7_wrapper.h: In function ‘mo_array_merge’:
/tmp/Molten-0.1.2beta/php7_wrapper.h:245:5: warning: implicit declaration of function ‘php_array_merge_recursive’ [-Wimplicit-function-declaration]
     php_array_merge_recursive(Z_ARRVAL_P(dest), Z_ARRVAL_P(src));  
     ^
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/molten_report.c -o molten_report.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/molten_report.c  -fPIC -DPIC -o .libs/molten_report.o
In file included from /tmp/Molten-0.1.2beta/molten_report.h:24:0,
                 from /tmp/Molten-0.1.2beta/molten_report.c:17:
/tmp/Molten-0.1.2beta/php7_wrapper.h: In function ‘mo_array_merge’:
/tmp/Molten-0.1.2beta/php7_wrapper.h:245:5: warning: implicit declaration of function ‘php_array_merge_recursive’ [-Wimplicit-function-declaration]
     php_array_merge_recursive(Z_ARRVAL_P(dest), Z_ARRVAL_P(src));  
     ^
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=compile cc  -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten-0.1.2beta/molten_chain.c -o molten_chain.lo 
libtool: compile:  cc -I. -I/tmp/Molten-0.1.2beta -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten-0.1.2beta/molten_chain.c  -fPIC -DPIC -o .libs/molten_chain.o
In file included from /tmp/Molten-0.1.2beta/molten_chain.h:30:0,
                 from /tmp/Molten-0.1.2beta/molten_chain.c:17:
/tmp/Molten-0.1.2beta/php7_wrapper.h: In function ‘mo_array_merge’:
/tmp/Molten-0.1.2beta/php7_wrapper.h:245:5: warning: implicit declaration of function ‘php_array_merge_recursive’ [-Wimplicit-function-declaration]
     php_array_merge_recursive(Z_ARRVAL_P(dest), Z_ARRVAL_P(src));  
     ^
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/Molten-0.1.2beta/include -I/tmp/Molten-0.1.2beta/main -I/tmp/Molten-0.1.2beta -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten-0.1.2beta -I/tmp/Molten-0.1.2beta/common  -DHAVE_CONFIG_H  -g -O2   -o molten.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/Molten-0.1.2beta/modules  molten.lo molten_log.lo molten_intercept.lo molten_ctrl.lo common/molten_shm.lo common/molten_stack.lo common/molten_lock.lo molten_util.lo molten_span.lo molten_status.lo molten_report.lo molten_chain.lo 
libtool: link: cc -shared  -fPIC -DPIC  .libs/molten.o .libs/molten_log.o .libs/molten_intercept.o .libs/molten_ctrl.o common/.libs/molten_shm.o common/.libs/molten_stack.o common/.libs/molten_lock.o .libs/molten_util.o .libs/molten_span.o .libs/molten_status.o .libs/molten_report.o .libs/molten_chain.o    -g -O2   -Wl,-soname -Wl,molten.so -o .libs/molten.so
common/.libs/molten_lock.o: In function `mo_fcntl_locK_init':
/tmp/Molten-0.1.2beta/common/molten_lock.c:147: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
libtool: link: ( cd ".libs" && rm -f "molten.la" && ln -s "../molten.la" "molten.la" )
/bin/bash /tmp/Molten-0.1.2beta/libtool --mode=install cp ./molten.la /tmp/Molten-0.1.2beta/modules
libtool: install: cp ./.libs/molten.so /tmp/Molten-0.1.2beta/modules/molten.so
libtool: install: cp ./.libs/molten.lai /tmp/Molten-0.1.2beta/modules/molten.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /tmp/Molten-0.1.2beta/modules
silkcutKs commented 7 years ago

i will fix it

silkcutKs commented 7 years ago

please try current master version, show me the build error. in my build env, can not repeat your problem

mhf-ir commented 7 years ago

Seems be fixes but still one warning remaining: Master branch test:

 -I/tmp/Molten -I/tmp/Molten/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten/common/molten_lock.c -o common/molten_lock.lo 
libtool: compile:  cc -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten/common/molten_lock.c  -fPIC -DPIC -o common/.libs/molten_lock.o
/bin/bash /tmp/Molten/libtool --mode=compile cc  -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten/common/molten_slog.c -o common/molten_slog.lo 
libtool: compile:  cc -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten/common/molten_slog.c  -fPIC -DPIC -o common/.libs/molten_slog.o
/tmp/Molten/common/molten_slog.c: In function 'slog_record':
/tmp/Molten/common/molten_slog.c:61:25: warning: format not a string literal and no format arguments [-Wformat-security]
         fprintf(slg.fp, log_buf);
                         ^
/tmp/Molten/common/molten_slog.c:63:25: warning: format not a string literal and no format arguments [-Wformat-security]
         fprintf(stdout, log_buf);
                         ^
/bin/bash /tmp/Molten/libtool --mode=compile cc  -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Molten/molten_util.c -o molten_util.lo 
libtool: compile:  cc -I. -I/tmp/Molten -DPHP_ATOM_INC -I/tmp/Molten/include -I/tmp/Molten/main -I/tmp/Molten -I/usr/include/php/20160303 -I/usr/include/php/20160303/main -I/usr/include/php/20160303/TSRM -I/usr/include/php/20160303/Zend -I/usr/include/php/20160303/ext -I/usr/include/php/20160303/ext/date/lib -I/tmp/Molten -I/tmp/Molten/common -DHAVE_CONFIG_H -g -O2 -c /tmp/Molten/molten_util.c  -fPIC -DPIC -o .libs/molten_util.o

Those errors for pecl stable tar.gz version.

silkcutKs commented 6 years ago

already fix on master branch