php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56352 crack does not build against cracklib-2.8.2
Submitted: 2005-03-18 00:45 UTC Modified: 2005-04-17 09:39 UTC
From: sebastian@php.net Assigned: skettler (profile)
Status: Closed Package: crack (PECL)
PHP Version: 5.0.3 OS: Linux
Private report: No CVE-ID: None
 [2005-03-18 00:45 UTC] sebastian@php.net
Description:
------------
The crack extension does not build against cracklib 2.8.2. It builds file against cracklib 2.7.x.

Actual result:
--------------
/bin/sh /var/tmp/portage/PECL-crack-0.2/work/crack-0.2/libtool --mode=compile i686-pc-linux-gnu-gcc  -I. -I/var/tmp/portage/PECL-crack-0.2/work/crack-0.2 -DPHP_ATOM_INC -I/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/include -I/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/main -I/var/tmp/portage/PECL-crack-0.2/work/crack-0.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM  -DHAVE_CONFIG_H  -march=pentium-m -O2 -pipe  -prefer-pic -c /var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c -o crack.lo
mkdir .libs
 i686-pc-linux-gnu-gcc -I. -I/var/tmp/portage/PECL-crack-0.2/work/crack-0.2 -DPHP_ATOM_INC -I/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/include -I/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/main -I/var/tmp/portage/PECL-crack-0.2/work/crack-0.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -DHAVE_CONFIG_H -march=pentium-m -O2 -pipe -c /var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c  -fPIC -DPIC -o .libs/crack.o
In file included from /var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:30:
/usr/include/packer.h:28: error: parse error before "uint32_t"
/usr/include/packer.h:30: error: parse error before "pih_blocklen"
/usr/include/packer.h:31: error: parse error before "pih_pad"
/usr/include/packer.h:40: error: parse error before "uint32_t"
/usr/include/packer.h:50: error: conflicting types for 'data'
/usr/include/php/main/php.h:267: error: previous declaration of 'data' was here
/usr/include/packer.h:50: error: conflicting types for 'data'
/usr/include/php/main/php.h:267: error: previous declaration of 'data' was here
/usr/include/packer.h:51: error: parse error before '}' token
/usr/include/packer.h:56: error: parse error before '*' token
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:32: error: parse error before '*' token
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:33: error: parse error before '*' token
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c: In function `_crack_open_dict':
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:71: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:71: error: (Each undeclared identifier is reported only once
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:71: error: for each function it appears in.)
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c: At top level:
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:99: error: parse error before '*' token
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c: In function `_close_crack_dict':
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:101: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c: In function `zif_crack_closedict':
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:176: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:199: error: parse error before ')' token
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c: In function `zif_crack_check':
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:216: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c:244: error: parse error before ')' token
/var/tmp/portage/PECL-crack-0.2/work/crack-0.2/crack.c: At top level:
/usr/include/packer.h:47: error: storage size of `header' isn't known
make: *** [crack.lo] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-18 03:18 UTC] skettler@php.net
Which distribution are you using?
 [2005-03-18 03:27 UTC] sebastian@php.net
Gentoo Linux.
 [2005-04-17 09:39 UTC] sniper@php.net
Should be fixed when used with latest CVS of PHP 
or if you update to cracklib 2.8.3.
 [2015-06-15 20:49 UTC] jfanjoy at inetu dot net
Description:
-------------
I am unable to build this extension using cracklib 2.9.2 with php-5.5 installed from source on Debian Jessie.

Actual Result:
--------------
/bin/bash /usr/src/php/ext/crack-0.4/libtool --mode=compile cc -I/usr/src/php/ext/crack-0.4/libcrack/include -I. -I/usr/src/php/ext/crack-0.4 -DPHP_ATOM_INC -I/usr/src/php/ext/crack-0.4/include -I/usr/src/php/ext/crack-0.4/main -I/usr/src/php/ext/crack-0.4 -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  -DHAVE_CONFIG_H  -g -O2   -c /usr/src/php/ext/crack-0.4/crack.c -o crack.lo 
 cc -I/usr/src/php/ext/crack-0.4/libcrack/include -I. -I/usr/src/php/ext/crack-0.4 -DPHP_ATOM_INC -I/usr/src/php/ext/crack-0.4/include -I/usr/src/php/ext/crack-0.4/main -I/usr/src/php/ext/crack-0.4 -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 -DHAVE_CONFIG_H -g -O2 -c /usr/src/php/ext/crack-0.4/crack.c  -fPIC -DPIC -o .libs/crack.o
/usr/src/php/ext/crack-0.4/crack.c:41:1: error: unknown type name 'function_entry'
 function_entry crack_functions[] = {
 ^
/usr/src/php/ext/crack-0.4/crack.c:42:2: warning: braces around scalar initializer
  PHP_FE(crack_opendict,   NULL)
  ^
/usr/src/php/ext/crack-0.4/crack.c:42:2: warning: (near initialization for 'crack_functions[0]')
/usr/src/php/ext/crack-0.4/crack.c:42:2: warning: initialization makes integer from pointer without a cast
/usr/src/php/ext/crack-0.4/crack.c:42:2: warning: (near initialization for 'crack_functions[0]')
/usr/src/php/ext/crack-0.4/crack.c:42:2: error: initializer element is not computable at load time
/usr/src/php/ext/crack-0.4/crack.c:42:2: error: (near initialization for 'crack_functions[0]')
/usr/src/php/ext/crack-0.4/crack.c:42:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:42:2: warning: (near initialization for 'crack_functions[0]')
/usr/src/php/ext/crack-0.4/crack.c:42:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:42:2: warning: (near initialization for 'crack_functions[0]')
In file included from /usr/local/include/php/main/php.h:38:0,
                 from /usr/src/php/ext/crack-0.4/crack.c:25:
/usr/local/include/php/Zend/zend_API.h:71:129: warning: excess elements in scalar initializer
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_opendict,   NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: (near initialization for 'crack_functions[0]')
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_opendict,   NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: excess elements in scalar initializer
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_opendict,   NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: (near initialization for 'crack_functions[0]')
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:42:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_opendict,   NULL)
  ^
/usr/src/php/ext/crack-0.4/crack.c:43:2: warning: braces around scalar initializer
  PHP_FE(crack_closedict,   NULL)
  ^
/usr/src/php/ext/crack-0.4/crack.c:43:2: warning: (near initialization for 'crack_functions[1]')
/usr/src/php/ext/crack-0.4/crack.c:43:2: warning: initialization makes integer from pointer without a cast
/usr/src/php/ext/crack-0.4/crack.c:43:2: warning: (near initialization for 'crack_functions[1]')
/usr/src/php/ext/crack-0.4/crack.c:43:2: error: initializer element is not computable at load time
/usr/src/php/ext/crack-0.4/crack.c:43:2: error: (near initialization for 'crack_functions[1]')
/usr/src/php/ext/crack-0.4/crack.c:43:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:43:2: warning: (near initialization for 'crack_functions[1]')
/usr/src/php/ext/crack-0.4/crack.c:43:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:43:2: warning: (near initialization for 'crack_functions[1]')
In file included from /usr/local/include/php/main/php.h:38:0,
                 from /usr/src/php/ext/crack-0.4/crack.c:25:
/usr/local/include/php/Zend/zend_API.h:71:129: warning: excess elements in scalar initializer
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_closedict,   NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: (near initialization for 'crack_functions[1]')
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_closedict,   NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: excess elements in scalar initializer
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_closedict,   NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: (near initialization for 'crack_functions[1]')
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:43:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_closedict,   NULL)
  ^
/usr/src/php/ext/crack-0.4/crack.c:44:2: warning: braces around scalar initializer
  PHP_FE(crack_check,    NULL)
  ^
/usr/src/php/ext/crack-0.4/crack.c:44:2: warning: (near initialization for 'crack_functions[2]')
/usr/src/php/ext/crack-0.4/crack.c:44:2: warning: initialization makes integer from pointer without a cast
/usr/src/php/ext/crack-0.4/crack.c:44:2: warning: (near initialization for 'crack_functions[2]')
/usr/src/php/ext/crack-0.4/crack.c:44:2: error: initializer element is not computable at load time
/usr/src/php/ext/crack-0.4/crack.c:44:2: error: (near initialization for 'crack_functions[2]')
/usr/src/php/ext/crack-0.4/crack.c:44:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:44:2: warning: (near initialization for 'crack_functions[2]')
/usr/src/php/ext/crack-0.4/crack.c:44:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:44:2: warning: (near initialization for 'crack_functions[2]')
In file included from /usr/local/include/php/main/php.h:38:0,
                 from /usr/src/php/ext/crack-0.4/crack.c:25:
/usr/local/include/php/Zend/zend_API.h:71:129: warning: excess elements in scalar initializer
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_check,    NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: (near initialization for 'crack_functions[2]')
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_check,    NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: excess elements in scalar initializer
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_check,    NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: (near initialization for 'crack_functions[2]')
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:44:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_check,    NULL)
  ^
/usr/src/php/ext/crack-0.4/crack.c:45:2: warning: braces around scalar initializer
  PHP_FE(crack_getlastmessage, NULL)
  ^
/usr/src/php/ext/crack-0.4/crack.c:45:2: warning: (near initialization for 'crack_functions[3]')
/usr/src/php/ext/crack-0.4/crack.c:45:2: warning: initialization makes integer from pointer without a cast
/usr/src/php/ext/crack-0.4/crack.c:45:2: warning: (near initialization for 'crack_functions[3]')
/usr/src/php/ext/crack-0.4/crack.c:45:2: error: initializer element is not computable at load time
/usr/src/php/ext/crack-0.4/crack.c:45:2: error: (near initialization for 'crack_functions[3]')
/usr/src/php/ext/crack-0.4/crack.c:45:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:45:2: warning: (near initialization for 'crack_functions[3]')
/usr/src/php/ext/crack-0.4/crack.c:45:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:45:2: warning: (near initialization for 'crack_functions[3]')
In file included from /usr/local/include/php/main/php.h:38:0,
                 from /usr/src/php/ext/crack-0.4/crack.c:25:
/usr/local/include/php/Zend/zend_API.h:71:129: warning: excess elements in scalar initializer
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_getlastmessage, NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: (near initialization for 'crack_functions[3]')
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_getlastmessage, NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: excess elements in scalar initializer
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_getlastmessage, NULL)
  ^
/usr/local/include/php/Zend/zend_API.h:71:129: warning: (near initialization for 'crack_functions[3]')
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (zend_uint) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags },
                                                                                                                                 ^
/usr/local/include/php/Zend/zend_API.h:77:38: note: in expansion of macro 'ZEND_FENTRY'
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      ^
/usr/local/include/php/main/php.h:349:18: note: in expansion of macro 'ZEND_FE'
 #define PHP_FE   ZEND_FE
                  ^
/usr/src/php/ext/crack-0.4/crack.c:45:2: note: in expansion of macro 'PHP_FE'
  PHP_FE(crack_getlastmessage, NULL)
  ^
/usr/src/php/ext/crack-0.4/crack.c:46:2: warning: braces around scalar initializer
  {NULL, NULL, NULL}
  ^
/usr/src/php/ext/crack-0.4/crack.c:46:2: warning: (near initialization for 'crack_functions[4]')
/usr/src/php/ext/crack-0.4/crack.c:46:2: warning: initialization makes integer from pointer without a cast
/usr/src/php/ext/crack-0.4/crack.c:46:2: warning: (near initialization for 'crack_functions[4]')
/usr/src/php/ext/crack-0.4/crack.c:46:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:46:2: warning: (near initialization for 'crack_functions[4]')
/usr/src/php/ext/crack-0.4/crack.c:46:2: warning: excess elements in scalar initializer
/usr/src/php/ext/crack-0.4/crack.c:46:2: warning: (near initialization for 'crack_functions[4]')
/usr/src/php/ext/crack-0.4/crack.c:57:2: warning: initialization from incompatible pointer type
  crack_functions,
  ^
/usr/src/php/ext/crack-0.4/crack.c:57:2: warning: (near initialization for 'crack_module_entry.functions')
In file included from /usr/local/include/php/main/fopen_wrappers.h:25:0,
                 from /usr/local/include/php/main/php.h:397,
                 from /usr/src/php/ext/crack-0.4/crack.c:25:
/usr/src/php/ext/crack-0.4/crack.c: In function 'php_crack_checkpath':
/usr/local/include/php/main/php_globals.h:32:29: error: 'struct _php_core_globals' has no member named 'safe_mode'
 # define PG(v) (core_globals.v)
                             ^
/usr/src/php/ext/crack-0.4/crack.c:99:6: note: in expansion of macro 'PG'
  if (PG(safe_mode)) {
      ^
/usr/src/php/ext/crack-0.4/crack.c:109:36: error: 'CHECKUID_CHECK_FILE_AND_DIR' undeclared (first use in this function)
   if (!php_checkuid(filename, "r", CHECKUID_CHECK_FILE_AND_DIR)) {
                                    ^
/usr/src/php/ext/crack-0.4/crack.c:109:36: note: each undeclared identifier is reported only once for each function it appears in
Makefile:180: recipe for target 'crack.lo' failed
make: *** [crack.lo] Error 1
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Jan 21 05:01:23 2020 UTC