Bug #14470 Updated: mcrypt.c: In function `php_mcrypt_module_dtor': Syntax Error
| From: | derick@php.net | Date: | Wed, 12 Dec 2001 21:15:40 +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-73403@lists.php.net to get a copy of this message | ||
ID: 14470
Updated by: derick
Reported By: cedric@neopeak.com
Old Status: Open
Status: Feedback
Bug Type: Compile Failure
Operating System: FreeBSD 4.3-RELEASE
PHP Version: 4.1.0
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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