Hi Norm,

Am 08.02.2016 um 22:45 schrieb NormW:
G/M Brad, G/M Rainer
On 8/02/2016 9:17 AM, Brad Nicholes wrote:
Rainer,
     It has actually been quite a while since I have been on this
list.  I did most of the initial Netware port of Apache.  Apache for
Netware uses its own implementation of Winsock as the socket layer.
This is the reason why the make files specify not to use the standard
sockets.  The Netware version of Winsock also has it's own
implementation of SSL which is why most of the time mod_ssl is not
used by Apache for Netware.  Basically, the Apache for Netware make
files should always be building with Winsock.

thanks,
Brad
A flashback to earlier days. Pleased you're still about.

Rainer,
Just updated from httpd-trunk and now get in proxy:

That full output was useful. I had moved the import to the main NWGNUmakefile, but the module specific ones didn't append to the list of import files but instead overwrote it. Now that I can see from your list, which of the many proxy modules actually need those imports, I decided to move the import back into the individual module makefiles.

I removed them afterwards for mod_proxy_express and mod_proxy_hcheck, because those seem to not have link errors without those imports.

Finally I adjusted the comment like you suggested. One brain-twiser less.

Hopefully we are good to go now.

Regards,

Rainer

Building D:/Projects/svn/httpd-trunk/modules/proxy
Calling NWGNUproxy
LINK obj_release/proxy.nlm
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_htonl in
#   proxy_util.o
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_inet_ntoa in
#   proxy_util.o
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_htonl in
#   proxy_util.o
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_inet_ntoa in
#   proxy_util.o
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_inet_ntoa in
#   proxy_util.o
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_htonl in
#   proxy_util.o
### mwldnlm Linker Error:
#   Undefined symbol: WSAStartup in
#   libprews.o
### mwldnlm Linker Error:
#   Undefined symbol: WSACleanup in
#   libprews.o

Errors caused tool to abort.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:214: recipe for target
'obj_release/proxy.nlm' failed
make[3]: *** [obj_release/proxy.nlm] Error 1
make[3]: Target 'default' not remade because of errors.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:321: recipe for target
'obj_release/proxy.nlm' failed
make[2]: *** [obj_release/proxy.nlm] Error 2

Calling NWGNUproxyftp
GEN  obj_release/proxyftp_cc.opt
CC   mod_proxy_ftp.c
CC   ../arch/netware/libprews.c
GEN  obj_release/proxyftp_link.opt
LINK obj_release/proxyftp.nlm
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_htons in
#   mod_proxy_ftp.o
### mwldnlm Linker Error:
#   Undefined symbol: WSAStartup in
#   libprews.o
### mwldnlm Linker Error:
#   Undefined symbol: WSACleanup in
#   libprews.o

Errors caused tool to abort.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:214: recipe for target
'obj_release/proxyftp.nlm' failed
make[3]: *** [obj_release/proxyftp.nlm] Error 1
make[3]: Target 'default' not remade because of errors.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:321: recipe for target
'obj_release/proxyftp.nlm' failed
make[2]: *** [obj_release/proxyftp.nlm] Error 2
Calling NWGNUproxyhtp
GEN  obj_release/proxyhtp_cc.opt
CC   mod_proxy_http.c
CC   ../arch/netware/libprews.c
GEN  obj_release/proxyhtp_link.opt
LINK obj_release/proxyhtp.nlm
### mwldnlm Linker Error:
#   Undefined symbol: WSAStartup in
#   libprews.o
### mwldnlm Linker Error:
#   Undefined symbol: WSACleanup in
#   libprews.o

Errors caused tool to abort.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:214: recipe for target
'obj_release/proxyhtp.nlm' failed
make[3]: *** [obj_release/proxyhtp.nlm] Error 1
make[3]: Target 'default' not remade because of errors.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:321: recipe for target
'obj_release/proxyhtp.nlm' failed
make[2]: *** [obj_release/proxyhtp.nlm] Error 2
Calling NWGNUproxybalancer
GEN  obj_release/proxybalancer_cc.opt
CC   mod_proxy_balancer.c
CC   ../arch/netware/libprews.c
GEN  obj_release/proxybalancer_link.opt
LINK obj_release/proxybalancer.nlm
### mwldnlm Linker Error:
#   Undefined symbol: WSAStartup in
#   libprews.o
### mwldnlm Linker Error:
#   Undefined symbol: WSACleanup in
#   libprews.o

Errors caused tool to abort.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:214: recipe for target
'obj_release/proxybalancer.nlm' failed
make[3]: *** [obj_release/proxybalancer.nlm] Error 1
make[3]: Target 'default' not remade because of errors.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:321: recipe for target
'obj_release/proxybalancer.nlm' failed
make[2]: *** [obj_release/proxybalancer.nlm] Error 2
Calling NWGNUproxyajp
GEN  obj_release/proxyajp_cc.opt
CC   mod_proxy_ajp.c
CC   ajp_header.c
CC   ajp_msg.c
CC   ajp_link.c
CC   ajp_utils.c
GEN  obj_release/proxyajp_link.opt
LINK obj_release/proxyajp.nlm
### mwldnlm Linker Error:
#   Undefined symbol: WSAStartup in
#   libprews.o
### mwldnlm Linker Error:
#   Undefined symbol: WSACleanup in
#   libprews.o

Errors caused tool to abort.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:214: recipe for target
'obj_release/proxyajp.nlm' failed
make[3]: *** [obj_release/proxyajp.nlm] Error 1
make[3]: Target 'default' not remade because of errors.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:321: recipe for target
'obj_release/proxyajp.nlm' failed
make[2]: *** [obj_release/proxyajp.nlm] Error 2
Calling NWGNUproxyfcgi
GEN  obj_release/proxyfcgi_cc.opt
CC   mod_proxy_fcgi.c
CC   ../arch/netware/libprews.c
GEN  obj_release/proxyfcgi_link.opt
LINK obj_release/proxyfcgi.nlm
### mwldnlm Linker Error:
#   Undefined symbol: WSAStartup in
#   libprews.o
### mwldnlm Linker Error:
#   Undefined symbol: WSACleanup in
#   libprews.o

Errors caused tool to abort.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:214: recipe for target
'obj_release/proxyfcgi.nlm' failed
make[3]: *** [obj_release/proxyfcgi.nlm] Error 1
make[3]: Target 'default' not remade because of errors.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:321: recipe for target
'obj_release/proxyfcgi.nlm' failed
make[2]: *** [obj_release/proxyfcgi.nlm] Error 2
Calling NWGNUproxyscgi
GEN  obj_release/proxyscgi_cc.opt
CC   mod_proxy_scgi.c
CC   ../arch/netware/libprews.c
GEN  obj_release/proxyscgi_link.opt
LINK obj_release/proxyscgi.nlm
### mwldnlm Linker Error:
#   Undefined symbol: WSAStartup in
#   libprews.o
### mwldnlm Linker Error:
#   Undefined symbol: WSACleanup in
#   libprews.o

Errors caused tool to abort.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:214: recipe for target
'obj_release/proxyscgi.nlm' failed
make[3]: *** [obj_release/proxyscgi.nlm] Error 1
make[3]: Target 'default' not remade because of errors.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:321: recipe for target
'obj_release/proxyscgi.nlm' failed
make[2]: *** [obj_release/proxyscgi.nlm] Error 2
Calling NWGNUserf
GEN  obj_release/serf_cc.opt
CC   mod_serf.c
CC   D:\Projects\srcs\serf-1.3.8/context.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/aggregate_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/allocator.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/barrier_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/chunk_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/dechunk_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/deflate_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/file_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/headers_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/limit_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/request_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/response_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/simple_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/socket_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/ssl_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/auth/auth.c
CC   D:\Projects\srcs\serf-1.3.8/auth/auth_basic.c
CC   D:\Projects\srcs\serf-1.3.8/auth/auth_digest.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/bwtp_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/incoming.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/iovec_buckets.c
CC   D:\Projects\srcs\serf-1.3.8/outgoing.c
CC   D:\Projects\srcs\serf-1.3.8/ssltunnel.c
CC   D:\Projects\srcs\serf-1.3.8/buckets/response_body_buckets.c
CC   D:\Projects\srcs\zlib-1.2.8/adler32.c
CC   D:\Projects\srcs\zlib-1.2.8/crc32.c
CC   D:\Projects\srcs\zlib-1.2.8/deflate.c
CC   D:\Projects\srcs\zlib-1.2.8/inflate.c
CC   D:\Projects\srcs\zlib-1.2.8/inffast.c
CC   D:\Projects\srcs\zlib-1.2.8/inftrees.c
CC   D:\Projects\srcs\zlib-1.2.8/trees.c
CC   D:\Projects\srcs\zlib-1.2.8/zutil.c
GEN  obj_release/serf_link.opt
LINK obj_release/serf.nlm
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_getsockopt in
#   outgoing.o
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_shutdown in
#   bss_sock.obj
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_closesocket in
#   bss_sock.obj
### mwldnlm Linker Error:
#   Undefined symbol: WSASetLastError in
#   bss_sock.obj
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_recv in
#   bss_sock.obj
### mwldnlm Linker Error:
#   Undefined symbol: WSASetLastError in
#   bss_sock.obj
### mwldnlm Linker Error:
#   Undefined symbol: WS2_32_send in
#   bss_sock.obj
### mwldnlm Linker Error:
#   Undefined symbol: WSAGetLastError in
#   bss_sock.obj

Errors caused tool to abort.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:214: recipe for target
'obj_release/serf.nlm' failed
make[3]: *** [obj_release/serf.nlm] Error 1
make[3]: Target 'default' not remade because of errors.
D:/Projects/svn/httpd-trunk/build/NWGNUtail.inc:321: recipe for target
'obj_release/serf.nlm' failed
make[2]: *** [obj_release/serf.nlm] Error 2
make[2]: Target 'default' not remade because of errors.
D:\Projects\svn\httpd-trunk/build/NWGNUhead.inc:86: recipe for target
'proxy' failed
make[1]: *** [proxy] Error 2

I've reworded the patch below so it reads a little more logically.
The winsock library is autoloaded, but the compiler/linker need the
symbol list it will provide.
FILES_nlm_Ximports = \
    @aprlib.imp \
    @httpd.imp \
    @libc.imp \
    $(EOLIST)

+ # Link with Winsock if standard sockets are NOT being used.
+ ifndef USE_STDSOCKETS
+ FILES_nlm_Ximports += @ws2nlm.imp \
+     $(EOLIST)
+ endif
+

Reply via email to