On Wednesday 01 February 2012, Gregg Smith wrote:
> Getting closer
>
> Linking...
> Creating library .\Release/libhttpd.lib and object
> .\Release/libhttpd.exp
> mpm_winnt.obj : error LNK2019: unresolved external symbol
> _winnt_insert_network_bucket referenced in function _winnt_hooks
>
> I don't quite get this error though.
Having a Windows compiler myself would really help :-/
Try removing the "static":
--- a/server/mpm/winnt/child.c
+++ b/server/mpm/winnt/child.c
@@ -736,9 +736,9 @@ static winnt_conn_ctx_t
*winnt_get_connection(winnt_conn_ctx_t *context)
return context;
}
-static apr_status_t winnt_insert_network_bucket(conn_rec *c,
- apr_bucket_brigade
*bb,
- apr_socket_t *socket)
+apr_status_t winnt_insert_network_bucket(conn_rec *c,
+ apr_bucket_brigade *bb,
+ apr_socket_t *socket)
{
apr_bucket *e;
winnt_conn_ctx_t *context = ap_get_module_config(c->conn_config,