#41900 [Opn->Bgs]: unresolved external symbol
| From: | tony2001@php.net | Date: | Thu, 05 Jul 2007 13:52:38 +0000 |
| Subject: | #41900 [Opn->Bgs]: unresolved external symbol | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114669@lists.php.net to get a copy of this message | ||
ID: 41900
Updated by: tony2001@php.net
Reported By: rok dot bermez at zavod-zviti dot si
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Windows
PHP Version: 5.2.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2007-07-05 10:43:33] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41900&edit=1