httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@decus.org (Rodent of Unusual Size)
Subject [BUG] (!) mod_rewrite.c DOES NOT compile!
Date Mon, 03 Feb 1997 13:16:59 GMT
    I just tried to compile from the latest repository snapshot, and
    mod_rewrite.c 3.0.0 gets errors.  (One of them is *still* the _const
    maco business.)

    This is with "OSF1 Lucy.DECUS.Org V3.2 47 alpha", builtin cc (i.e.,
    not gcc).

    Did the repository get tarred up while the commit was in progress?
    Am I the only one seeing this?  I've seen a couple of +1s go by on
    this..  With mod_rewrite out of the configuration, everything else
    compiles all right (I'm trying with everything except mod_log_agent,
    mod_log_referer, mod_auth_db, mod_auth_dbm, mod_auth_msql, mod_dld,
    and the proxy).

    Hmm.. did a new mod_rewrite.h not get committed along with the .c
    file?

    #ken    :-(}

cc -c   -O2 -DOSF1 -DSTATUS   mod_rewrite.c
/usr/lib/cmplrs/cc/cfe: Warning: ./mod_rewrite.h:109: Macro _const redefined.
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 632:
'forced_responsecode' undefined, reoccurrences will not be reported 
     new->forced_responsecode = 302;
 -------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 632: member of
structure or union required 
     new->forced_responsecode = 302;
 ---------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 633: 'env' undefined,
reoccurrences will not be reported 
     new->env[0] = 0L;
 -------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 633: member of
structure or union required 
     new->env[0] = 0L;
 ---------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 720:
'forced_responsecode' undefined, reoccurrences will not be reported 
             cfg->forced_responsecode = status;
 ---------------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 720: member of
structure or union required 
             cfg->forced_responsecode = status;
 -----------------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 741: 'env' undefined,
reoccurrences will not be reported 
         for (i = 0; (cfg->env[i] != 0L) && (i < MAX_ENV_FLAGS); i++)
 ------------------------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 741: member of
structure or union required 
         for (i = 0; (cfg->env[i] != 0L) && (i < MAX_ENV_FLAGS); i++)
 --------------------------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 743: 'MAX_ENV_FLAGS'
undefined, reoccurrences will not be reported 
         if (i < MAX_ENV_FLAGS) {
 ----------------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 744: member of
structure or union required 
             cfg->env[i] = pstrdup(p, val);
 -----------------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 745: member of
structure or union required 
             cfg->env[i+1] = 0L;
 -----------------^
/usr/lib/cmplrs/cc/cfe: Error: mod_rewrite.c, line 772: 'RULEFLAG_GONE'
undefined, reoccurrences will not be reported 
         cfg->flags |= RULEFLAG_GONE;
 ----------------------^
*** Exit 1
Stop.

Mime
View raw message