#18734 [NEW]: Compile fails with php_functions.c:93:27: missing binary operator before '!'
| From: | gobucks at ev1 dot net | Date: | Sun, 04 Aug 2002 16:23:44 +0000 |
| Subject: | #18734 [NEW]: Compile fails with php_functions.c:93:27: missing binary operator before '!' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-15975@lists.php.net to get a copy of this message | ||
From: gobucks@ev1.net
Operating system: Linux kernel 2.4.18
PHP version: 4.2.2
PHP Bug Type: Compile Failure
Bug description: Compile fails with php_functions.c:93:27: missing binary operator before
'!'
I configure PHP using :
./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
make dies with :
php_functions.c:93:27: missing binary operator before '!'
Looking at php_functions.c there is a definition of
MODULE_MAGIC_AT_LEAST(), but grepping the source tree doesn't seem to find
where it would be defined. I changed it to be consistent with other
MAGIC_MODULE comparisons:
#if MODULE_MAGIC_NUMBER < 20020506
and everything seems to work.
Troy Tanzer
--
Edit bug report at http://bugs.php.net/?id=18734&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18734&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18734&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18734&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18734&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18734&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18734&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18734&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18734&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18734&r=globals