php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1877 Compilation fails in datetime.c
Submitted: 1999-07-26 10:06 UTC Modified: 2000-01-12 13:12 UTC
From: P dot Gillingwater at iaea dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.11 OS: IBM AIX 4.3.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: P dot Gillingwater at iaea dot org
New email:
PHP Version: OS:

 

 [1999-07-26 10:06 UTC] P dot Gillingwater at iaea dot org
After running configure then make, I get:

        gcc -O2 -O2   -I. -I.                        -c functions/datetime.c -o functions/datetime.o
functions/datetime.c:69: conflicting types for `timezone'
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.1.0/2.8.1/include/time.h:168: previous declaration of `timezone'
make: The error code from the last command is 1.

Stop.

I have successfully compiled many other packages under this environment, including Perl, gd, MRTG, ssh, etc.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-26 10:09 UTC] P dot Gillingwater at iaea dot org
Here's the relevant portion from the configure run:

checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking for tm_gmtoff in struct tm... (cached) no

 [2000-01-12 13:12 UTC] sas at cvs dot php dot net
Fixed in 3.0.13. Thanks for your report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 29 08:00:02 2026 UTC