#19198 [NEW]: can't compile with mcrypt

From: Date: Fri, 30 Aug 2002 15:04:08 +0000
Subject: #19198 [NEW]: can't compile with mcrypt
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18257@lists.php.net to get a copy of this message
From: iuri.f@terra.com.br Operating system: Linux Mandrake 8.2 PHP version: 4.2.2 PHP Bug Type: Compile Failure Bug description: can't compile with mcrypt 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 bug report at http://bugs.php.net/?id=19198&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19198&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19198&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19198&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19198&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19198&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19198&r=support Expected behavior: http://bugs.php.net/fix.php?id=19198&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19198&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19198&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19198&r=globals

« previous php.bugs (#18257) next »