Get the following errors when attempting a mod_jk build for Apache 1.3 against the 1.3.33 source tree...
Compiling ../common/jk_ajp_common.c
Compiling ../common/jk_connect.c
### mwccnlm Compiler:
# File: ..\common\jk_connect.c
# -------------------------------
# 105: NetDBgethostbyname( &nwSocketCtx, (host) )
# Error: ^
# illegal implicit conversion from 'const char *' to
# 'char *'
### mwccnlm Compiler:
# 195: sizeof(set));
# Error: ^
# illegal implicit conversion from 'const char *' to
# 'char *'
### mwccnlm Compiler:
# 203: sizeof(keep));
# Error: ^
# illegal implicit conversion from 'const char *' to
# 'char *'
### mwccnlm Compiler:
# 209: sizeof(len))) {
# Error: ^
# illegal implicit conversion from 'const char *' to
# 'char *'
### mwccnlm Compiler:
# 219: sizeof(len))) {
# Error: ^
# illegal implicit conversion from 'const char *' to
# 'char *'Errors caused tool to abort. make: *** [release/jk_connect.o] Error 1
I guess this doesn't 'help' (kind of...) FTM, Norm
G�nter Knauf wrote:
Hi Norm,
can you please also do a build for Apache 1.3.x? I guess there this problem doesnt occure because of the clib headers; its only with Apache2 with libc headers.
that's a netware-own problem; please add -D_POSIX_SOURCE to the compiler flags and see if that fixes teh problem; if so then please also check if we get no other strange behaviours - then we have to go other ways.
Guenter.
Just zipping the compiler over the recent updates to mod_jk and get the error noted below....
Nice to see the 'spirit' of JK2 lives on anyway... Regards, Norm
Compiling ../common/jk_lb_worker.c Compiling ../common/jk_map.c ### mwccnlm Compiler: # File: ..\common\jk_map.c # --------------------------- # 413: jk_shm_set_workers_time(statbuf.st_mtime); # Error: ^ # illegal implicit conversion from 'struct timespec' to # 'long'
Errors caused tool to abort. make: *** [Release.o/jk_map.o] Error 1
C:\Projects\gccnlm\jakarta-tomcat-connectors\jk\native\apache-2.0>
EOT
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
