[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-users
Subject: Re: [users@httpd] Building Apache 2.4.x on Windows 7 32bit with Visual Studio 2013
From: Sandeep Thakkar <sandeeptt () yahoo ! com ! INVALID>
Date: 2014-07-25 11:14:11
Message-ID: 1406286851.18326.YahooMailNeo () web160804 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]
I found a patch for iconv at Apache :: VC11 iconv LNK2011 errors
Apache :: VC11 iconv LNK2011 errors
To get iconv build change the following two lines in \
srclib\apr-iconv\build\modules.mk.win : $(SILENT)cl $(ALL_CFLAGS) /Fo$*.obj \
/Yciconv.h /c $*.c To: $(SILENT)cl $(ALL_CFLAGS) /Fo$*.obj /c $*.c View on \
www.apachelounge.com Preview by Yahoo
Let's see if it works. Building it now.
Sandeep.
On Friday, July 25, 2014 1:30 PM, Sandeep Thakkar <sandeeptt@yahoo.com> wrote:
No. I cleanup the solution before building with Visual Studio 2013 and I still see \
the same errors.
The additional error that I get is:
3)
Creating library ..\Release\iconv\adobe-stdenc.lib and object \
..\Release\iconv\adobe-stdenc.exp^M adobe-stdenc.obj : error LNK2011: precompiled \
object not linked in; image may not run^M
..\Release\iconv\adobe-stdenc.so : fatal error LNK1120: 1 unresolved externals^M
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio \
12.0\VC\BIN\link.EXE"' : return code '0x460'^M Stop.^M
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): \
error MSB3073: The command "NMAKE /nologo /f Makefile.win BUILD_MODE="Win32 Release" \
BIND_MODE=shared" exited with code 2.^M
Googling about this error does indicates that some people have came across the same \
errors, but I'm unable to get the solutions.
Sandeep.
On Thursday, July 24, 2014 5:33 PM, Sandeep Thakkar <sandeeptt@yahoo.com.INVALID> \
wrote:
Let me try that.
BTW, I have also used the new sources httpd-2.4.10, converted the project in VS2013 \
and built it and I see the same errors. I have built latest pcre, apr, apr-iconv, \
apr-util, openssl.
Sandeep.
On Thursday, July 24, 2014 5:05 PM, Hendrik Schmieder <hendrik.schmieder@jedox.com> \
wrote:
Sandeep Thakkar schrieb:
> Hi
>
> I could successfully built httpd-2.4.7 on WIndows 7 32bit with Visual
> Studio 2010 with the help of few thread in mailing lists. But, now, we
> want to build it on another Windows 7 32bit machine, where we have
> Visual STudio 2013 installed. Hence. I just opened Apache.sln in VS2013,
> let the conversion happened, and then built it on the command line.
>
> But, I see some failures like:
> 1)
> _tbl_simple.obj :
error LNK2011: precompiled object not linked in; image
> may not run^M
> ..\Release\iconv\_tbl_simple.so : fatal error LNK1120: 1 unresolved
> externals^M
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 12.0\VC\BIN\link.EXE"' : return code '0x460'^M
> Stop.^M
> C:\Program
> Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5):
> error MSB3073: The command "NMAKE /nologo /f Makefile.win
> BUILD_MODE="Win32 Release" BIND_MODE=shared" exited with code 2.^M
>
> 2)
> ApacheMonitor.c(296): warning C4996: 'GetVersionExA': was declared
> deprecated^M
> C:\Program Files\Windows Kits\8.1\include\um\sysinfoapi.h(433) : see
> declaration of 'GetVersionExA'^M
> CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1,
> language:0x0409^M
> LINK : fatal error LNK1123: failure during conversion to COFF: file
> invalid or corrupt^M
>
> Please help. Thanks.
>
> -Sandeep
>
I would first try it with cleaning the solution.
Hendrik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[Attachment #3 (text/html)]
<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, \
Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div \
class="" style=""><span class="" style="">I found a patch for iconv at <a \
href="http://www.apachelounge.com/viewtopic.php?t=5394" class="" style="">Apache :: \
VC11 iconv LNK2011 errors</a></span></div><div style="width:450px; font-family: \
'Georgia', 'Times', 'Times New Roman', 'serif';margin-top:5px; margin-bottom: 5px;" \
contenteditable="false" id="enhancrCard_0" class="link-enhancr-attachment \
link-enhancr-element"><table class="link-enhancr-element" cellspacing="0" \
cellpadding="0" border="0" style="width:450px; height:auto; position: relative; \
display: block;"><tbody><tr class="link-enhancr-element"><td \
class="link-enhancr-element" colspan="7" style="height: 1px; background-color: \
#e5e5e5; font-size: 1px; border-collapse: collapse;"><div \
class="link-enhancr-element" style="height: 1px; background-color: #e5e5e5; \
font-size: 1px; line-height:0px;"> </div></td></tr><tr \
class="link-enhancr-element"><td rowspan="5" class="link-enhancr-element" \
style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: \
collapse;"><div class="link-enhancr-element" style="width: 1px; background-color: \
#e5e5e5; font-size: 1pt;"> </div></td><td rowspan="5" \
class="link-enhancr-element" style="width: 14px; background-color: #ffffff; \
font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" \
style="width: 14px; background-color: #ffffff; font-size: 14pt;"> </div></td><td \
colspan="2" class="link-enhancr-element" style="height: 6px; background-color: \
#ffffff; font-size: 0pt; border-collapse: collapse;"><div \
class="link-enhancr-element" style="height: 6px; background-color: #ffffff; \
font-size: 6pt;"> </div></td><td rowspan="5" class="link-enhancr-element" \
style="width: 20px; background-color: #ffffff; font-size: 0pt; border-collapse: \
collapse;"><div class="link-enhancr-element" style="width: 20px; background-color: \
#ffffff; font-size: 20pt;"> </div></td><td class="link-enhancr-element" \
rowspan="5" width="1" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; \
border-collapse: collapse;"><div class="link-enhancr-element" style="width: 1px; \
background-color: #e5e5e5; font-size: 1pt;"> </div></td></tr><tr><td \
class="link-enhancr-element" colspan="2" style="width: 100%; vertical-align: middle; \
font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';"><div \
class="link-enhancr-text-part link-enhancr-element" style="line-height:16.5px; \
background-color: #ffffff; width: 414px;"><div class="link-enhancr-element" \
style="word-wrap: break-word; word-break: break-all;"><span \
class="link-enhancr-element icon icon-shrink link-enhancr-toggle"></span><span \
class="link-enhancr-element icon icon-close link-enhancr-delete"></span><a \
href="http://www.apachelounge.com/viewtopic.php?t=5394" \
class="link-enhancr-card-urlWrapper link-enhancr-element" style="text-decoration: \
none !important; color: #000000 !important; line-height: 100%; font-size: 18px; \
display: block;"><span class="link-enhancr-element link-enhancr-card-title" \
style="margin: 0; font-weight: normal;margin-bottom: 3px; font-size: 18px; \
line-height: 21px; max-height: 43px; color: #000000; overflow: hidden !important; \
display: inline-block;">Apache :: VC11 iconv LNK2011 errors</span></a><div \
style="font-size: 13px; line-height: 20px; color: #999999; max-height: 81px; \
font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';overflow: hidden;" \
class="link-enhancr-card-description link-enhancr-element">To get iconv build change \
the following two lines in srclib\apr-iconv\build\modules.mk.win : $(SILENT)cl \
$(ALL_CFLAGS) /Fo$*.obj /Yciconv.h /c $*.c To: $(SILENT)cl $(ALL_CFLAGS) /Fo$*.obj \
/c $*.c </div></div></div></td></tr><tr><td colspan="2" class="link-enhancr-element" \
style="height: 6px; background-color: #ffffff; font-size: 0pt; border-collapse: \
collapse;"><div class="link-enhancr-element" style="height: 6px; background-color: \
#ffffff; font-size: 6pt;"></div></td></tr><tr><td class="link-enhancr-element" \
style="vertical-align: middle; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', \
'sans-serif';"><div class="link-enhancr-element" style="font-size: 0pt;"><a \
href="http://www.apachelounge.com/viewtopic.php?t=5394" class="link-enhancr-card-url \
link-enhancr-element" style="color: black; text-decoration: none \
!important;cursor:pointer !important;" target="_blank"><span \
class="link-enhancr-element link-enhancr-view-on" style="display: inline-block; \
line-height: 11px; max-width: 314px; min-width: 254px; overflow: hidden; max-height: \
13px; word-break: break-all;"><span class="link-enhancr-element \
link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; \
line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: \
none; -webkit-text-size-adjust:none; text-size-adjust:none;">View on <span \
style="font-weight: bold" \
class="link-enhancr-view-on-domain">www.apachelounge.com</span></span></span></a></div></td><td \
class="link-enhancr-element" style="vertical-align: middle; width: 100px; \
font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div \
class="link-enhancr-element link-enhancr-preview-wrapper" style="max-width: 100px; \
min-width: 80px; overflow: hidden; text-align: right; line-height: 11px; max-height: \
13px; font-size: 0pt;"><span class="link-enhancr-element link-enhancr-preview-by \
link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; \
line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: \
none; -webkit-text-size-adjust:none; text-size-adjust:none;">Preview by \
Yahoo</span></div></td></tr><tr><td colspan="2" class="link-enhancr-element" \
style="height: 9px; background-color: #ffffff; font-size: 0pt; border-collapse: \
collapse;"><div class="link-enhancr-element" style="height: 9px; background-color: \
#ffffff; font-size: 9pt;"></div></td></tr><tr class="link-enhancr-element"><td \
class="link-enhancr-element" colspan="7" style="height: 1px; background-color: \
#e5e5e5; font-size: 1px; border-collapse: collapse;"><div \
class="link-enhancr-element" style="height: 1px; background-color: #e5e5e5; \
font-size: 1px; line-height:0px"> </div></td></tr></tbody></table></div><div \
class="" style=""><br></div><div class="" style="color: rgb(0, 0, 0); font-size: \
13.63636302947998px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, \
'Lucida Grande', sans-serif; font-style: normal; background-color: \
transparent;">Let's see if it works. Building it now.</div><div class="" \
style=""></div><div class="" style=""> </div><div class="" \
style="">Sandeep.</div> <div class="" style=""><br class="" style=""><br class="" \
style=""></div><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" \
style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, \
Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;" class=""> <div \
style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, \
sans-serif; font-size: 12pt;" class=""> <div dir="ltr" class="" style=""> <font \
size="2" face="Arial" class="" style=""> On Friday, July 25, 2014 1:30 PM, Sandeep \
Thakkar <sandeeptt@yahoo.com> wrote:<br class="" style=""> </font> </div> <br \
class="" style=""><br class="" style=""> <div class="" style=""><div \
id="yiv5840637640" class="" style=""><div class="" style=""><div \
style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, \
Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;" class=""><div class="" \
style=""><span class="" style="">No. I cleanup the solution before building with \
Visual Studio 2013 and I still see the same errors.</span></div><div class="" \
style="color:rgb(0, 0, 0);font-size:13.63636302947998px;font-family:HelveticaNeue, \
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', \
sans-serif;font-style:normal;background-color:transparent;"><span class="" \
style=""><br clear="none" class="" style=""></span></div><div class="" \
style="color:rgb(0, 0, 0);font-size:13.63636302947998px;font-family:HelveticaNeue, \
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', \
sans-serif;font-style:normal;background-color:transparent;"><span class="" \
style="">The additional error that I get is:</span></div><div class="" \
style="color:rgb(0, 0, 0);font-size:13.63636302947998px;font-family:HelveticaNeue, \
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', \
sans-serif;font-style:normal;background-color:transparent;">3)</div><div class="" \
style="background-color:transparent;">Creating library \
..\Release\iconv\adobe-stdenc.lib and object \
..\Release\iconv\adobe-stdenc.exp^M</div><div class="" \
style="background-color:transparent;">adobe-stdenc.obj : error LNK2011: precompiled \
object not linked in; image may not run^M</div><div class="" \
style="background-color:transparent;">..\Release\iconv\adobe-stdenc.so : fatal error \
LNK1120: 1 unresolved externals^M</div><div class="" \
style="background-color:transparent;">NMAKE : fatal error U1077: '"C:\Program \
Files\Microsoft Visual Studio 12.0\VC\BIN\link.EXE"' : return code \
'0x460'^M</div><div class="" style="background-color:transparent;"> \
Stop.^M</div><div class="" style="background-color:transparent;">C:\Program \
Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error \
MSB3073: The command "NMAKE /nologo /f Makefile.win BUILD_MODE="Win32 Release" \
BIND_MODE=shared" exited with code 2.^M</div><div class="" style=""><br clear="none" \
class="" style=""></div><div class="" style="">Googling about this error does \
indicates that some people have came across the same errors, but I'm unable to get \
the solutions.</div><div class="" style=""></div><div class="" \
style=""> </div><div class="" style="">Sandeep.</div> <div class="" style=""><br \
clear="none" class="" style=""><br clear="none" class="" style=""></div><div class="" \
style=""><br clear="none" class="" style=""><br clear="none" class="" \
style=""></div><div class="" id="yiv5840637640yqt07344" style=""><div class="" \
style="display: block;"> <div class="" style="font-family:HelveticaNeue, Helvetica \
Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"> <div class="" \
style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, \
sans-serif;font-size:12pt;"> <div class="" dir="ltr" style=""> <font class="" \
size="2" face="Arial" style=""> On Thursday, July 24, 2014 5:33 PM, Sandeep Thakkar \
<sandeeptt@yahoo.com.INVALID> wrote:<br clear="none" class="" style=""> </font> \
</div> <br clear="none" class="" style=""><br clear="none" class="" style=""> <div \
class="" style=""><div class="" id="yiv5840637640" style=""><div class="" \
style=""><div class="" \
style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, \
Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><div class="" \
style=""><span class="" style="">Let me try that.</span></div><div class="" \
style="color:rgb(0, 0, 0);font-size:13.63636302947998px;font-family:HelveticaNeue, \
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', \
sans-serif;font-style:normal;background-color:transparent;"><span class="" \
style=""><br clear="none" class="" style=""></span></div><div class="" \
style="color:rgb(0, 0, 0);font-size:13.63636302947998px;font-family:HelveticaNeue, \
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', \
sans-serif;font-style:normal;background-color:transparent;">BTW, I have also used the \
new sources httpd-2.4.10, converted the project in VS2013 and built it and I see the \
same errors. I have built latest pcre, apr, apr-iconv, apr-util, \
openssl.</div><div class="" style=""></div><div class="" style=""> </div><div \
class="" style="">Sandeep.</div> <div class="" style=""><br clear="none" class="" \
style=""><br clear="none" class="" style=""></div><div class="" \
style="display:block;"> <div class="" style="font-family:HelveticaNeue, 'Helvetica \
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:10pt;"> <div class="" \
style="font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida \
Grande', sans-serif;font-size:12pt;"> <div class="" dir="ltr" style=""> <font \
class="" size="2" face="Arial" style=""> On Thursday, July 24, 2014 5:05 PM, Hendrik \
Schmieder <hendrik.schmieder@jedox.com> wrote:<br clear="none" class="" \
style=""> </font> </div> <br clear="none" class="" style=""><br clear="none" \
class="" style=""> <div class="" style="">Sandeep Thakkar schrieb:<div class="" \
id="yiv5840637640yqtfd81481" style=""><br clear="none" class="" style="">> Hi<br \
clear="none" class="" style="">><br clear="none" class="" style="">> I could \
successfully built httpd-2.4.7 on WIndows 7 32bit with Visual<br clear="none" \
class="" style="">> Studio 2010 with the help of few thread in mailing lists. But, \
now, we<br clear="none" class="" style="">> want to build it on another Windows 7 \
32bit machine, where we have<br clear="none" class="" style="">> Visual STudio \
2013 installed. Hence. I just opened Apache.sln in VS2013,<br clear="none" class="" \
style="">> let the conversion happened, and then built it on the command line.<br \
clear="none" class="" style="">><br clear="none" class="" style="">> But, I see \
some failures like:<br clear="none" class="" style="">> 1)<br clear="none" \
class="" style="">> _tbl_simple.obj : error LNK2011: precompiled object not \
linked in; image<br clear="none" class="" style="">> may not run^M<br clear="none" \
class="" style="">> ..\Release\iconv\_tbl_simple.so : fatal error LNK1120: 1 \
unresolved<br clear="none" class="" style="">> externals^M<br clear="none" \
class="" style="">> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual \
Studio<br clear="none" class="" style="">> 12.0\VC\BIN\link.EXE"' : return code \
'0x460'^M<br clear="none" class="" style="">> Stop.^M<br clear="none" class="" \
style="">> C:\Program<br clear="none" class="" style="">> \
Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5):<br \
clear="none" class="" style="">> error MSB3073: The command "NMAKE /nologo /f \
Makefile.win<br clear="none" class="" style="">> BUILD_MODE="Win32 Release" \
BIND_MODE=shared" exited with code 2.^M<br clear="none" class="" style="">><br \
clear="none" class="" style="">> 2)<br clear="none" class="" style="">> \
ApacheMonitor.c(296): warning C4996: 'GetVersionExA': was declared<br clear="none" \
class="" style="">> deprecated^M<br clear="none" class="" style="">> C:\Program \
Files\Windows Kits\8.1\include\um\sysinfoapi.h(433) : see<br clear="none" class="" \
style="">> declaration of 'GetVersionExA'^M<br clear="none" class="" style="">> \
CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1,<br \
clear="none" class="" style="">> language:0x0409^M<br clear="none" class="" \
style="">> LINK : fatal error LNK1123: failure during conversion to COFF: file<br \
clear="none" class="" style="">> invalid or corrupt^M<br clear="none" class="" \
style="">><br clear="none" class="" style="">> Please help. Thanks.<br \
clear="none" class="" style="">><br clear="none" class="" style="">> \
-Sandeep</div><br clear="none" class="" style="">><br clear="none" class="" \
style=""><br clear="none" class="" style="">I would first try it with cleaning the \
solution.<br clear="none" class="" style=""><br clear="none" class="" style=""> \
clear="none" class="" style=""></div> </div> </div> </div> </div></div></div><br \
clear="none" class="" style=""><br clear="none" class="" style=""></div> </div> \
</div> </div></div> </div></div></div><br class="" style=""><br class="" \
style=""></div> </div> </div> </div> </div></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic