Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3743 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79330 invoked from network); 5 Aug 2003 23:43:34 -0000 Received: from unknown (HELO bgbest.net) (212.91.188.18) by pb1.pair.com with SMTP; 5 Aug 2003 23:43:34 -0000 Received: (qmail 10723 invoked from network); 5 Aug 2003 23:43:30 -0000 Received: from unknown (HELO damagegqsaogpp) (212.91.188.186) by dns.bgbest.net with SMTP; 5 Aug 2003 23:43:30 -0000 To: "PHP-DEV" Date: Wed, 6 Aug 2003 02:43:16 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Patch for Zend engine linker error From: vma1@abv.bg ("Vesselin Atanasov") Hello. The lastest CVS fails to compile under Linux. An error occurs because the linker cannot find the "empty_fcall_info_cache" symbol. diff -ruN php5-200308051930.orig/Zend/zend_execute_API.c php5-200308051930/Zend/zend_execute_API.c --- php5-200308051930.orig/Zend/zend_execute_API.c 2003-08-05 11:07:15.000000000 +0000 +++ php5-200308051930/Zend/zend_execute_API.c 2003-08-06 01:59:20.000000000 +0000 @@ -37,11 +37,11 @@ ZEND_API void (*zend_execute)(zend_op_array *op_array TSRMLS_DC); ZEND_API void (*zend_execute_internal)(zend_execute_data *execute_data_ptr, int return_value_used TSRMLS_DC); +ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { NULL, NULL, NULL, 0 }; + #ifdef ZEND_WIN32 #include /* true global */ -ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { NULL, NULL, NULL, 0 }; - static WNDCLASS wc; static HWND timeout_window; static HANDLE timeout_thread_event;