php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30192 Reappearance of mcrypt bug from 4.3.0
Submitted: 2004-09-22 10:35 UTC Modified: 2004-09-22 16:34 UTC
From: pingslave at biosys dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.8 OS: FreeBSD 4.10
Private report: No CVE-ID: None
 [2004-09-22 10:35 UTC] pingslave at biosys dot net
Description:
------------
The old bug from 4.3.0, that was fixed then in CVS, is back.  Compiling on a vanilla FreeBSD 4.10 (cvsupped to -STABLE as of today) system with the following installed from ports:

libmcrypt-2.5.7_1
mcrypt-2.6.4_2
mhash-0.8.18

Using the system compiler (gcc 2.95).

Configure is : ./configure --with-pgsql --with-mysql --with-mcrypt --with-apxs2=/usr/local/apache2/bin/apxs

Configure runs without errors or other complaints.  Make however bombs out just like it used to.


Expected result:
----------------
I expect php to compile successfully.. heh.

Actual result:
--------------
make

...

/bin/sh /usr/builds/php-4.3.8/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/mcrypt/ -I/usr/builds/php-4.3.8/ext/mcrypt/ -DPHP_ATOM_INC -I/usr/builds/php-4.3.8/include -I/usr/builds/php-4.3.8/main -I/usr/builds/php-4.3.8 -I/usr/builds/php-4.3.8/Zend -I/usr/local/include -I/usr/builds/php-4.3.8/ext/xml/expat  -I/usr/builds/php-4.3.8/TSRM  -g -O2  -prefer-pic -c /usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c -o ext/mcrypt/mcrypt.lo
/usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c:229: warning: `MCRYPT_FAILED' redefined
/usr/local/include/mcrypt.h:31: warning: this is the location of the previous definition
/usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c: In function `zm_startup_mcrypt':
/usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c:280: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
/usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c:281: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
/usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c:282: `MCRYPT_BLOWFISH_128' undeclared (first use in this function)

...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-22 16:34 UTC] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Dup of #22073 and this is not a bug, it's a messed up installation.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 22:01:26 2024 UTC