RE: [PHP4BETA] Win32 MySql Dll compile error
| From: | Brian Andrews | Date: | Thu, 01 Jul 1999 03:48:00 +0000 |
| Subject: | RE: [PHP4BETA] Win32 MySql Dll compile error | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1768@lists.php.net to get a copy of this message | ||
Commenting out the offending lines (291, 292, 293) fixes things:
//REGISTER_LONG_CONSTANT("MYSQL_ASSOC", MYSQL_ASSOC, CONST_CS |
CONST_PERSISTENT);
//REGISTER_LONG_CONSTANT("MYSQL_NUM", MYSQL_NUM, CONST_CS |
CONST_PERSISTENT);
//REGISTER_LONG_CONSTANT("MYSQL_BOTH", MYSQL_BOTH, CONST_CS |
CONST_PERSISTENT);
----
brian
> -----Original Message-----
> From: Brian Andrews [mailto:brian@informate.co.nz]
> Sent: Thursday, 1 July 1999 15:39
> To: php4beta@lists.php.net
> Subject: [PHP4BETA] Win32 MySql Dll compile error
>
>
> Hi
>
> I can't compile the mysql dll under Win32 anymore.
> Error displayed is:
>
> Compiling...
> mysql.c
> F:\php4-Source\php4\ext\mysql\mysql.c(291) : error C2065:
> 'executor_globals'
> : undeclared identifier
> F:\php4-Source\php4\ext\mysql\mysql.c(291) : warning C4047: 'function' :
> 'struct _zend_executor_globals *' differs in levels of
> indirection from 'int
> '
> F:\php4-Source\php4\ext\mysql\mysql.c(291) : warning C4024:
> 'zend_register_long_constant' : different types for formal and actual
> parameter 6
> F:\php4-Source\php4\ext\mysql\mysql.c(292) : warning C4047: 'function' :
> 'struct _zend_executor_globals *' differs in levels of
> indirection from 'int
> '
> F:\php4-Source\php4\ext\mysql\mysql.c(292) : warning C4024:
> 'zend_register_long_constant' : different types for formal and actual
> parameter 6
> F:\php4-Source\php4\ext\mysql\mysql.c(293) : warning C4047: 'function' :
> 'struct _zend_executor_globals *' differs in levels of
> indirection from 'int
> '
> F:\php4-Source\php4\ext\mysql\mysql.c(293) : warning C4024:
> 'zend_register_long_constant' : different types for formal and actual
> parameter 6
> Error executing cl.exe.
>
> php_mysql.dll - 1 error(s), 6 warning(s)
>
>
>
>
> cheers
>
>
> Brian
> brian@InforMate.co.nz
> http://www.InforMate.co.nz/
>
>
> --
> PHP 4 Beta
>