I am using ant cpp task to compile it in following way, <target name="compile-c"> <cc name="bcc" outtype="shared" outfile="mod_log_config.so" objdir="${base.dir}/dist" > <fileset dir="C:/development/opensource/Apache/httpd-2_0_28/modules/loggers" includes="*.c" /> <includepath path="C:/software/Borland/BDS/4.0/include" /> <includepath path="C:/development/opensource/Apache/httpd-2_0_28/srclib/apr/include" /> <includepath path="C:/development/opensource/Apache/httpd-2_0_28/srclib/apr-util/include" /> <includepath path="C:/development/opensource/Apache/httpd-2_0_28/modules" /> </cc> </target> -----Original Message----- From: Eric Covener [mailto:covener@xxxxxxxxx] Sent: Monday, March 09, 2009 11:12 AM To: users@xxxxxxxxxxxxxxxx Subject: Re: FW: Problem Compiling Apche Module On Mon, Mar 9, 2009 at 1:49 PM, Jigar Sutaria <jisutari@xxxxxxxxx> wrote: > Hi All, > > [cc] > C:\development\opensource\Apache\httpd-2_0_28\modules\loggers\mod_log_ > config.c:[I am trying to compile this module and getting following > errors] > > [I just downloaded the source code no modification yet and getting > this error. 2_0_28] > > [cc] Error E2141 > C:\development\opensource\Apache\httpd-2_0_28\srclib\apr\include\apr_e > rrno.h > 89: Declaration syntax error How are you trying to do it? -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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