Bug #18596: Use of dead macro MODULE_MAGIC_AT_LEAST
| From: | smkelly at creighton dot edu | Date: | Fri, 26 Jul 2002 15:35:50 +0000 |
| Subject: | Bug #18596: Use of dead macro MODULE_MAGIC_AT_LEAST | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15353@lists.php.net to get a copy of this message | ||
From: smkelly@creighton.edu
Operating system: HP-UX 11i
PHP version: 4.2.2
PHP Bug Type: Compile Failure
Bug description: Use of dead macro MODULE_MAGIC_AT_LEAST
While attempting to build PHP 4.2.2 with Apache 2 support, I ran across
this problem on HP-UX 11i. You are using a macro that Apache deems as
dead, thus causing a nasty compiler error.
In sapi/apache2filter/php_functions.c:93, you have:
#if !MODULE_MAGIC_AT_LEAST(20020506,0)
but this should be changed to:
#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)
You can see this by looking at Apache 2.0.39:
# find . -name "*.h"| xargs grep MODULE_MAGIC_AT_LEAST
./include/ap_mmn.h:#define MODULE_MAGIC_AT_LEAST
old_broken_macro_we_hope_you_are_not_using
--
Edit bug report at http://bugs.php.net/?id=18596&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18596&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18596&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18596&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18596&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18596&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18596&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18596&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18596&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18596&r=globals