On 04/12/2008 06:15 PM, Ruediger Pluem wrote:
On 04/12/2008 04:11 PM, Graham Leggett wrote:
Rüdiger Plüm wrote:
Its seems that the recent commits from Graham (r647263) and Mladen
(r647384) (APR) broke httpd trunk:
server/.libs/libmain.a(exports.o):(.data+0x588): undefined reference
to `ap_keep_body_filter'
server/.libs/libmain.a(exports.o):(.data+0x58c): undefined reference
to `ap_kept_body_filter'
server/.libs/libmain.a(exports.o):(.data+0x590): undefined reference
to `ap_parse_request_form'
server/.libs/libmain.a(exports.o):(.data+0x9cc): undefined reference
to `apr_pool_create_ex_core_debug'
server/.libs/libmain.a(exports.o):(.data+0xa14): undefined reference
to `apr_pool_pre_cleanup_register'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Fehler 1
make: *** [all-recursive] Fehler 1
Just did a clean rebuild and it works for me... Quick question - did
you do a ./buildconf and rerun ./config.nice?
Yep.
make extraclean
./buildconf
./config.nice
Still the following result (the APR issue is now fixed):
server/.libs/libmain.a(exports.o):(.data+0x588): undefined reference to
`ap_keep_body_filter'
server/.libs/libmain.a(exports.o):(.data+0x58c): undefined reference to
`ap_kept_body_filter'
server/.libs/libmain.a(exports.o):(.data+0x590): undefined reference to
`ap_parse_request_form'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Fehler 1
make: *** [all-recursive] Fehler 1
Once I move mod_request.h from includes to modules/filters it all works
fine (after make extraclean; buildconf of course). The reason is that the
generator for exports.c picks up the symbols from mod_request.h which
is IMHO wrong as it is not statically compiled into httpd (BTW: Public
functions from other modules like mod_cache or mod_proxy do not show up
in exports.c).
So please try again and delete exports.c before recompiling.
Regards
Rüdiger