Building on Windows
| From: | Phil Driscoll | Date: | Sun, 03 Dec 2000 20:13:17 +0000 |
| Subject: | Building on Windows | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-1706@lists.php.net to get a copy of this message | ||
I'm trying to build the new RC on Windows NT using VC++6. I suspect I have
failed to do something important since others have built it successfully.
I get several compile errors, but they are all related to time functions -
in particular, struct tm doesn't seem to have been defined.
Here's a few examples:
F:\php\Source\php-4.0.4RC3\main\main.c(280) : error C2079: 'tmbuf' uses
undefined struct 'tm'
F:\php\Source\php-4.0.4RC3\main\main.c(575) : error C2079: 'tmbuf' uses
undefined struct 'tm'
F:\php\Source\php-4.0.4RC3\main\reentrancy.c(152) : error C2027: use of
undefined type 'tm'
F:\php\Source\php-4.0.4RC3\ext\standard\datetime.c(113) : error C2037: left
of 'tm_isdst' specifies undefined struct/union 'tm'
Does anyone know the quick fix?
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org