Date: 09/21/00
- Next message: johanp <email protected>: "[PHP-DEV] PHP 4.0 Bug #6844: Automtic salt for crypt() does not seem to work"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6524 Updated: Extra library argument stops make"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: polone <email protected>
Operating system: RH6.2
PHP version: 4.0.2
PHP Bug Type: Compile Failure
Bug description: mcrypt 2.4.4 compilation fails
Compilation of PHP 4.0.2 with mcrypt support fails:
The error results from $SRCDIR/ext/mcrypt.c.
The lines:
mcrypt.c: In function `php_minit_mcrypt':
mcrypt.c:260: `MCRYPT_BLOWFISH_448' undeclared (first use in this function)
mcrypt.c:260: (Each undeclared identifier is reported only once
mcrypt.c:260: for each function it appears in.)
mcrypt.c:261: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:262: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:263: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:264: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:265: `MCRYPT_SAFER_64' undeclared (first use in this function)
mcrypt.c:266: `MCRYPT_SAFER_128' undeclared (first use in this function)
mcrypt.c:267: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:268: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:269: `MCRYPT_RC2_1024' undeclared (first use in this function)
mcrypt.c:270: `MCRYPT_TWOFISH_128' undeclared (first use in this function)
mcrypt.c:271: `MCRYPT_TWOFISH_192' undeclared (first use in this function)
mcrypt.c:272: `MCRYPT_TWOFISH_256' undeclared (first use in this function)
mcrypt.c:273: `MCRYPT_BLOWFISH_128' undeclared (first use in this function)
mcrypt.c:274: `MCRYPT_BLOWFISH_192' undeclared (first use in this function)
mcrypt.c:275: `MCRYPT_BLOWFISH_256' undeclared (first use in this function)
mcrypt.c:276: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:277: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:278: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
mcrypt.c:279: `MCRYPT_SERPENT_128' undeclared (first use in this function)
mcrypt.c:280: `MCRYPT_SERPENT_192' undeclared (first use in this function)
mcrypt.c:281: `MCRYPT_SERPENT_256' undeclared (first use in this function)
mcrypt.c:282: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast
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: `MCRYPT_RC2_256' undeclared (first use in this function)
mcrypt.c:286: `MCRYPT_RC2_128' undeclared (first use in this function)
mcrypt.c:287: `MCRYPT_RC6_256' undeclared (first use in this function)
mcrypt.c:288: `MCRYPT_IDEA' undeclared (first use in this function)
mcrypt.c:289: `MCRYPT_RC6_128' undeclared (first use in this function)
mcrypt.c:290: `MCRYPT_RC6_192' undeclared (first use in this function)
mcrypt.c:291: `MCRYPT_RC4' undeclared (first use in this function)
The command issued:
LDFLAGS="-s" CFLAGS="-O2" ./configure --with-mysql --with-apxs \
--with-pcre --with-dom --with-mcrypt=/usr/local/lib \
--disable-debug --with-imap \
--with-xml
I compiled libmcrypt-2.4.4 with --disable-posix-threads. To correct the issue, I commented out the entire #if ... #endif pair. However, when trying to start Apache, module libmcrypt.so.4 could not be loaded. I check the /etc/ld.so.conf file and added the path for /usr/local/lib. I then issued ldconfig -v. The module was found but contained an error to an undefined reference: lt_dlerror and would not run. Any ideas?
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: johanp <email protected>: "[PHP-DEV] PHP 4.0 Bug #6844: Automtic salt for crypt() does not seem to work"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6524 Updated: Extra library argument stops make"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

