Errors,

what I did: copied server/core.h to /include


Get:


C:\VC16\Win32\httpd-trunk\include\core.h(44,6): error C2373: 'ap_filter_adopt_brigade': redefinition; different type modifiers C:\VC16\Win32\httpd-trunk\include\util_filter.h(631): message : see declaration of 'ap_filter_adopt_brigade'




On Sunday 10/05/2020 at 12:10, Yann Ylavic  wrote:
On Sat, May 9, 2020 at 5:30 PM Steffen <i...@apachelounge.com> wrote:


Patch gives errors, but was given me the direction, Thanks!

htdbm and htpasswd  got it running !!


by adding in support/passwd_common.h :

#if !defined(WIN32) && !defined(NETWARE)
#include "ap_config_auto.h"
#endif

Your patch not used it is giving other errors, for example ab is not building, get ab.obj : error LNK2001: unresolved external symbol __imp__ap_real_exit_code

OK, fair enough.



mod_ssl :
ssl\ssl_engine_io.c(33,10): fatal error C1083: Cannot open include file: 'core.h' When I copy server/core.h to mod_ssl dir, then error: ssl_engine_io.obj : error LNK2019: unresolved external symbol _ap_filter_adopt_brigade referenced in function _char_buffer_insert

So on Windows ap_filter_adopt_brigade() needs to be exported to be
used by modules, oh well.
How about the attached patch then?


Regards,
Yann.


Reply via email to