httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Mearns" <>
Subject [users@httpd] Re: exports.c: duplicate sections RESOLVED (sort of)
Date Mon, 22 Sep 2008 18:10:22 GMT
I resolved the issue by simply removing all traces of my old apr and
apr-util, and just using the packaged versions. So help is no longer
needed, but for those having the same issue, I can't offer any additional


> Follow up: I found the problem, but still don't know how to fix it:
> `apu-1-config --includedir` lists /usr/local//include/apr-1 as the include
> dir, which the configure script is using. So my question is how to change
> this?
> Thanks,
> -Brian
> I'm getting the familiar "redefinition of ‘ap_hack_apr_version’" and
> several hundred similar errors rooted in exports.c. Neither the path I'm
> building from, nor the path I'm installing to have any links in them, but
> I've found that exports.c contains duplicate sections that define all
> these different const void pointers: one section prefixed with a comment
> saying "/usr/local//include/apr-1/apr_xml.h", and the other duplicate
> section has a comment saying "/usr/local/include/apr-1/apr_xml.h" (notice
> the extra back-slash in the first one). So I'm assuming that the awk
> script that generates this file for some reason has this path in there
> twice, but once with the extra slash. But I'm not familiar with awk yet:
> can anyone tell me where these extra sections are coming from, and how I
> can stop them?
> Thanks so much.
> -Brian

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message