Bug 61611 - httpd-2.4.28 - Windows - mod_proxy_balancer.mak - Please add /I "../core" to CPP_PROJ
Summary: httpd-2.4.28 - Windows - mod_proxy_balancer.mak - Please add /I "../core" t...
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.27
Hardware: PC Windows NT
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-12 15:33 UTC by alena.tuzhilova
Modified: 2017-10-12 18:59 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alena.tuzhilova 2017-10-12 15:33:40 UTC
Hi,

httpd-2.4.28 build process failed with this error:

mod_proxy_balancer.c
mod_proxy_balancer.c(25) : fatal error C1083: Cannot open include file: 'mod_watchdog.h': 
No such file or directory
NMAKE : fatal error U1077: '"<C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe>"' : 
return code '0x2'
Stop.


To fix this issue, mod_proxy_balancer.mak was modified and required path was added:

CPP_PROJ=/nologo /MD /W3 /Zi /O2 /Oy- /I "../../include" /I "../../srclib/apr/include" /I "../../srclib/apr-util/include" /I "../core" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\mod_proxy_balancer_src" /FD /c 



Please change mod_proxy_balancer.mak  and add /I "../core" to it.
Thanks.
Comment 1 William A. Rowe Jr. 2017-10-12 18:59:10 UTC
Corrected in 2.4.x branch for 2.4.29 tag, by copying the file during the libhttpd build to the include/ dir (rather than adding modules/core to a number of makefiles.)