Bug #14488: ext/mcrypt/mcrypt.c won't compile
| From: | stevenf at shellnet dot co dot uk | Date: | Thu, 13 Dec 2001 16:16:34 +0000 |
| Subject: | Bug #14488: ext/mcrypt/mcrypt.c won't compile | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-73578@lists.php.net to get a copy of this message | ||
From: stevenf@shellnet.co.uk
Operating system: FreeBSD 4.0-20000626-STABLE
PHP version: 4.1.0
PHP Bug Type: Compile Failure
Bug description: ext/mcrypt/mcrypt.c won't compile
The mcrypt ext *did* compile cleanly under php 4.0.6, but under 4.1.0 I get
the following:
Making all in mcrypt
gcc -I. -I/usr/home/stevenf/Software/php-4.1.0/ext/mcrypt
-I/usr/home/stevenf/Software/php-4.1.0/main
-I/usr/home/stevenf/Software/php-4.1.0
-I/usr/home/stevenf/Software/apache_1.3.22/src/include
-I/usr/home/stevenf/Software/apache_1.3.22/src/os/unix
-I/usr/home/stevenf/Software/php-4.1.0/Zend
-I/home/stevenf/Software/st-1.2/FREEBSD_4.0-20000626-STABLE_OPT -I/include
-I/usr/local/include
-I/usr/home/stevenf/Software/php-4.1.0/ext/mysql/libmysql
-I/usr/home/stevenf/Software/php-4.1.0/ext/xml/expat
-I/usr/home/stevenf/Software/php-4.1.0/TSRM -g -O2 -c mcrypt.c && touch
mcrypt.lo
mcrypt.c: In function `php_mcrypt_module_dtor':
mcrypt.c:253: syntax error before `td'
mcrypt.c:254: `td' undeclared (first use in this function)
mcrypt.c:254: (Each undeclared identifier is reported only once
mcrypt.c:254: for each function it appears in.)
*** Error code 1
Looking at the CVS, the portion of code referenced in the error message was
not a part of PHP 4.0.6.... and my 4.0.6 source still compiles cleanly with
mcrypt enabled. Obviously something has changed and doesn't appear to work!
--
Edit bug report at: http://bugs.php.net/?id=14488&edit=1