You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mark Woon <mo...@helix.stanford.edu> on 2003/12/03 21:28:41 UTC

Make problem with 2.0.48

Hi,

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


Does anyone have any idea how to resolve this problem?  Any help would
be greatly appreciated.

Thanks,
-Mark




Re: Make problem with 2.0.48

Posted by Mark Woon <mo...@helix.stanford.edu>.
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
>  
>


Re: Make problem with 2.0.48

Posted by Cliff Woolley <jw...@virginia.edu>.
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