Use the command to define 'EAPI' as a preprocessor symbol.  (That's what
-D does under all the command-line C compilers.)

---
Mat Butler, Winged Wolf                       <[EMAIL PROTECTED]>
SPASTIC Web Engineer                  SPASTIC Server Administrator
----Begin FurryCode v1.3----
FCWw5amrsw A- C+ D H+++ M+++++[servercoder] P+ R++ T+++ W Z++ Sm++ 
RLCT/M*/LW* a cl/u/v++++>+++++ !d e- f>++++ h++ iwf+++ j p->+ sm++
----End FurryCode v1.3----


On Wed, 8 Mar 2000, [iso-8859-1] Augusto Alvares wrote:

> I wrote:
> 
> "I'm using an Apache 1.3.12 (win32), ApacheJServ 1.1,
> mod_ssl 2.6.0 and OpenSSL 0.9.4.
> Starting Apache a warning message is appearing "Loaded
> DSO [...]\ApacheModuleJServ.dll uses plain Apache 1.3
> API, this module might crash under EAPI! (please
> recompile it with -DEAPI)
> I'm trying to do that but in Visual C++ 6.0 (cl
> command) there isn't a -DEAPI option. I think it's a
> compiler option and not a linker option.
> Does anybody knows which compiler option is the one i
> need? or, better, does anybody has an
> ApacheModuleJServ.dll already compiled with this
> option?"
> 
> To compile Apache JServ I'm using nmake:
> 
> c:\>nmake -f Makefile.Win32 APACHE_SRC=...
> PACKAGE=JServ VERSION=1.1 EAPI
> 
> If we add "EAPI" to the command line, the makefile is
> setting:
> 
> !IFDEF EAPI
> JSERV_DEFINE = $(JSERV_DEFINE) /D "EAPI"
> !ENDIF
> 
> But nothing is doing the .c and .h files with this
> macro. If you take a look at the httpd.h file, the
> "EAPI" definition is used:
> 
> #ifdef EAPI
> #include "ap_mm.h"
> #endif
> #include "alloc.h"
> /*
>  * Include the Extended API headers.
>  * Don't move the position. It has to be after alloc.h
> because it uses the
>  * pool stuff but before buff.h because the buffer
> stuff uses the EAPI, too. 
>  */
> #ifdef EAPI
> #include "ap_hook.h"
> #include "ap_ctx.h"
> #endif /* EAPI */
> 
> ¿?I don't know what to do.
> _______________________________________________________________
> Do You Yahoo!?
> Consiga gratis su dirección @yahoo.es en http://correo.yahoo.es
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]
> 

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to