Thanks Cliff.

For future archive searchers: 
The usual cause for this is the use of symlinks for the
directory tree where Apache is unpacked and built.  
Common example on Solaris:

/usr/src->/usr/share/src

unpacking under /usr/src and building from there will
result in duplicate definitions in exports.c 


Cliff Woolley wrote:
On Wed, 3 Dec 2003, Mark Woon wrote:

  
I'm having problems compiling httpd-2.0.48 on a Sun, and I can't seem to
find any solutions via google or the mail archives.  I'm hoping someone
here can point out what I'm doing wrong.

I'm using the following configure parameters:
./configure --with-mpm=worker --enable-so --enable-include=shared
--enable-userdir=shared --enable-dav --enable-deflate --enable-rewrite
--enable-ssl

And then when I make I get a ton of error messages along the lines of:
/tmp/httpd-2.0.48/server/exports.c:1561: error: redefinition of
`ap_hack_apr_base64_encode_len'
/tmp/httpd-2.0.48/server/exports.c:177: error:
`ap_hack_apr_base64_encode_len' previously defined here
    

Search the bugdb (don't forget to include closed/resolve reports in your
search).  This is a fairly common problem.

Hope this helps,
--Cliff
  

Reply via email to