Bug #14470 Updated: mcrypt.c: In function `php_mcrypt_module_dtor': Syntax Error
| From: | cedric at neopeak dot com | Date: | Thu, 13 Dec 2001 05:31:31 +0000 |
| Subject: | Bug #14470 Updated: mcrypt.c: In function `php_mcrypt_module_dtor': Syntax Error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73456@lists.php.net to get a copy of this message | ||
ID: 14470
User updated by: cedric@neopeak.com
Reported By: cedric@neopeak.com
Old Status: Feedback
Status: Open
Bug Type: mcrypt related
Operating System: FreeBSD 4.3-RELEASE
PHP Version: 4.1.0
New Comment:
I am using mcrypt-2.2.6 and libmcrypt-2.4.15
main/php_config.h:
--------------------
/* */
/* #undef HAVE_LIBMCRYPT24 */
/* */
#define HAVE_LIBMCRYPT22 1
/* */
#define HAVE_LIBMCRYPT 1
/* Whether to build mcrypt as dynamic module */
/* #undef COMPILE_DL_MCRYPT */
/* */
#define HAVE_LIBMHASH 1
/* Whether to build mhash as dynamic module */
/* #undef COMPILE_DL_MHASH */
Previous Comments:
------------------------------------------------------------------------
[2001-12-12 16:15:39] derick@php.net
I could compile it just fine, with libmcrypt 2.4.17 and FBSD 4.4-Release.
Can you paste the part of php_config.h that mentions HAVE_LIBMCRYPT ?
Derick
------------------------------------------------------------------------
[2001-12-12 16:11:43] cedric@neopeak.com
Configure line:
--enable-discard-path --with-mysql=/usr/local --with-gd=/usr/local --with-ttf=/usr/local
--enable-safe-mode --enable-trans-sid --with-imap --with-mcrypt=/usr/local --with-mhash=/usr/local
--with-jpeg-dir=/usr/local --enable-force-cgi-redirect
This configuration line worked fine with 4.0.6 and none of the libraries where changed (mysql, gd,
ttf, imap, mcrypt, mhash, jpeg).
----------------------
Making all in mcrypt
gcc -I. -I/usr/local/src/php-4.1.0/ext/mcrypt -I/usr/local/src/php-4.1.0/main
-I/usr/local/src/php-4.1.0 -I/usr/local/src/php-4.1.0/Zend -I/include -I/usr/local/include
-I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/local/src/php-4.1.0/ext/xml/expat
-I/usr/local/src/php-4.1.0/TSRM -g -O2 -c mcrypt.c && touch mcrypt.lo
mcrypt.c: In function `php_mcrypt_module_dtor':
mcrypt.c:253: syntax error before `td'
mcrypt.c:254: `td' undeclared (first use in this function)
mcrypt.c:254: (Each undeclared identifier is reported only once
mcrypt.c:254: for each function it appears in.)
*** Error code 1
Stop in /usr/local/src/php-4.1.0/ext/mcrypt.
*** Error code 1
Stop in /usr/local/src/php-4.1.0/ext/mcrypt.
*** Error code 1
Stop in /usr/local/src/php-4.1.0/ext.
*** Error code 1
Stop in /usr/local/src/php-4.1.0.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14470&edit=1