ID: 22073 Comment by: syn_uw at hotmail dot com Reported By: jc at mega-bucks dot co dot jp Status: Closed Bug Type: Compile Failure Operating System: Red Hat Linux 8.0 PHP Version: 4.3.0 New Comment:
Hello, I just wanted to let you know that this bug should maybe be re-opened as I have exactly the same problem, so I came on this bug then downloaded the latest STABLE snapshot (php4-STABLE-200303251630) as recommended in this bug but the bug is still here as you can see here the output of the make: ... /bin/sh /opt/source/php4-STABLE-200303251630/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/mcrypt/ -I/opt/source/php4-STABLE-200303251630/ext/mcrypt/ -DPHP_ATOM_INC -I/opt/source/php4-STABLE-200303251630/include -I/opt/source/php4-STABLE-200303251630/main -I/opt/source/php4-STABLE-200303251630 -I/opt/source/php4-STABLE-200303251630/Zend -I/opt/openssl/include -I/usr/include/freetype2 -I/opt/source/imap-2002b/c-client -I/opt/openldap-client/include -I/opt/mcryptlib/include -I/opt/pdflib/include -I/opt/pgsqllib/include -I/opt/source/php4-STABLE-200303251630/ext/xml/expat -I/opt/source/php4-STABLE-200303251630/TSRM -g -O2 -prefer-pic -c /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c -o ext/mcrypt/mcrypt.lo /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:229: warning: `MCRYPT_FAILED' redefined /opt/mcryptlib/include/mcrypt.h:31: warning: this is the location of the previous definition /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c: In function `zm_startup_mcrypt': /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:279: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:280: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:281: `MCRYPT_BLOWFISH_128' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:281: (Each undeclared identifier is reported only once /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:281: for each function it appears in.) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:282: `MCRYPT_BLOWFISH_192' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:283: `MCRYPT_BLOWFISH_256' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:284: `MCRYPT_BLOWFISH_448' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:285: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:286: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:287: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:288: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:289: `MCRYPT_IDEA' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:290: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:291: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:292: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:293: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:294: `MCRYPT_RC2_128' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:295: `MCRYPT_RC2_256' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:296: `MCRYPT_RC2_1024' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:297: `MCRYPT_RC4' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:298: `MCRYPT_RC6_128' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:299: `MCRYPT_RC6_192' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:300: `MCRYPT_RC6_256' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:301: `MCRYPT_SAFER_64' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:302: `MCRYPT_SAFER_128' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:303: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:304: `MCRYPT_SERPENT_128' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:305: `MCRYPT_SERPENT_192' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:306: `MCRYPT_SERPENT_256' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:307: `MCRYPT_TWOFISH_128' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:308: `MCRYPT_TWOFISH_192' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:309: `MCRYPT_TWOFISH_256' undeclared (first use in this function) /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:310: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c: In function `zif_mcrypt_get_cipher_name': /opt/source/php4-STABLE-200303251630/ext/mcrypt/mcrypt.c:1503: warning: assignment makes pointer from integer without a cast make: *** [ext/mcrypt/mcrypt.lo] Error 1 I am using the following configure command: ./configure --prefix=/opt/php --with-apxs=/opt/apache/bin/apxs --with-pgsql=/opt/pgsqllib --with-mysql --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-pdflib=/opt/pdflib --with-zlib --with-openssl=/opt/openssl --with-gettext --with-mcrypt=/opt/mcryptlib --with-xml --with-ldap=/opt/openldap-client --with-imap=/opt/source/imap-2002b --with-imap-ssl=/opt/source/imap-2002b The version of the mcrypt library is the latest: 2.5.7 and the OS is Debian GNU/Linux (woody) 3.0r1 running the 2.4.18 kernel. Please let me know if you need more informations. Does anyone have an idea what the problem now could be ? Many thanks for your help Previous Comments: ------------------------------------------------------------------------ [2003-02-06 04:46:13] [EMAIL PROTECTED] PHP's configure still relied that libmcrypt used libltdl always, which is no longer the case as of libmcrypt 2.5.6. ------------------------------------------------------------------------ [2003-02-05 20:53:46] jc at mega-bucks dot co dot jp Any idea what the bug was? If it's too much trouble to track down the source of the bug don't wory about it but if someone knows please do tell :) ------------------------------------------------------------------------ [2003-02-05 20:43:38] [EMAIL PROTECTED] User reports the bug is gone in CVS => Closed. ------------------------------------------------------------------------ [2003-02-05 20:38:39] jc at mega-bucks dot co dot jp Bug disapears with newest CVS snapshot. Thank you. Just curious but what was the bug? ------------------------------------------------------------------------ [2003-02-05 11:48:24] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Very likely to be fixed in CVS. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22073 -- Edit this bug report at http://bugs.php.net/?id=22073&edit=1