PHP 4.0 Bug #4883: mcrypt incompatibility?
| From: | reinke at securityspace dot com | Date: | Wed, 07 Jun 2000 23:12:48 +0000 |
| Subject: | PHP 4.0 Bug #4883: mcrypt incompatibility? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20522@lists.php.net to get a copy of this message | ||
From: reinke@securityspace.com
Operating system: Linux RedHat 4.2
PHP version: 4.0.0 Release
PHP Bug Type: Compile Warning
Bug description: mcrypt incompatibility?
When attempting to link in mcrypt capability, numerous
warnings and errors are given. The mcrypt
package being used is 2.5.4, while the libmcrypt
version is 2.4.4 (latest available)
It appears as if an interface change has been made -
the compile complains about register_long_constant
passing in strings instead of integers.
The configure line in php was
./configure --with-apache=../apache_1.3.9 --enable-debug=no
--prefix=/usr/local/apache
--with-zlib --with-imap --with-mcrypt
--with-mhash --with-pgsql --with-gd
After fixing a bunch of undefined variables (e.g. BLOWFISH_448
doesn't exist - changed it to BLOWFISH, and so on, in the
ext/mcrypt/mcrypt.c file, the compile then complains about the
type definition mismatch as described above.