PHP and mcrypt compilel woes
| From: | Bill Ing | Date: | Fri, 21 Feb 2003 13:17:44 +0000 |
| Subject: | PHP and mcrypt compilel woes | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10139@lists.php.net to get a copy of this message | ||
Hi,
I'm having problems compiling PHP4.3.1 with mcrypt.
With much effort, I have already compiled...
mhash-0.8.17
mcrypt-2.6.3
libmcrypt-2.5.6
My configure line for PHP is.
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-mcryp
t=/usr/local/bin
The last few lines of the make output follows.
Any suggestions would be greatfully appreciated.
TIA
*****************
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:304: `MCRYPT_SERPENT_128'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:305: `MCRYPT_SERPENT_192'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:306: `MCRYPT_SERPENT_256'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:307: `MCRYPT_TWOFISH_128'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:308: `MCRYPT_TWOFISH_192'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:309: `MCRYPT_TWOFISH_256'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:310: warning: passing arg 3 of
`zend_register_long_constant' makes integer from pointer without a cast
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c: In function
`zif_mcrypt_get_cipher_name':
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:1503: warning: assignment makes
pointer from integer without a cast
*** Error code 1
**********************