php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5739 --with-mcrypt does not compile
Submitted: 2000-07-22 21:12 UTC Modified: 2000-07-22 21:16 UTC
From: hgouhier at imaginet dot fr Assigned:
Status: Closed Package: mcrypt related
PHP Version: 4.0.1pl2 OS: RH 6.2 2.2.12-20
Private report: No CVE-ID: None
 [2000-07-22 21:12 UTC] hgouhier at imaginet dot fr
./configure --with-apache=../apache_1.3.12 --enable-track-vars --enable-trans-sid --with-informix=/opt/informix --with-mysql=/opt/mysql --with-ftp --with-java=/usr/local/jdk1.2.2 --enable-wddx --enable-xml -with-mcrypt=/usr/local/lib 

mcrypt -v:
Mcrypt v.2.5.4 (i586-pc-linux-gnu)
Linked against libmcrypt v.2.4


make:
[...]
Making all in mcrypt
make[2]: Entering directory `/usr/local/apache/sources/php-4.0.1pl2/ext/mcrypt'
make[3]: Entering directory `/usr/local/apache/sources/php-4.0.1pl2/ext/mcrypt'
/bin/sh /usr/local/apache/sources/php-4.0.1pl2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/apache/sources/php-4.0.1pl2/ext/mcrypt -I/usr/local/apache/sources/php-4.0.1pl2 -I/usr/local/apache/sources/php-4.0.1pl2/main -I/usr/local/apache/sources/apache_1.3.12/src/include -I/usr/local/apache/sources/apache_1.3.12/src/os/unix -I/usr/local/apache/sources/php-4.0.1pl2/Zend -I/usr/local/apache/sources/php-4.0.1pl2 -I/opt/informix/incl/esql -I/usr/local/include -I/opt/mysql/include/mysql -I/usr/local/apache/sources/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/local/apache/sources/php-4.0.1pl2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2 -I/opt/informix/incl/esql  -c mcrypt.c
mcrypt.c:115: warning: `MCRYPT_FAILED' redefined
/usr/local/include/mcrypt.h:28: warning: this is the location of the previous definition
mcrypt.c: In function `php_minit_mcrypt':
mcrypt.c:134: `MCRYPT_BLOWFISH_448' undeclared (first use in this function)
mcrypt.c:134: (Each undeclared identifier is reported only once
mcrypt.c:134: for each function it appears in.)
mcrypt.c:135: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:136: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:137: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:138: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:139: `MCRYPT_SAFER_64' undeclared (first use in this function)
mcrypt.c:140: `MCRYPT_SAFER_128' undeclared (first use in this function)
mcrypt.c:141: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:142: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:143: `MCRYPT_RC2_1024' undeclared (first use in this function)
mcrypt.c:144: `MCRYPT_TWOFISH_128' undeclared (first use in this function)
mcrypt.c:145: `MCRYPT_TWOFISH_192' undeclared (first use in this function)
mcrypt.c:146: `MCRYPT_TWOFISH_256' undeclared (first use in this function)
mcrypt.c:147: `MCRYPT_BLOWFISH_128' undeclared (first use in this function)
mcrypt.c:148: `MCRYPT_BLOWFISH_192' undeclared (first use in this function)
mcrypt.c:149: `MCRYPT_BLOWFISH_256' undeclared (first use in this function)
mcrypt.c:150: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:151: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:152: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:153: `MCRYPT_SERPENT_128' undeclared (first use in this function)
mcrypt.c:154: `MCRYPT_SERPENT_192' undeclared (first use in this function)
mcrypt.c:155: `MCRYPT_SERPENT_256' undeclared (first use in this function)
mcrypt.c:156: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:157: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:158: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:159: `MCRYPT_RC2_256' undeclared (first use in this function)
mcrypt.c:160: `MCRYPT_RC2_128' undeclared (first use in this function)
mcrypt.c:161: `MCRYPT_RC6_256' undeclared (first use in this function)
mcrypt.c:162: `MCRYPT_IDEA' undeclared (first use in this function)
mcrypt.c:163: `MCRYPT_RC6_128' undeclared (first use in this function)
mcrypt.c:164: `MCRYPT_RC6_192' undeclared (first use in this function)
mcrypt.c:165: `MCRYPT_RC4' undeclared (first use in this function)
mcrypt.c: In function `php_if_mcrypt_get_cipher_name':
mcrypt.c:241: warning: assignment makes pointer from integer without a cast
make[3]: *** [mcrypt.lo] Error 1
make[3]: Leaving directory `/usr/local/apache/sources/php-4.0.1pl2/ext/mcrypt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/apache/sources/php-4.0.1pl2/ext/mcrypt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/apache/sources/php-4.0.1pl2/ext'
make: *** [all-recursive] Error 1







huh ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-22 21:15 UTC] david at cvs dot php dot net
Please use libmcrypt version 2.2.7 for now. Support for later versions is in the pipeline. ftp://argeas.cs-net.gr/pub/unix/mcrypt


 [2000-07-22 21:16 UTC] david at cvs dot php dot net
Hmm. the url I tried to write was:
ftp://argeas.cs-net.gr/pub/unix/mcrypt


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 19:01:30 2024 UTC