From:             max at hightech dot lv
Operating system: WinXP SP2
PHP version:      5.0.4
PHP Bug Type:     Zend Engine 2 problem
Bug description:  linker not see _compiler_globals_id

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 bug report at http://bugs.php.net/?id=33077&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33077&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33077&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33077&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33077&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33077&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33077&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33077&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33077&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33077&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33077&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33077&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33077&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33077&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33077&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33077&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33077&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33077&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33077&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33077&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33077&r=mysqlcfg

Reply via email to