php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33320 unresolved external symbol _compiler_globals_id
Submitted: 2005-06-13 00:30 UTC Modified: 2005-06-13 09:06 UTC
From: sailormax at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.0b1 OS: WinXP
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: sailormax at gmail dot com
New email:
PHP Version: OS:

 

 [2005-06-13 00:30 UTC] sailormax at gmail dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-13 09:06 UTC] derick@php.net
Bugs in your own extension have no place in this bug system, please contact pecl-dev@lists.php.net for help.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 10 04:01:34 2025 UTC