Hi,
See a needed tweak similar to the following for the root build file:
--- NWGNUmakefile.orig  2010-10-25 05:36:20.812500000 +1000
+++ NWGNUmakefile       2010-11-07 07:49:57.234375000 +1100
@@ -71,6 +71,7 @@
                        $(STDMOD)/mappers \
                        $(STDMOD)/proxy \
                        $(STDMOD)/ssl \
+                       $(AP_WORK)/server \
                        $(AP_WORK)/server/mpm/netware \
                        $(PCRE) \
                        $(NWOS) \
@@ -269,7 +270,9 @@
        $(OBJDIR)/util_charset.o \
        $(OBJDIR)/util_cookies.o \
        $(OBJDIR)/util_debug.o \
-       $(OBJDIR)/util_expr.o \
+       $(OBJDIR)/util_expr_eval.o \
+       $(OBJDIR)/util_expr_parse.o \
+       $(OBJDIR)/util_expr_scan.o \
        $(OBJDIR)/util_filter.o \
        $(OBJDIR)/util_md5.o \
        $(OBJDIR)/util_mutex.o \

Also 'needed' is the following minor reshuffle in util_expr_eval.c:
--- server\util_expr_eval.c.orig        2010-11-07 06:55:22.765625000 +1100
+++ server\util_expr_eval.c     2010-11-07 07:58:10.609375000 +1100
@@ -884,8 +884,8 @@
 static const char *misc_var_fn(ap_expr_eval_ctx *ctx, const void *data)
 {
     apr_time_exp_t tm;
-    apr_time_exp_lt(&tm, apr_time_now());
     int index = ((const char **)data - misc_var_names);
+    apr_time_exp_lt(&tm, apr_time_now());

     switch (index) {
     case 0:

And, see the following, but not yet solved:
Compiling server/util_expr_eval.c
### mwccnlm Compiler:
#    File: server\util_expr_eval.c
# --------------------------------
#      86:      ap_expr_string_func_t *func = info->node_arg1;
#   Error:                                                   ^
#   illegal implicit conversion from 'const void *const ' to
#   'char * (*)(struct  *, const void *, const char *)'
### mwccnlm Compiler:
#     189:                  ap_expr_list_func_t *func = info->node_arg1;
#   Error:                                                             ^
#   illegal implicit conversion from 'const void *const ' to
#   'struct apr_array_header_t * (*)(struct  *, const void *, const char *)'

Compiling server/util_expr_scan.c
### mwccnlm Compiler:
#    File: server\util_expr_scan.c
# --------------------------------
#    1141:      char c[2] = { yytext[0], '\0' };
#   Error:                              ^
#   illegal constant expression
### mwccnlm Compiler:
#    1446:      char c[2] = { yytext[0], '\0' };
#   Error:                              ^
#   illegal constant expression


Norm

Reply via email to