From:             pingslave at biosys dot net
Operating system: FreeBSD 4.10
PHP version:      4.3.8
PHP Bug Type:     Compile Failure
Bug description:  Reappearance of mcrypt bug from 4.3.0

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)

...

-- 
Edit bug report at http://bugs.php.net/?id=30192&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30192&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30192&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30192&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30192&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30192&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30192&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30192&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30192&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30192&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30192&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30192&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30192&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30192&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30192&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30192&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30192&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30192&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30192&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30192&r=mysqlcfg

Reply via email to