You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Ruediger Pluem <rp...@apache.org> on 2007/11/27 20:53:16 UTC
Lastest apr-util fails to build with httpd
The latest apr-util trunk (r598680) fails to build with httpd if the system
uses an older version of ssl that does not support the EVP features used
by recent commits to apr-util or if you compile apr-util without --with-openssl:
server/.libs/libmain.a(exports.o)(.data.rel+0x160): undefined reference to `apr_evp_factory_cleanup'
server/.libs/libmain.a(exports.o)(.data.rel+0x168): undefined reference to `apr_evp_crypt_cleanup'
server/.libs/libmain.a(exports.o)(.data.rel+0x170): undefined reference to `apr_evp_crypt_finish'
server/.libs/libmain.a(exports.o)(.data.rel+0x178): undefined reference to `apr_evp_crypt'
server/.libs/libmain.a(exports.o)(.data.rel+0x180): undefined reference to `apr_evp_crypt_init'
server/.libs/libmain.a(exports.o)(.data.rel+0x188): undefined reference to `apr_evp_factory_create'
server/.libs/libmain.a(exports.o)(.data.rel+0x190): undefined reference to `apr_evp_init'
collect2: ld returned 1 exit status
The reason for this is that libaprutil does not contain the needed symbols in this case.
The attached patch should fix this. Comments?
Regards
Rüdiger
The function _thread_cond_timedwait in the flie thread_cond.c
Posted by Learning apr <le...@hotmail.co.uk>.
Hello,
I have a problem with this function when I debug.
it calls a function res = WaitForSingleObject(cond->event, timeout_ms);
But the returned return res is not what I expected.
I expect res = WAIT_OBJECT_0;
But it is res != WAIT_OBJECT_0;
What caused this problem?
Thanks!
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
Re: Lastest apr-util fails to build with httpd
Posted by Ruediger Pluem <rp...@apache.org>.
On 11/27/2007 09:21 PM, Graham Leggett wrote:
> Ruediger Pluem wrote:
>
>> The reason for this is that libaprutil does not contain the needed
>> symbols in this case.
>> The attached patch should fix this. Comments?
>
> Just took a look - the patch added the symbols when openssl was missing,
> which meant that on Windows the symbols would have appeared twice.
Good catch.
>
> I have just moved your fix across to apr_ssl.c, can you give it a try?
Yes, this fixes it. Thanks.
Regards
Rüdiger
Re: Lastest apr-util fails to build with httpd
Posted by Graham Leggett <mi...@sharp.fm>.
Ruediger Pluem wrote:
> The reason for this is that libaprutil does not contain the needed symbols in this case.
> The attached patch should fix this. Comments?
Just took a look - the patch added the symbols when openssl was missing,
which meant that on Windows the symbols would have appeared twice.
I have just moved your fix across to apr_ssl.c, can you give it a try?
Regards,
Graham
--