#30738 [NEW]: mcrypt extension does not compile

From: Date: Tue, 09 Nov 2004 20:56:29 +0000
Subject: #30738 [NEW]: mcrypt extension does not compile
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-68863@lists.php.net to get a copy of this message
From: pauls at amersel dot com Operating system: FreeBSD 4.10-STABLE PHP version: 4.3.9 PHP Bug Type: Compile Failure Bug description: mcrypt extension does not compile Description: ------------ make fails when trying to build php with mcrypt support. (configure runs just fine, no complaints or warnings) Configure line used: -- ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local --with-mm=../mm-1.3.1 --with-xml --with-openssl=/usr/local/ssl --enable-ftp --with-sockets --with-mcrypt --with-zip --with-pdf --with-expat -- Tail end of make outpout starting from compile line which generates the failure: -- /bin/sh /usr/build/php-4.3.9/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/mcrypt/ -I/usr/build/php-4. 3.9/ext/mcrypt/ -DPHP_ATOM_INC -I/usr/build/php-4.3.9/include -I/usr/build/php-4.3.9/main -I/usr/build/php-4.3.9 -I/usr /build/php-4.3.9/Zend -I/usr/local/ssl/include -I/usr/local/include -I/usr/local/include/mysql -I/usr/build/php-4.3.9/e xt/xml/expat -I/usr/build/php-4.3.9/TSRM -g -O2 -prefer-pic -c /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c -o ext/mcryp t/mcrypt.lo /usr/build/php-4.3.9/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/build/php-4.3.9/ext/mcrypt/mcrypt.c: In function `zm_startup_mcrypt': /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:280: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:281: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:282: `MCRYPT_BLOWFISH_128' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:282: (Each undeclared identifier is reported only once /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:282: for each function it appears in.) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:283: `MCRYPT_BLOWFISH_192' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:284: `MCRYPT_BLOWFISH_256' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:285: `MCRYPT_BLOWFISH_448' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:286: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:287: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:288: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:289: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:290: `MCRYPT_IDEA' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:291: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:292: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:293: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:294: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:295: `MCRYPT_RC2_128' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:296: `MCRYPT_RC2_256' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:297: `MCRYPT_RC2_1024' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:298: `MCRYPT_RC4' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:299: `MCRYPT_RC6_128' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:300: `MCRYPT_RC6_192' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:301: `MCRYPT_RC6_256' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:302: `MCRYPT_SAFER_64' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:303: `MCRYPT_SAFER_128' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:304: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:305: `MCRYPT_SERPENT_128' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:306: `MCRYPT_SERPENT_192' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:307: `MCRYPT_SERPENT_256' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:308: `MCRYPT_TWOFISH_128' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:309: `MCRYPT_TWOFISH_192' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:310: `MCRYPT_TWOFISH_256' undeclared (first use in this function) /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:311: warning: passing arg 3 of `zend_register_long_constant' makes integer fro m pointer without a cast /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c: In function `zif_mcrypt_get_cipher_name': /usr/build/php-4.3.9/ext/mcrypt/mcrypt.c:1505: warning: assignment makes pointer from integer without a cast *** Error code 1 Stop in /usr/build/php-4.3.9. -- I've also tried both with just the --with-mcrypt as well as --with-mcrypt=/usr/local, specifying the path that mcrypt lib resides in. And, yes, I am compiled mcrypt with --disable-posix-threads Any ideas? -- Edit bug report at http://bugs.php.net/?id=30738&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30738&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30738&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30738&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30738&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30738&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30738&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30738&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30738&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30738&r=support Expected behavior: http://bugs.php.net/fix.php?id=30738&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30738&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30738&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30738&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30738&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30738&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30738&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30738&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30738&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30738&r=mysqlcfg

« previous php.bugs (#68863) next »