Bug #14488 Updated: ext/mcrypt/mcrypt.c won't compile

From: Date: Thu, 13 Dec 2001 16:25:27 +0000
Subject: Bug #14488 Updated: ext/mcrypt/mcrypt.c won't compile
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73580@lists.php.net to get a copy of this message
ID: 14488 Updated by: sterling Reported By: stevenf@shellnet.co.uk Old Status: Duplicate Status: Closed Bug Type: Compile Failure Operating System: FreeBSD 4.0-20000626-STABLE PHP Version: 4.1.0 New Comment: 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). Previous Comments: ------------------------------------------------------------------------ [2001-12-13 11:18:07] derick@php.net 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] stevenf@shellnet.co.uk 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

« previous php.dev (#73580) next »