httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@en.muc.de>
Subject Re: mod_rewrite
Date Wed, 14 Aug 1996 10:45:04 GMT
On 14 Aug 1996 03:12:22 +0200 in en.lists.apache-new-httpd you wrote:
> Hmm.

> So I went to go try and commit mod_rewrite. I got the current version from
> http://www.engelschall.com/sw/mod_rewrite/arc/mod_rewrite-SNAP/, figuring
> it'd probably be best. So I get the latest version, install it, and try to
> compile. Hmm: 

> cc -c   -g -DSOLARIS2 -DSTATUS -v mod_rewrite.c
> "mod_rewrite.c", line 1422: syntax error before or at: static
> "mod_rewrite.c", line 1427: undefined symbol: q
> "mod_rewrite.c", line 1427: warning: improper pointer/integer combination:
> op "="
> "mod_rewrite.c", line 1429: undefined symbol: olduri
> "mod_rewrite.c", line 1429: warning: improper pointer/integer combination:
> arg #1
> "mod_rewrite.c", line 1430: cannot dereference non-pointer type
> "mod_rewrite.c", line 1436: warning: function expects to return value:
> apply_rewrite_cond
> "mod_rewrite.c", line 1437: cannot recover from previous errors
> cc: acomp failed for mod_rewrite.c
> *** Error code 2
> make: Fatal error: Command failed for target `mod_rewrite.o'

> This, obviously, is not my idea of a clean compile. And I managed to
> overwrite (accidentally) the version from a few days ago that worked fine.

> Ralf?

I don't know which snapshot you have, but the one at www.engelschall.com from
the 12.8. compiles fine under my BSD boxes and even under a Solaris box:

:> uname -a
SunOS sunti5 5.5 Generic_103093-03 sun4m sparc SUNW,SPARCstation-10
root@sunti5:/usr/local/pkg/apache/dist/apache/src
:> gcc -c -g -DSTATUS -DSOLARIS2 mod_rewrite.c
root@sunti5:/usr/local/pkg/apache/dist/apache/src
:> ll mod_rewrite.[ch]
-rw-r--r--   1 root     other      71421 Aug 14 12:42 mod_rewrite.c
-rw-r--r--   1 root     other      10455 Aug 14 12:42 mod_rewrite.h
root@sunti5:/usr/local/pkg/apache/dist/apache/src
:>

Hmmmmm... same for the current working copy here at en1.engelschall.com.  But
we will see, it can only be a little problem. Just wait until 18:00 GMT at
14.8. I will update the snapshot on www.engelschall.com after I have done my
work today and then we will figure it out, ok?

Or is it related to the fact that I currently work and compile with
mod_rewrite under a Apache 1.1.1 version and you under a 1.2-dev version?  I
will try gcc -Wall under a current 1.2-dev today before updating the
snapshot....

Greetings,
                                        Ralf S. Engelschall    
                                        rse@engelschall.com
                                        http://www.engelschall.com/~rse

Mime
View raw message