Greetings and thanks for the feedback... With:
DEFINES = -DNETWARE -D_POSIX_SOURCE
in NWGNUenvironment.inc, I get the following (there was a lot more of it but this is the first few lines)...
### mwccnlm Compiler:
# File: ..\common\jk_shm.c
# ---------------------------
# 49: CRITICAL_SECTION cs;
# Error: ^^^^^^^^^^^^^^^^
# declaration syntax error
### mwccnlm Compiler:
# 50: };
# Error: ^
# declaration syntax error
### mwccnlm Compiler:
# 55: static jk_shm_t jk_shmem = { 0, NULL, -1, 0, NULL};
# Error: ^
# illegal use of incomplete struct/union/class 'struct jk_shm'
### mwccnlm Compiler:
# 64: if (jk_shmem.hdr) {
# Error: ^
# illegal use of incomplete struct/union/class 'struct jk_shm'Restoring the DEFINES to its original setting reproduces the error noted previously/below. This was a build attempted against Apache2.1 trunk and JTC CVS.
Will cast a fuzzy eye at a 1.3 JTC against AP 1.3 trunk...
FTM, Norm
G�nter Knauf wrote:
Hi Norm, 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]
