php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41900 unresolved external symbol
Submitted: 2007-07-05 10:43 UTC Modified: 2007-07-05 13:52 UTC
From: rok dot bermez at zavod-zviti dot si Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.3 OS: Windows
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: rok dot bermez at zavod-zviti dot si
New email:
PHP Version: OS:

 

 [2007-07-05 10:43 UTC] rok dot bermez at zavod-zviti dot si
Description:
------------
Using functions such as RETURN_STRING, RETURN_STRING causes

Error	1	error LNK2001: unresolved external symbol __imp___estrndup	php_hello.obj	

on VS2005


Reproduce code:
---------------
"Extension Writing Part I: Introduction to PHP and Zend" demo code from http://devzone.zend.com/node/view/id/1021 .

I added to the php_hello.c file for windows compatibility
#define ZEND_WIN32 
#define PHP_WIN32 
#define ZEND_DEBUG 0
#define COMPILE_DL_PASS 1
#define ZTS 1




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-05 13:52 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 22 05:00:03 2025 UTC