Re: build httpd/apr on vista with latest SDK
William A. Rowe, Jr. wrote: > Issac Goldstand wrote: >> I think it's the compilers that come with vs 2005 express editions. > > Then the answer I suppose is ... yes. 2005 compiles are working fine. > > FWIW, if you are trying to build from the GUI - that's it's own can > of worms, it mis-parses the RC flags from the .dsp upon conversion. > You can preparse these into a nonsensical flavor using apr/build/cvtdsp.pl. > > Building 2.2.4 from the -win32-src.zip's command line makefiles (or just > Makefile.win) should work just fine if you've set up the compiler tool > paths correctly. I have a feeling that it's not the compilers, but the SDK. In any case, APR is bailing out on me pretty quickly: (from httpd-2.2.4-win-src.zip) > nmake -f makefile.win _apacher ... cl.exe /nologo /MD /W3 /Zi /O2 /Oy- /I "./include" /I "./include/arch" I "./include/arch/win32" /I "./include/arch/unix" /D "NDEBUG" /D "APR_DECLARE_S ATIC" /D "WIN32" /D "_WINDOWS" /Fo".\LibR\\" /Fd".\LibR\apr_src" /FD /c .\netwo k_io\unix\multicast.c multicast.c .\network_io\unix\multicast.c(137) : error C2079: 'mip' uses undefined struct ' roup_source_req' .\network_io\unix\multicast.c(168) : error C2224: left of '.gsr_interface' must have struct/union type .\network_io\unix\multicast.c(168) : warning C4013: 'find_if_index' undefined; ssuming extern returning int .\network_io\unix\multicast.c(169) : error C2224: left of '.gsr_group' must hav struct/union type .\network_io\unix\multicast.c(169) : error C2224: left of '.gsr_group' must hav struct/union type .\network_io\unix\multicast.c(169) : error C2168: 'memcpy' : too few actual par meters for intrinsic function .\network_io\unix\multicast.c(170) : error C2224: left of '.gsr_source' must ha e struct/union type .\network_io\unix\multicast.c(170) : error C2224: left of '.gsr_source' must ha e struct/union type .\network_io\unix\multicast.c(170) : error C2168: 'memcpy' : too few actual par meters for intrinsic function NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Bi \cl.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Bi \nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Bi \nmake.exe"' : return code '0x2' Stop. Issac
Re: build httpd/apr on vista with latest SDK
Issac Goldstand wrote: > I think it's the compilers that come with vs 2005 express editions. Then the answer I suppose is ... yes. 2005 compiles are working fine. FWIW, if you are trying to build from the GUI - that's it's own can of worms, it mis-parses the RC flags from the .dsp upon conversion. You can preparse these into a nonsensical flavor using apr/build/cvtdsp.pl. Building 2.2.4 from the -win32-src.zip's command line makefiles (or just Makefile.win) should work just fine if you've set up the compiler tool paths correctly. Bill
Re: build httpd/apr on vista with latest SDK
You read correctly. 'tis sweet indeed. I think it's the compilers that come with vs 2005 express editions. It includes compilers for x86, x64 and IA64 (all are x86 binaries and cross-compile for the target platform, if I understood correctly - as I don't have any x64 OS installed, I haven't played with it yet) http://www.microsoft.com/downloads/details.aspx?FamilyId=7614FE22-8A64-4DFB-AA0C-DB53035F40A0 "Tools and Build Environments: In addition to the headers and libraries used to build Windows applications, the Windows SDK includes more than 100 GUI and command-line tools to aid in the development of native (Win32) and managed (.NET) systems for the Windows platform. The tools include command-line compilers (both x86 and x64), debuggers, performance monitoring applications, security management utilities, and more. " Issac William A. Rowe, Jr. wrote: > Issac Goldstand wrote: >> Has anyone successfully built httpd on Vista with the SDK and bundled >> compiler? > > "Bundled" compiler? If Vista or the most recent SDK includes a C compiler, > it would be news to me. Pointers?
Re: build httpd/apr on vista with latest SDK
Issac Goldstand wrote: > Has anyone successfully built httpd on Vista with the SDK and bundled > compiler? "Bundled" compiler? If Vista or the most recent SDK includes a C compiler, it would be news to me. Pointers?