FAQ
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 <process.h>
/* 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;

Search Discussions

  • Jani Taskinen at Aug 5, 2003 at 11:55 pm
    Fixed, thanks for the patch.

    --Jani

    On Wed, 6 Aug 2003, Vesselin Atanasov wrote:

    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 <process.h>
    /* 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;
  • Zeev Suraski at Aug 6, 2003 at 7:35 am
    Thanks, it's fixed now...

    Zeev
    At 02:43 06/08/2003, Vesselin Atanasov wrote:
    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 <process.h>
    /* 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;


    --
    PHP Internals - PHP Runtime Development Mailing List
    To unsubscribe, visit: http://www.php.net/unsub.php

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedAug 5, '03 at 11:43p
activeAug 6, '03 at 7:35a
posts3
users3
websitephp.net

People

Translate

site design / logo © 2022 Grokbase