Re: Compiling module under Windows for Apache 2.2.4 with APXS.BAT/.PL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux