Bug #10716 Updated: ext/iconv doesn't find php.h
| From: | sniper@php.net | Date: | Tue, 22 May 2001 21:56:52 +0000 |
| Subject: | Bug #10716 Updated: ext/iconv doesn't find php.h | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56366@lists.php.net to get a copy of this message | ||
ID: 10716
Updated by: sniper
Reported By: cynic@php.net
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0 Latest CVS (2001-05-07)
Assigned To:
Comments:
Does this still bother you?
Previous Comments:
---------------------------------------------------------------------------
[2001-05-07 15:13:13] cynic@php.net
this is driving me mad:
the project file for ext/iconv properly adds "../../main" to /I, but #include
"php.h" (and #include "php_ini.h") in ext/iconv/iconv.c fail. When I add /I
"(abs-path-to-main/)" it works. What's up?
Nevertheless, attempts to build this extension fail no matter what:
Deleting intermediate files and output files for project 'iconv - Win32 Release_TS'.
--------------------Configuration: iconv - Win32 Release_TS--------------------
Compiling...
iconv.c
D:compilephpphp4-200105070945exticonviconv.c(58) : error C2065: 'php_minit_iconv' :
undeclared identifier
D:compilephpphp4-200105070945exticonviconv.c(58) : error C2099: initializer is not a constant
D:compilephpphp4-200105070945exticonviconv.c(59) : error C2065: 'php_mshutdown_iconv' :
undeclared identifier
D:compilephpphp4-200105070945exticonviconv.c(59) : error C2099: initializer is not a constant
D:compilephpphp4-200105070945exticonviconv.c(62) : error C2065: 'php_info_iconv' :
undeclared identifier
D:compilephpphp4-200105070945exticonviconv.c(62) : error C2099: initializer is not a constant
D:compilephpphp4-200105070945exticonviconv.c(63) : warning C4047: 'initializing' :
'int ' differs in levels of indirection from 'void *'
D:compilephpphp4-200105070945exticonviconv.c(63) : warning C4047: 'initializing' :
'void *' differs in levels of indirection from 'const int '
Error executing xicl6.exe.
php_iconv.dll - 6 error(s), 2 warning(s)
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10716&edit=2