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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC