|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-13 09:51 UTC] sniper@php.net
[2005-05-16 07:51 UTC] shantalabhat at hotmail dot com
[2005-05-16 09:10 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 06:00:02 2025 UTC |
Description: ------------ I am compiling the PHP-4.3.11 on Tru64 . So I exclueded the php-4.3.11/win32 directory. When I try to build the source I get the error saying php4/main/php_ini.c, line 34: Cannot find file "win32/php_registry.h" specified in #include directive. (noinclfilef) #include "win32/php_registry.h" -^ When I looked into php4/main/php_ini.c file I noticed that none of the functions mentioned in "win32/php_registry.h" are utilised in this file. So when I take out this include directory The compilation goes out smooth. Reproduce code: --------------- 21 /* Check CWD for php.ini */ 22 #define INI_CHECK_CWD 23 24 #include "php.h" 25 #include "ext/standard/info.h" 26 #include "zend_ini.h" 27 #include "php_ini.h" 28 #include "ext/standard/dl.h" 29 #include "zend_extensions.h" 30 #include "zend_highlight.h" 31 #include "SAPI.h" 32 #include "php_main.h" 33 #include "php_scandir.h" 34 #include "win32/php_registry.h" 35 36 #if HAVE_SCANDIR && HAVE_ALPHASORT && HAVE_DIRENT_H Expected result: ---------------- The compilation should go smooth if win32 directory is excluded Actual result: -------------- Getting Compilation error