php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10716 ext/iconv doesn't find php.h
Submitted: 2001-05-07 15:13 UTC Modified: 2001-06-01 16:19 UTC
From: cynic@php.net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Latest CVS (2001-05-07) OS: NT5 SP1
Private report: No CVE-ID: None
 [2001-05-07 15:13 UTC] 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:\compile\php\php4-200105070945\ext\iconv\iconv.c(58) : error C2065: 'php_minit_iconv' : undeclared identifier
D:\compile\php\php4-200105070945\ext\iconv\iconv.c(58) : error C2099: initializer is not a constant
D:\compile\php\php4-200105070945\ext\iconv\iconv.c(59) : error C2065: 'php_mshutdown_iconv' : undeclared identifier
D:\compile\php\php4-200105070945\ext\iconv\iconv.c(59) : error C2099: initializer is not a constant
D:\compile\php\php4-200105070945\ext\iconv\iconv.c(62) : error C2065: 'php_info_iconv' : undeclared identifier
D:\compile\php\php4-200105070945\ext\iconv\iconv.c(62) : error C2099: initializer is not a constant
D:\compile\php\php4-200105070945\ext\iconv\iconv.c(63) : warning C4047: 'initializing' : 'int ' differs in levels of indirection from 'void *'
D:\compile\php\php4-200105070945\ext\iconv\iconv.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)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-22 23:56 UTC] sniper@php.net
Does this still bother you? 

 [2001-06-01 16:19 UTC] sniper@php.net
This is fixed in CVS now.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 22:01:27 2024 UTC