G/E 9.51pm in Oz
Updated http-trunk (last mod_proxy.h by Yann) and now get the following:

Building D:/Projects/svn/httpd-trunk/modules/proxy
Calling NWGNUproxy
GEN  obj_release/proxy_cc.opt
CC   mod_proxy.c
CC   proxy_util.c
CC   ../arch/netware/libprews.c
GEN  obj_release/proxy_link.opt
LINK obj_release/proxy.nlm
### mwldnlm Linker Error:
#   Undefined symbol: ap_proxy_connect_uds in
#   Export list
### mwldnlm Linker Error:
#   Undefined symbol: proxy_hook_create_req in
#   Export list
### mwldnlm Linker Error:
#   Undefined symbol: proxy_hook_detach_backend in
#   Export list
### mwldnlm Linker Error:
#   Undefined symbol: proxy_hook_fixups in
#   Export list
### mwldnlm Linker Error:
#   Undefined symbol: proxy_hook_get_create_req in
#   Export list
### mwldnlm Linker Error:
#   Undefined symbol: proxy_hook_get_detach_backend in
#   Export list
### mwldnlm Linker Error:
#   Undefined symbol: proxy_hook_get_fixups in
#   Export list
### mwldnlm Linker Error:
#   Undefined symbol: proxy_hook_get_request_status in
#   Export list
### mwldnlm Linker Error:
#   Undefined symbol: proxy_hook_request_status in
#   Export list

Errors caused tool to abort.
The error 'Export list says it is in the .imp file to be exported, but the symbol can't be found. In proxy_util.c this function is preceeded by:
#if APR_HAVE_SYS_UN_H
/* TODO: In APR 2.x: Extend apr_sockaddr_t to possibly be a path !!! */
PROXY_DECLARE(apr_status_t) ap_proxy_connect_uds(apr_socket_t *sock,
                                                 const char *uds_path,
                                                 apr_pool_t *p)
{
In NetWare's case APR_HAVE_SYS_UN_H is 0. The major use of sys/un.h is (AFAIK) defines for (IIRC) Unix sockets, which NetWare never got, but a very abbreviated sys/un.h does exist - Novell never got around to supporting all the features, so it's disabled in APR.

The proxy_* symbols not found are (IIRC) due to assumptions made in the awk script that are needed to work for the server proper (ie if one symbol is found assume others also present), but that assumption doesn't work in proxy....

On 5/02/2016 11:23 AM, Rainer Jung wrote:
Hi Norm,

Am 31.01.2016 um 00:59 schrieb NormW:
G'Day,
Recent changes to mod_proxy_[connect/wstunnel] prompt another export
from proxy_util. Wouldn't an awk script simplify symbol extraction from
proxy_util and obviate the need for tweaking manual lists?

I added support for proxy to the already existing awk script in trunk.

Any chance you can try building trunk using those changes, so I can
propose for backport?

The changes were:

- r1728569: add some missing symbols to the old style makefile
- r1728572: add PROXY_DECLARE_DATA
- r1728573: add support for proxy to build/make_nw_export.awk
- r1728574: use the awk script instead of the hand written list

Regards,

Rainer


Reply via email to