# win32 build fails on VC6

- Thread: https://externals.io/message/7293
- Original archive: https://news-web.php.net/php.internals/7293
- Started by Ard Biesheuvel on 2004-01-23T12:35:46+00:00
- Messages: 1
- 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

---

## #7293 — Ard Biesheuvel — 2004-01-23T12:35:46+00:00

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

Hi guys,

When building HEAD on VC6 with the new build system, the linker fails 
because the symbols _pctype and ___mb_cur_max are not defined. These are 
defined in libcmt, which is excluded explicitly from the link stage.

If I remove the /nodefaultlib:libcmt directive, the build succeeds with 
a warning, but the resulting php5ts_debug.dll works like a charm. Has 
anyone else experienced this problem?

Another question: are we going to ditch the old build system right away?
The new build system works a lot better for the interbase extension, 
because the different flavours of interbase/firebird use different 
combinations of client libraries with different names.

-- 
Ard
