ID: 19198 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Bogus Bug Type: Compile Failure Operating System: Linux Mandrake 8.2 PHP Version: 4.2.2 New Comment:
Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-08-30 11:11:45] [EMAIL PROTECTED] You have an old mcrypt.h header file on your system somewhere which conflicts. Please remove all libmcrypt installations/header files and reinstall libmcrypt 2.5.x Derick ------------------------------------------------------------------------ [2002-08-30 11:04:07] [EMAIL PROTECTED] I'm trying to compile PHP with mcrypt on Mandrake 8.2, but it's impossible. /bin/sh /home/programas/src/php-4.2.2/libtool --silent --mode=compile gcc -I. -I/home/programas/src/php-4.2.2/ext/mcrypt -I/home/programas/src/php-4.2.2/main -I/home/programas/src/php-4.2.2 -I/usr/include -I/usr/local/include -I/usr/include/apache -I/home/programas/src/php-4.2.2/Zend -I/usr/include/freetype2/freetype -I/usr/local/include -I/usr/include/mysql -I/home/programas/src/php-4.2.2/ext/xml/expat -DLINUX=22 -DDEV_RANDOM=/dev/random -DEAPI -DEAPI_MM -I/home/programas/src/php-4.2.2/TSRM -g -O2 -prefer-pic -c mcrypt.c mcrypt.c: In function `zm_startup_mcrypt': mcrypt.c:272: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:273: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:274: `MCRYPT_BLOWFISH_128' undeclared (first use in this function) mcrypt.c:274: (Each undeclared identifier is reported only once mcrypt.c:274: for each function it appears in.) mcrypt.c:275: `MCRYPT_BLOWFISH_192' undeclared (first use in this function) mcrypt.c:276: `MCRYPT_BLOWFISH_256' undeclared (first use in this function) mcrypt.c:277: `MCRYPT_BLOWFISH_448' undeclared (first use in this function) mcrypt.c:278: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:279: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:280: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:281: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:282: `MCRYPT_IDEA' undeclared (first use in this function) mcrypt.c:283: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:284: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:285: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:286: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:287: `MCRYPT_RC2_128' undeclared (first use in this function) mcrypt.c:288: `MCRYPT_RC2_256' undeclared (first use in this function) mcrypt.c:289: `MCRYPT_RC2_1024' undeclared (first use in this function) mcrypt.c:290: `MCRYPT_RC4' undeclared (first use in this function) mcrypt.c:291: `MCRYPT_RC6_128' undeclared (first use in this function) mcrypt.c:292: `MCRYPT_RC6_192' undeclared (first use in this function) mcrypt.c:293: `MCRYPT_RC6_256' undeclared (first use in this function) mcrypt.c:294: `MCRYPT_SAFER_64' undeclared (first use in this function) mcrypt.c:295: `MCRYPT_SAFER_128' undeclared (first use in this function) mcrypt.c:296: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c:297: `MCRYPT_SERPENT_128' undeclared (first use in this function) mcrypt.c:298: `MCRYPT_SERPENT_192' undeclared (first use in this function) mcrypt.c:299: `MCRYPT_SERPENT_256' undeclared (first use in this function) mcrypt.c:300: `MCRYPT_TWOFISH_128' undeclared (first use in this function) mcrypt.c:301: `MCRYPT_TWOFISH_192' undeclared (first use in this function) mcrypt.c:302: `MCRYPT_TWOFISH_256' undeclared (first use in this function) mcrypt.c:303: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast mcrypt.c: In function `zif_mcrypt_get_cipher_name': mcrypt.c:1497: warning: assignment makes pointer from integer without a cast make[3]: ** [mcrypt.lo] Erro 1 make[3]: Saindo do diret�rio `/home/programas/src/php-4.2.2/ext/mcrypt' make[2]: ** [all-recursive] Erro 1 make[2]: Saindo do diret�rio `/home/programas/src/php-4.2.2/ext/mcrypt' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diret�rio `/home/programas/src/php-4.2.2/ext' make: ** [all-recursive] Erro 1 Tried with libmcrupt2.4 from rpm and libmcrypt2.4 and 2.5 from source. The mcrypt.h dosen't contain those things php wants. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19198&edit=1
