php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33077 linker not see _compiler_globals_id
Submitted: 2005-05-20 11:55 UTC Modified: 2005-05-20 12:23 UTC
From: max at hightech dot lv Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.0.4 OS: WinXP SP2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: max at hightech dot lv
New email:
PHP Version: OS:

 

 [2005-05-20 11:55 UTC] 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"...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-20 12:23 UTC] sniper@php.net
This is not a support forum for your own extension development. (you're just missing something in your sources..)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 15:01:33 2025 UTC