php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13815 apache-module doesn't compile
Submitted: 2001-10-24 11:44 UTC Modified: 2001-11-19 10:23 UTC
From: sander@php.net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2001-10-24 OS: Windows 2000
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: sander@php.net
New email:
PHP Version: OS:

 

 [2001-10-24 11:44 UTC] sander@php.net
Compiling a CGI-binary works fine. During compilation of the apache-module, I got the following warnings & errors:

--------------------Configuration: php4apache - Win32 Release_TS--------------------
Compiling...
mod_php4.c
E:\APACHE_1.3.22\SRC\OS\WIN32\os.h(123) : warning C4142: benign redefinition of type
e:\apache_1.3.22\src\include\ap_config.h(1365) : warning C4005: 'XtOffsetOf' : macro redefinition
        ..\..\main\php.h(343) : see previous definition of 'XtOffsetOf'
..\..\ext/standard/file.h(51) : fatal error C1017: invalid integer constant expression
php_apache.c
E:\APACHE_1.3.22\SRC\OS\WIN32\os.h(123) : warning C4142: benign redefinition of type
e:\apache_1.3.22\src\include\ap_config.h(1365) : warning C4005: 'XtOffsetOf' : macro redefinition
        ..\..\main\php.h(343) : see previous definition of 'XtOffsetOf'
sapi_apache.c
E:\APACHE_1.3.22\SRC\OS\WIN32\os.h(123) : warning C4142: benign redefinition of type
e:\apache_1.3.22\src\include\ap_config.h(1365) : warning C4005: 'XtOffsetOf' : macro redefinition
        ..\..\main\php.h(343) : see previous definition of 'XtOffsetOf'
..\..\ext/standard/file.h(51) : fatal error C1017: invalid integer constant expression
Error executing cl.exe.

php4apache.dll - 2 error(s), 6 warning(s)

I also get these warnings when I compile 4.1.0RC1 or 4.0.7RC3, but the fatal errors only show up with the latest CVS.

I'm using Visual C++ on Windows 2000.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-19 10:23 UTC] sander@php.net
Everything seems to work fine with the latest CVS so I'm closing this one... :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Sep 23 16:01:28 2024 UTC