[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: somebody broke APR :-)

From: <rbb_at_covalent.net>
Date: 2000-10-24 11:20:50 CEST

> Hmm, that wasn't very helpful -- in more detail,
>
> The undefined symbols are only defined in locks/unix/intraproc.c if
> APR_USE_PTHREAD_SERIALIZE is set. This (or rather USE_PTHREAD_SERIALIZE --
> no APR_ -- typo?) is only defined if

No, it's annoying but we have to use both macros. The problem is that
autoconf doesn't namespace protect macros, so autoconf defines
USE_PTHREAD_SERIALIZE, but we need namespace protected macros, so we
re-define APR_USE_PTHREAD_SERIALIZE. :-(

> AC_IFALLYES(header:pthread.h define:PTHREAD_PROCESS_SHARED dnl
> custom:with_pthread_cross,
> AC_DECIDE(USE_PROC_PTHREAD_SERIALIZE, [pthread mutex]))
>
> but there is no check for PTHREAD_PROCESS_SHARED. So I added an
> AC_CHECK_DEFINE, and ran with --with-pthread-cross (which I don't know
> what means) and had some other problem.

Okay, I know what the problem is. I broke it a few days ago, and I can
fix it in aobut twenty minutes (I'm fixing something else right
now). I'll send mail when I commit the patch. Thanks for the detailed
report, it tells me exactly what I did wrong.

Ryan

_______________________________________________________________________________
Ryan Bloom rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------
Received on Sat Oct 21 14:36:12 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.