<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);
 
-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to