Re: win32 dev build broken

From: Date: Sat, 22 Mar 2003 23:14:14 +0000
Subject: Re: win32 dev build broken
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-151@lists.php.net to get a copy of this message
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);


« previous php.internals (#151) next »