|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-10-24 02:41 UTC] kalle@php.net
-Status: Open
+Status: Suspended
[2017-10-24 02:41 UTC] kalle@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 07:00:01 2025 UTC |
Description: ------------ /bin/bash /tmp/blenc-1.1.4b/libtool --mode=compile cc -I. -I/tmp/blenc-1.1.4b -DPHP_ATOM_INC -I/tmp/blenc-1.1.4b/include -I/tmp/blenc-1.1.4b/main -I/tmp/blenc-1.1.4b -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/blenc-1.1.4b/blenc.c -o blenc.lo libtool: compile: cc -I. -I/tmp/blenc-1.1.4b -DPHP_ATOM_INC -I/tmp/blenc-1.1.4b/include -I/tmp/blenc-1.1.4b/main -I/tmp/blenc-1.1.4b -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 -DHAVE_CONFIG_H -g -O2 -c /tmp/blenc-1.1.4b/blenc.c -fPIC -DPIC -o .libs/blenc.o In file included from /usr/include/php/20160303/Zend/zend.h:36:0, from /usr/include/php/20160303/main/php.h:36, from /tmp/blenc-1.1.4b/blenc.c:26: /tmp/blenc-1.1.4b/blenc.c: In function ‘zm_startup_blenc’: /usr/include/php/20160303/Zend/zend_hash.h:68:111: warning: passing argument 3 of ‘_zend_hash_init’ from incompatible pointer type [-Wincompatible-pointer-types] #define zend_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) _zend_hash_init((ht), (nSize), (pDestructor), (persistent) ZEND_FILE_LINE_CC) ^ /tmp/blenc-1.1.4b/blenc.c:114:2: note: in expansion of macro ‘zend_hash_init’ zend_hash_init(php_bl_keys, 0, NULL, _php_blenc_pefree_wrapper, TRUE); ^ In file included from /usr/include/php/20160303/Zend/zend.h:36:0, from /usr/include/php/20160303/main/php.h:36, from /tmp/blenc-1.1.4b/blenc.c:26: /usr/include/php/20160303/Zend/zend_hash.h:64:29: note: expected ‘dtor_func_t {aka void (*)(struct _zval_struct *)}’ but argument is of type ‘void (*)(void **)’ ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC); ^ /tmp/blenc-1.1.4b/blenc.c: In function ‘zif_blenc_encrypt’: /tmp/blenc-1.1.4b/blenc.c:245:21: warning: passing argument 1 of ‘php_blenc_make_md5’ from incompatible pointer type [-Wincompatible-pointer-types] php_blenc_make_md5(main_hash, main_key, strlen(main_key) TSRMLS_CC); ^ In file included from /tmp/blenc-1.1.4b/blenc.c:34:0: /tmp/blenc-1.1.4b/php_blenc.h:88:13: note: expected ‘char *’ but argument is of type ‘char **’ static void php_blenc_make_md5(char *, void *, unsigned int TSRMLS_DC); ^ /tmp/blenc-1.1.4b/blenc.c:263:33: warning: passing argument 2 of ‘php_blenc_encode’ from incompatible pointer type [-Wincompatible-pointer-types] bfdata = php_blenc_encode(key, main_hash, strlen(key), &bfdata_len TSRMLS_CC); ^ In file included from /tmp/blenc-1.1.4b/blenc.c:34:0: /tmp/blenc-1.1.4b/php_blenc.h:92:9: note: expected ‘unsigned char *’ but argument is of type ‘char **’ b_byte *php_blenc_encode(void *, unsigned char *, int, int * TSRMLS_DC); ^ /tmp/blenc-1.1.4b/blenc.c:264:12: error: too many arguments to function ‘php_base64_encode’ b64data = php_base64_encode(bfdata, bfdata_len, &b64data_len); ^ In file included from /tmp/blenc-1.1.4b/blenc.c:30:0: /usr/include/php/20160303/ext/standard/base64.h:27:28: note: declared here PHPAPI extern zend_string *php_base64_encode(const unsigned char *, size_t); ^ /tmp/blenc-1.1.4b/blenc.c:264:10: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] b64data = php_base64_encode(bfdata, bfdata_len, &b64data_len); ^ In file included from /usr/include/php/20160303/main/php.h:406:0, from /tmp/blenc-1.1.4b/blenc.c:26: /tmp/blenc-1.1.4b/blenc.c:266:58: error: ‘ENFORCE_SAFE_MODE’ undeclared (first use in this function) if((stream = php_stream_open_wrapper(output_file, "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL))) { ^ /usr/include/php/20160303/main/php_streams.h:568:107: note: in definition of macro ‘php_stream_open_wrapper’ #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ /tmp/blenc-1.1.4b/blenc.c:266:58: note: each undeclared identifier is reported only once for each function it appears in if((stream = php_stream_open_wrapper(output_file, "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL))) { ^ /usr/include/php/20160303/main/php_streams.h:568:107: note: in definition of macro ‘php_stream_open_wrapper’ #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ /tmp/blenc-1.1.4b/blenc.c:273:44: error: macro "RETVAL_STRINGL" passed 3 arguments, but takes just 2 RETVAL_STRINGL(b64data, b64data_len, TRUE); ^ /tmp/blenc-1.1.4b/blenc.c:273:3: error: ‘RETVAL_STRINGL’ undeclared (first use in this function) RETVAL_STRINGL(b64data, b64data_len, TRUE); ^ In file included from /usr/include/php/20160303/main/php.h:406:0, from /tmp/blenc-1.1.4b/blenc.c:26: /tmp/blenc-1.1.4b/blenc.c: In function ‘php_blenc_file_to_mem’: /tmp/blenc-1.1.4b/blenc.c:298:57: error: ‘ENFORCE_SAFE_MODE’ undeclared (first use in this function) if (!(stream = php_stream_open_wrapper(filename, "rb", ENFORCE_SAFE_MODE, NULL))) { ^ /usr/include/php/20160303/main/php_streams.h:568:107: note: in definition of macro ‘php_stream_open_wrapper’ #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ /tmp/blenc-1.1.4b/blenc.c:302:73: error: macro "php_stream_copy_to_mem" passed 4 arguments, but takes just 3 if ((len = php_stream_copy_to_mem(stream, &data, PHP_STREAM_COPY_ALL, 0)) == 0) { ^ /tmp/blenc-1.1.4b/blenc.c:302:13: error: ‘php_stream_copy_to_mem’ undeclared (first use in this function) if ((len = php_stream_copy_to_mem(stream, &data, PHP_STREAM_COPY_ALL, 0)) == 0) { ^ /tmp/blenc-1.1.4b/blenc.c: In function ‘php_blenc_load_keyhash’: /tmp/blenc-1.1.4b/blenc.c:343:13: error: too many arguments to function ‘php_base64_decode’ bfdata = php_base64_decode(key, strlen(key), &bfdata_len); ^ In file included from /tmp/blenc-1.1.4b/blenc.c:30:0: /usr/include/php/20160303/ext/standard/base64.h:29:28: note: declared here PHPAPI extern zend_string *php_base64_decode(const unsigned char *, size_t); ^ /tmp/blenc-1.1.4b/blenc.c:343:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] bfdata = php_base64_decode(key, strlen(key), &bfdata_len); ^ /tmp/blenc-1.1.4b/blenc.c:347:75: error: macro "zend_hash_next_index_insert" passed 4 arguments, but takes just 2 if(zend_hash_next_index_insert(php_bl_keys, &temp, sizeof(char *), NULL) == FAILURE) { ^ /tmp/blenc-1.1.4b/blenc.c:347:7: error: ‘zend_hash_next_index_insert’ undeclared (first use in this function) if(zend_hash_next_index_insert(php_bl_keys, &temp, sizeof(char *), NULL) == FAILURE) { ^ /tmp/blenc-1.1.4b/blenc.c: In function ‘blenc_compile’: /tmp/blenc-1.1.4b/blenc.c:539:2: warning: implicit declaration of function ‘MAKE_STD_ZVAL’ [-Wimplicit-function-declaration] MAKE_STD_ZVAL(code); ^ In file included from /usr/include/php/20160303/main/php.h:406:0, from /tmp/blenc-1.1.4b/blenc.c:26: /tmp/blenc-1.1.4b/blenc.c:545:68: error: ‘ENFORCE_SAFE_MODE’ undeclared (first use in this function) if( (stream = php_stream_open_wrapper(file_handle->filename, "r", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL)) == NULL) { ^ /usr/include/php/20160303/main/php_streams.h:568:107: note: in definition of macro ‘php_stream_open_wrapper’ #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ /tmp/blenc-1.1.4b/blenc.c:595:58: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1 zend_hash_get_current_data(php_bl_keys, (void **)&key) == SUCCESS; ^ /tmp/blenc-1.1.4b/blenc.c:595:5: error: ‘zend_hash_get_current_data’ undeclared (first use in this function) zend_hash_get_current_data(php_bl_keys, (void **)&key) == SUCCESS; ^ /tmp/blenc-1.1.4b/blenc.c:633:48: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(code, decoded, decoded_len, TRUE); ^ /tmp/blenc-1.1.4b/blenc.c:633:3: error: ‘ZVAL_STRINGL’ undeclared (first use in this function) ZVAL_STRINGL(code, decoded, decoded_len, TRUE); ^ /tmp/blenc-1.1.4b/blenc.c:634:38: warning: passing argument 2 of ‘zend_compile_string’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] retval = zend_compile_string(code, file_handle->filename TSRMLS_CC); ^ /tmp/blenc-1.1.4b/blenc.c:634:38: note: expected ‘char *’ but argument is of type ‘const char *’ Makefile:193: recipe for target 'blenc.lo' failed make: *** [blenc.lo] Error 1