Opened 12 years ago
Closed 12 years ago
#285 closed defect (fixed)
php_scripts doesn't build with PHP 5.4.3
Reported by: | ezyang | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Fedora 17 |
Component: | internals | Keywords: | |
Cc: |
Description
Here's the error we got. Probably due to some API changes.
DEBUG: In file included from /builddir/build/BUILD/php_scripts/php_scripts.c:12:0: DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:30:1: error: unknown type name 'function_entry' DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:31:5: warning: braces around scalar initializer [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:31:5: warning: (near initialization for 'scripts_functions[0]') [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:31:5: warning: initialization makes integer from pointer without a cast [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:31:5: warning: (near initialization for 'scripts_functions[0]') [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:31:5: warning: excess elements in scalar initializer [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:31:5: warning: (near initialization for 'scripts_functions[0]') [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:31:5: warning: excess elements in scalar initializer [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:31:5: warning: (near initialization for 'scripts_functions[0]') [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:39:5: warning: initialization from incompatible pointer type [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.h:39:5: warning: (near initialization for 'scripts_module_entry.functions') [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.c:69:5: warning: initialization from incompatible pointer type [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.c:69:5: warning: (near initialization for 'zend_extension_entry.startup') [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.c:70:5: warning: initialization from incompatible pointer type [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.c:70:5: warning: (near initialization for 'zend_extension_entry.shutdown') [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.c:71:5: warning: initialization from incompatible pointer type [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.c:71:5: warning: (near initialization for 'zend_extension_entry.activate') [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.c:72:5: warning: initialization from incompatible pointer type [enabled by default] DEBUG: /builddir/build/BUILD/php_scripts/php_scripts.c:72:5: warning: (near initialization for 'zend_extension_entry.deactivate') [enabled by default] DEBUG: make: *** [php_scripts.lo] Error 1
Change History (2)
comment:1 Changed 12 years ago by ezyang
comment:2 Changed 12 years ago by ezyang
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Fixed using advice from https://bugs.php.net/bug.php?id=61479 in r2218