# win32 dev build broken

- Thread: https://externals.io/message/150
- Original archive: https://news-web.php.net/php.internals/150
- Started by Moriyoshi Koizumi on 2003-03-22T23:08:47+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

---

## #150 — Moriyoshi Koizumi — 2003-03-22T23:08:47+00:00

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

<snip>
Compiling resources...
Compiling...
php_cli.c
Linking...
php_cli.obj : error LNK2001: unresolved external symbol _zend_is_auto_global
..\Release_TS_inline\cli\php.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
</snip>

The attached patch is a trivial fix for the compile failure. Could anyone 
who has ZE2 karma apply this one?

Moriyoshi

---

## #151 — Shane Caraveo — 2003-03-22T23:14:14+00:00

URL: https://externals.io/message/150#151 · In reply to: #150

I've been compiling all day with no problem.  I'll do a clean build and 
make sure about that.
Shane

Moriyoshi Koizumi wrote:
> <snip>
> Compiling resources...
> Compiling...
> php_cli.c
> Linking...
> php_cli.obj : error LNK2001: unresolved external symbol _zend_is_auto_global
> ..\Release_TS_inline\cli\php.exe : fatal error LNK1120: 1 unresolved externals
> Error executing link.exe.
> </snip>
> 
> The attached patch is a trivial fix for the compile failure. Could anyone 
> who has ZE2 karma apply this one?
> 
> Moriyoshi
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: Zend/zend_compile.h
> ===================================================================
> RCS file: /repository/ZendEngine2/zend_compile.h,v
> retrieving revision 1.225
> diff -u -r1.225 zend_compile.h
> --- Zend/zend_compile.h	19 Mar 2003 21:17:47 -0000	1.225
> +++ Zend/zend_compile.h	22 Mar 2003 23:03:38 -0000
> @@ -477,8 +477,8 @@
>  } zend_auto_global;
>  
>  void zend_auto_global_dtor(zend_auto_global *auto_global);
> -int zend_register_auto_global(char *name, uint name_len, zend_auto_global_callback auto_global_callback TSRMLS_DC);
> -zend_bool zend_is_auto_global(char *name, uint name_len TSRMLS_DC);
> +ZEND_API int zend_register_auto_global(char *name, uint name_len, zend_auto_global_callback auto_global_callback TSRMLS_DC);
> +ZEND_API zend_bool zend_is_auto_global(char *name, uint name_len TSRMLS_DC);
>  
>  int zendlex(znode *zendlval TSRMLS_DC);
