Fw: [PHP4BETA] win 32 compilation
| From: | administrateur | Date: | Thu, 30 Sep 1999 12:38:17 +0000 |
| Subject: | Fw: [PHP4BETA] win 32 compilation | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5026@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "administrateur" <nestor@micro-assist.fr>
To: <php4beta@lists.php.net>
Sent: Thursday, September 30, 1999 9:32 AM
Subject: [PHP4BETA] win 32 compilation
> 1)
> error in mssql.c
> replace
> #if PHP_31
> #include "ext/standard/php3_string.h"
> #else
> #include "functions/php3_string.h"
> #endif
> by
> #include "ext/standard/php3_string.h"
> after
> --------------------Configuration: mssql - Win32 Debug--------------------
> Compiling...
> mssql.c
> C:\projects\PHP4\DL\MSSQL\mssql.c(77) : warning C4028: formal parameter 1
> different from declaration
> C:\projects\PHP4\DL\MSSQL\mssql.c(156) : warning C4013:
> 'php3tls_pval_destructor' undefined; assuming extern returning int
> C:\projects\PHP4\DL\MSSQL\mssql.c(552) : warning C4047: 'function' : 'int
'
> differs in levels of indirection from 'struct hashtable *'
> C:\projects\PHP4\DL\MSSQL\mssql.c(552) : warning C4024:
> 'php3_mssql_do_connect' : different types for formal and actual parameter
1
> C:\projects\PHP4\DL\MSSQL\mssql.c(552) : error C2198:
> 'php3_mssql_do_connect' : too few actual parameters
> C:\projects\PHP4\DL\MSSQL\mssql.c(1460) : warning C4027: function declared
> without formal parameter list
> Error executing cl.exe.
> php_mssql.dll - 1 error(s), 5 warning(s)
>
>
> 2)
> winsnmp.c
> C:\projects\Php4\dl\snmp\winsnmp.c(8) : fatal error C1083: Cannot open
> include file: 'functions/dl.h': No such file or directory
> need to be replaced by 'ext/standard/dl.h'
>
> Someone could make this change on cvs.
>
>
>
>
> error with compil_dl (win32)
> C:\projects\Php4\ext\standard\syslog.c(274) : error C2054: expected '(' to
> follow 'DLEXPORT'
> C:\projects\Php4\ext\standard\syslog.c(274) : error C2085: 'get_module' :
> not in formal parameter list
> C:\projects\Php4\ext\standard\syslog.c(274) : error C2143: syntax error :
> missing ';' before '{'
>
> add... ? (not sure)
> #if WIN32|WINNT
> #include <windows.h>
> #define DLEXPORT __declspec(dllexport)
> #endif
>
>
>
>
> --
> PHP 4 Beta
>
>