#33320 [NEW]: unresolved external symbol _compiler_globals_id
| From: | sailormax at gmail dot com | Date: | Sun, 12 Jun 2005 22:30:25 +0000 |
| Subject: | #33320 [NEW]: unresolved external symbol _compiler_globals_id | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-80203@lists.php.net to get a copy of this message | ||
From: sailormax at gmail dot com
Operating system: WinXP
PHP version: 5.1.0b1
PHP Bug Type: Compile Failure
Bug description: unresolved external symbol _compiler_globals_id
Description:
------------
if try use function "call_user_function_ex" in own extension, linker out
error. (use Visual C++ 2005 Express and default skeleton for extensions)
may be I just missing something, but where I can found some materials
about it? On some forums was people with same problem... They sad: under
Linux all work fine!
Reproduce code:
---------------
zval function_name
zval *retval;
ZVAL_STRING(&function_name, "GetPageFromURL", 0);
if( call_user_function_ex(CG(function_table), NULL, &function_name,
&retval, 0, NULL, 0, NULL TSRMLS_CC) == SUCCESS );
Expected result:
----------------
compiled source
Actual result:
--------------
error LNK2019: unresolved external symbol _compiler_globals_id referenced
in function foo
--
Edit bug report at http://bugs.php.net/?id=33320&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33320&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33320&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33320&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33320&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33320&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33320&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33320&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33320&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33320&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33320&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33320&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33320&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33320&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33320&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33320&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33320&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33320&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33320&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33320&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33320&r=mysqlcfg