php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12728 PHP4DLL project fails to compile
Submitted: 2001-08-13 18:59 UTC Modified: 2001-10-10 08:39 UTC
From: jerry at swsl dot co dot uk Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0.6 OS: Win32
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jerry at swsl dot co dot uk
New email:
PHP Version: OS:

 

 [2001-08-13 18:59 UTC] jerry at swsl dot co dot uk
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-10 08:39 UTC] sander@php.net
It's unlikely that a stable version of PHP is not compiling on Windows. It's likely to your fault, and not a bug in PHP.

You should ask support on one of the mailinglists (http://www.php.net/support.php).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC