Re: Build failure
| From: | Richard Quadling | Date: | Thu, 05 Apr 2007 10:47:20 +0000 |
| Subject: | Re: Build failure | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28682@lists.php.net to get a copy of this message | ||
http://rquadling.php1h.com/main.c.diff.txt for HEAD. I don't know how
to patch a specific version.
On 05/04/07, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
Matt Wilmas wrote: Hi, Maybe just a Windows problem if it wasn't noticed yet, but I was compiling the latest 5.2 snapshot and got: main.obj : error LNK2019: unresolved external symbol _php_flock referenced in function _php_log_err Release_TS\php5ts.dll : fatal error LNK1120: 1 unresolved externals Caused by this recent commit, http://news.php.net/php.cvs/43683, and I commented the php_flock line as a workaround. The Windows 5.2 snapshots haven't been updated because of this either, of course. I see no reason for that lock at all as I commented when this was committed, but Ilia never replied. This is a single write operation now since those fprintf's are now one, so that part of the fix is good, but the lock call is not needed since single writes in append mode are atomic, even on Windows. So, your work around is fine and should actually be committed. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php-- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"