logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Compilation error while building Apache 2.4.10 on windows
Author
imdeepakg



Joined: 23 Sep 2014
Posts: 1
Location: Bangalore

PostPosted: Tue 23 Sep '14 19:19    Post subject: Compilation error while building Apache 2.4.10 on windows Reply with quote

I am getting following error while building Apache 2.4.10 on windows.



cd ..
nmake -nologo -f libhttpd.mak CFG="libhttpd - Win32 Release" RECURSE=0
if not exist ".\Release/" mkdir ".\Release"
tempfile.bat
tempfile.bat
cl.exe /nologo /MD /W3 /Zi /O2 /Oy- /I "./include" /I "./srclib/apr/include" /I "./srclib/ap
r-util/include" /I "./srclib/pcre" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "PCRE_STATIC" /D "AP_DECL
ARE_EXPORT" /Fo".\Release\\" /Fd".\Release\libhttpd_cl" /FD /c .\modules\http\byterange_filter.c
byterange_filter.c
modules\http\byterange_filter.c(512) : error C2065: 'ap_multipart_boundary' : undeclared identifier
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.

I check the http_core.c file in the same directory and it has this entry

AP_DECLARE_DATA const char *ap_multipart_boundary;

but http_core.h file in the include directory doesn't have this entry. There is no other error or warning is seen before this error.

I don't have much experience in C and new to Apache building. Can you please tell what I might be missing?

I am using Windows Server 2003 SP2 and "Microsoft Visual C++ 2003". The same environment I am able to build Apache 2.2.22 without any issue.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Wed 05 Nov '14 11:54    Post subject: Reply with quote

Which sources do you use to compile apache 2.4?
Back to top


Reply to topic   Topic: Compilation error while building Apache 2.4.10 on windows View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads