Professional Web Applications Themes

[PHP-DEV] Patch for Zend engine linker error - PHP Development

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: [url]http://www.php.net/unsub.php[/url]...

  1. #1

    Default [PHP-DEV] Patch for Zend engine linker error

    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: [url]http://www.php.net/unsub.php[/url]

    Vesselin Atanasov Guest

  2. #2

    Default Re: [PHP-DEV] Patch for Zend engine linker error


    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;
    >

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

    Jani Taskinen Guest

  3. #3

    Default Re: [PHP-DEV] Patch for Zend engine linker error

    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: [url]http://www.php.net/unsub.php[/url]

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

    Zeev Suraski Guest

Similar Threads

  1. [PHP-DEV] [Zend Engine 2] [PHP-DEV] [patch]__string()method
    By Moriyoshi Koizumi in forum PHP Development
    Replies: 0
    Last Post: September 4th, 06:13 PM
  2. Replies: 0
    Last Post: September 4th, 12:56 PM
  3. [PHP-DEV] [Zend Engine 2] [PHP-DEV] [patch] __string() method
    By Moriyoshi Koizumi in forum PHP Development
    Replies: 0
    Last Post: September 4th, 05:45 AM
  4. [PHP-DEV] [Zend Engine 2] [PHP-DEV] [patch] __string() method
    By Moriyoshi Koizumi in forum PHP Development
    Replies: 0
    Last Post: September 3rd, 05:02 PM
  5. [PHP-DEV] [ZEND-ENGINE-CVS] cvs: ZendEngine2 /
    By Andi Gutmans in forum PHP Development
    Replies: 0
    Last Post: July 15th, 04:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139