httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <dra...@crimson-dragon.com>
Subject Re: [users@httpd] Compiling module under Windows for Apache 2.2.4 with APXS.BAT/.PL
Date Wed, 03 Oct 2007 20:19:07 GMT
Mark A. Craig wrote:
>Got a tiny bit further:
>
>C:\Program Files\Apache Software Foundation\Apache2.2\bin>vsvars32.bat
>Setting environment for using Microsoft Visual Studio 2005 x86 tools.
>
>C:\Program Files\Apache Software Foundation\Apache2.2\bin>apxs -c -i 
>-a mod_httpbl.c
>
>cl  /nologo /MD /W3 /O2 /D WIN32 /D _WINDOWS /D NDEBUG 
>-I"C:\PROGRA~1\APACHE~1\Apache2.2\include"  /c /Fomod_httpbl.lo mod_httpbl.c
>
>mod_httpbl.c
>
>C:\PROGRA~1\APACHE~1\Apache2.2\include\apr.h(92) : fatal error 
>C1083: Cannot open include file: 'windows.h': No such file or directory
>
>apxs:Error: Command failed with rc=131072
>
>How do I resolve this include failure, and how many other includes 
>will it fail to find?  There are a LOT of includes in that .c 
>file!  I know, for a guy who once upon a time did programming, I'm 
>such a complete newb.  I haven't touched any code file that didn't 
>end in .html since the 80s.  :-/
---------------- End original message. ---------------------

windows.h (and a whole bunch of other things you will need) are part 
of the Windows SDK which you can download from Microsoft's MSDN web site.

Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message