PHP 4.0 Bug #5882 Updated: Use inline directive in *.c files for global functions in Zend engine

From: Date: Fri, 08 Dec 2000 00:42:03 +0000
Subject: PHP 4.0 Bug #5882 Updated: Use inline directive in *.c files for global functions in Zend engine
Groups: php.dev 
Request: Send a blank email to php-dev+get-40526@lists.php.net to get a copy of this message
ID: 5882 Updated by: sniper Reported By: mbaturin@mail.ru Status: Open Bug Type: Compile Failure Assigned To: Comments: User feedback: ------------ Yes, still not working. When run httpd -X and try to open .php file this message: 98571:/usr/local/apache/bin/httpd: rld: Fatal Error: attempted access to unresolvable symbol in /usr/local/apache/libexec/libphp4.so: _array_init MIPSPro C 7.3.1.1 IRIX 6.5.8 In .c files you still use static inline functions, which not supported for exporting in SGI C compiller. ----------------- Previous Comments: --------------------------------------------------------------------------- [2000-11-21 06:12:34] sniper@php.net Please try the latest snapshot from http://snaps.php.net/ as this should be fixed now. --Jani --------------------------------------------------------------------------- [2000-11-01 02:09:56] andi@php.net Does this still happen with the latest version? Try 4.0.3pl1 or get the latest snapshot from snaps.php.net. Thanks, Andi --------------------------------------------------------------------------- [2000-08-30 05:08:28] stas@php.net User environment: MIPSPro C 7.3.1.1 IRIX 6.5.8 --------------------------------------------------------------------------- [2000-08-15 12:42:12] sas@php.net The user probably needs to configure PHP with --enable-c9x-inline Please try this and report back to us whether it works for you. --------------------------------------------------------------------------- [2000-08-15 07:33:45] stas@php.net Looks like problem in the compiler, because these functions aren't declared static. I'll try to look into the standard and see what compiler is supposed to do with inlines. Also, gcc has option "-fkeep-inline-functions" - does yours have one? Finally, most useful slution for you might be to add -Dinline= to you CFLAGS. That will hurt performance a bit, but otherwise should work. --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=5882

« previous php.dev (#40526) next »