#33077 [Opn->Bgs]: linker not see _compiler_globals_id

From: Date: Fri, 20 May 2005 10:23:45 +0000
Subject: #33077 [Opn->Bgs]: linker not see _compiler_globals_id
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79249@lists.php.net to get a copy of this message
ID: 33077 Updated by: sniper@php.net Reported By: max at hightech dot lv -Status: Open +Status: Bogus Bug Type: Zend Engine 2 problem Operating System: WinXP SP2 PHP Version: 5.0.4 New Comment: This is not a support forum for your own extension development. (you're just missing something in your sources..) Previous Comments: ------------------------------------------------------------------------ [2005-05-20 11:55:33] max at hightech dot lv Description: ------------ I try compile own extension under windows by Microsoft compiler. When I start use "call_user_function_ex", linker start output error message: "error LNK2019: unresolved external symbol _compiler_globals_id". Looks like it not see this symbol in "php5ts.lib"... ZTS=1 Reproduce code: --------------- zval function_name; zval *retval; ZVAL_STRING(&function_name, "test", 0); if( call_user_function_ex(CG(function_table), NULL, &function_name, &retval, 0, NULL, 0, NULL TSRMLS_CC) == SUCCESS ) { } Expected result: ---------------- compile in dll-file and run the function "test" Actual result: -------------- linker not see "_compiler_globals_id"... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33077&edit=1

« previous php.bugs (#79249) next »