#18787 [Opn->Csd]: using an old precompiler macro for apache2 causes make to fail

From: Date: Wed, 07 Aug 2002 16:26:44 +0000
Subject: #18787 [Opn->Csd]: using an old precompiler macro for apache2 causes make to fail
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16185@lists.php.net to get a copy of this message
ID: 18787 Updated by: rasmus@php.net Reported By: raynor@siliconmobius.com -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: linux (redhat-7.3) PHP Version: 4.2.2 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-08-07 12:25:45] raynor@siliconmobius.com In the file php-4.2.2/sapi/apache2filter/php_functions.c on line 97: #if !MODULE_MAGIC_AT_LEAST(x,y) In the file ap_mmn.h, in the apache2 source tree, there is a line: #define MODULE_MAGIC_AT_LEAST old_broken_macro_we_hope_you_are_not_using From looking through this file, it seems the new macro is AP_MODULE_MAGIC_AT_LEAST. This seems to fix the problem. However, I'm still getting an error with stub.lo, so I may be wrong about the fix. Please let me know if you've already found the solution to this and it's different from my guess. Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18787&edit=1

« previous php.bugs (#16185) next »