ID: 14488 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Compile Failure Operating System: FreeBSD 4.0-20000626-STABLE PHP Version: 4.1.0 New Comment:
Cheers. I didn't spot bug #14470 when I searched the first time round. Must be going blind. I've just worked around this by manually integrating the #ifdef into mcrypt.c - which has compiled happily. Sorry, I'm not one for compiling CVS versions. It's a psychological thing. Previous Comments: ------------------------------------------------------------------------ [2001-12-13 11:25:27] [EMAIL PROTECTED] Fixed in cvs -- you have two options, upgrade mcrypt to 2.4 or upgrade PHP to the latest cvs of the PHP_4_0_7 branch (what PHP 4.1 was forked off of). ------------------------------------------------------------------------ [2001-12-13 11:18:07] [EMAIL PROTECTED] Don't know what the original number is, but it has been reported already. Which version do you use of libmcrypt? Derick ------------------------------------------------------------------------ [2001-12-13 11:16:33] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=14488&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]