I've just checked server/exports.c and scanned it for a few of the many
(hundreds) of errors. The declarations are fine and the files exists on
the system.
But I noticed something else.
When I look at on of those numerous errormessages:
exports.c:1309: error: redefinition of 'ap_hack_apr_allocator_free'
exports.c:155: error: previous definition of
'ap_hack_apr_allocator_free' was here
It seems like there is a duplication of declarations. And I think thats
indeed the case when I have a look for "ap_hack_apr_allocator_free" in
server/exports.c
First declaration on line 1309
=====================
1304 * /usr/include/apr-1/apr_allocator.h
1305 */
1306 const void *ap_hack_apr_allocator_create = (const void
*)apr_allocator_create;
1307 const void *ap_hack_apr_allocator_destroy = (const void
*)apr_allocator_destroy;
1308 const void *ap_hack_apr_allocator_alloc = (const void
*)apr_allocator_alloc;
1309 const void *ap_hack_apr_allocator_free = (const void
*)apr_allocator_free;
First declaration on line 155
=====================
150 * /opt/local/include/apr-1/apr_allocator.h
151 */
152 const void *ap_hack_apr_allocator_create = (const void
*)apr_allocator_create;
153 const void *ap_hack_apr_allocator_destroy = (const void
*)apr_allocator_destroy;
154 const void *ap_hack_apr_allocator_alloc = (const void
*)apr_allocator_alloc;
155 const void *ap_hack_apr_allocator_free = (const void
*)apr_allocator_free;
Maybe this is a problem?
ben
Sander Temme wrote:
On Jul 30, 2008, at 5:25 AM, Ben Aurel wrote:
exports.c:1309: error: redefinition of 'ap_hack_apr_allocator_free'
exports.c:155: error: previous definition of
'ap_hack_apr_allocator_free' was here
Could you cast a glance at those areas of server/exports.c and see if
you notice anything weird about the paths in the comments above the
declarations? I have seen stuff like this happen when I called
buildconf in the various spots around httpd and APR with inconsistent
--with-apr* parameters, with trailing slashes on the directory name
and without.
This *should* not affect you if you just run ./configure && make as
you described, and I see you force --with-included-apr so you're
building the package as you got it.
But it'd still be a good idea to see what's going on with those
declarations.
S.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]