Bug #12728: PHP4DLL project fails to compile
| From: | jerry at swsl dot co dot uk | Date: | Mon, 13 Aug 2001 22:59:38 +0000 |
| Subject: | Bug #12728: PHP4DLL project fails to compile | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63119@lists.php.net to get a copy of this message | ||
From: jerry@swsl.co.uk
Operating system: Win32
PHP version: 4.0.6
PHP Bug Type: Compile Failure
Bug description: PHP4DLL project fails to compile
Using the project files directly from php-4.0.6.tar.gz
I get the following compilation errors:
Please note that this is true for both Win32 debug and Win32 release
builds
--------------------Configuration: php4dll - Win32
Release--------------------
Compiling...
cyr_convert.c
..\TSRM\tsrm_win32.h(48) : error C2054: expected '(' to follow 'TSRM_API'
..\TSRM\tsrm_win32.h(48) : error C2085: 'tsrm_win32_startup' : not in
formal parameter list
..\TSRM\tsrm_win32.h(49) : error C2061: syntax error : identifier
'TSRM_API'
..\TSRM\tsrm_win32.h(50) : error C2054: expected '(' to follow 'TSRM_API'
..\TSRM\tsrm_win32.h(50) : error C2085: 'popen' : not in formal parameter
list
..\TSRM\tsrm_win32.h(51) : error C2061: syntax error : identifier
'TSRM_API'
fopen_wrappers.c
..\TSRM\tsrm_win32.h(48) : error C2054: expected '(' to follow 'TSRM_API'
..\TSRM\tsrm_win32.h(48) : error C2085: 'tsrm_win32_startup' : not in
formal parameter list
..\TSRM\tsrm_win32.h(49) : error C2061: syntax error : identifier
'TSRM_API'
..\TSRM\tsrm_win32.h(50) : error C2054: expected '(' to follow 'TSRM_API'
..\TSRM\tsrm_win32.h(50) : error C2085: 'popen' : not in formal parameter
list
..\TSRM\tsrm_win32.h(51) : error C2061: syntax error : identifier
'TSRM_API'
D:\data\download\php\php-4.0.6.tar\php-4.0.6\main\php_network.h(28) : fatal
error C1083: Cannot open include file: 'arpa/inet.h': No such file or
directory
main.c
..\TSRM\tsrm_win32.h(48) : error C2054: expected '(' to follow 'TSRM_API'
..\TSRM\tsrm_win32.h(48) : error C2085: 'tsrm_win32_startup' : not in
formal parameter list
..\TSRM\tsrm_win32.h(49) : error C2061: syntax error : identifier
'TSRM_API'
..\TSRM\tsrm_win32.h(50) : error C2054: expected '(' to follow 'TSRM_API'
..\TSRM\tsrm_win32.h(50) : error C2085: 'popen' : not in formal parameter
list
..\TSRM\tsrm_win32.h(51) : error C2061: syntax error : identifier
'TSRM_API'
cl.exe terminated at user request.
Tool execution canceled by user.
--
Edit bug report at: http://bugs.php.net/?id=12728&edit=1