Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:151 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26649 invoked from network); 22 Mar 2003 23:13:32 -0000 Received: from unknown (HELO priv-edtnes61.telusplanet.net) (199.185.220.220) by pb1.pair.com with SMTP; 22 Mar 2003 23:13:32 -0000 Received: from caraveo.com ([216.232.165.106]) by priv-edtnes61.telusplanet.net (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030322231331.GBVM7246.priv-edtnes61.telusplanet.net@caraveo.com>; Sat, 22 Mar 2003 16:13:31 -0700 Message-ID: <3E7CEE46.4060302@caraveo.com> Date: Sat, 22 Mar 2003 15:14:14 -0800 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Moriyoshi Koizumi CC: internals@lists.php.net References: <20030323080847HlSziS@at.wakwak.com> In-Reply-To: <20030323080847HlSziS@at.wakwak.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] win32 dev build broken From: shane@caraveo.com (Shane Caraveo) I've been compiling all day with no problem. I'll do a clean build and make sure about that. Shane Moriyoshi Koizumi wrote: > > 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. > > > 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); > >