# imap on windows

- Thread: https://externals.io/message/28042
- Original archive: https://news-web.php.net/php.internals/28042
- Started by Stanislav Malyshev on 2007-02-15T20:19:01+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #28042 — Stanislav Malyshev — 2007-02-15T20:19:01+00:00

URL: https://externals.io/message/28042#28042

Hi!

Does anybody know how to build IMAP module successfully on WIndows? I 
try to build it and I get this:

cclient.lib(os_w2k.obj) : error LNK2005: _flock already defined in 
flock_compat.obj
cclient.lib(os_w2k.obj) : error LNK2005: _openlog already defined in 
wsyslog.obj
cclient.lib(os_w2k.obj) : error LNK2005: _syslog already defined in 
wsyslog.obj

So obviously we have symbol clash between cclient library and PHP. Does 
anybody know the good way to fix it?
-- 
Stanislav Malyshev, Zend Products Engineer
stas@zend.com  http://www.zend.com/

---

## #28045 — Hannes Magnusson — 2007-02-15T21:16:19+00:00

URL: https://externals.io/message/28042#28045 · In reply to: #28042

Hi Stanislav


> Hi!
>
> Does anybody know how to build IMAP module successfully on WIndows? I

Not that I have any idea, but check out ext/imap/IMAP_Win32_HOWTO.txt

-Hannes

> try to build it and I get this:
>
> cclient.lib(os_w2k.obj) : error LNK2005: _flock already defined in
> flock_compat.obj
> cclient.lib(os_w2k.obj) : error LNK2005: _openlog already defined in
> wsyslog.obj
> cclient.lib(os_w2k.obj) : error LNK2005: _syslog already defined in
> wsyslog.obj
>
> So obviously we have symbol clash between cclient library and PHP. Does
> anybody know the good way to fix it?
> --
> Stanislav Malyshev, Zend Products Engineer
> stas@zend.com  http://www.zend.com/
