[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: Matthew Braithwaite <matt_at_braithwaite.net>
Date: 2000-10-24 11:09:11 CEST

On Tue, Oct 24, 2000 at 01:59:45AM -0700, Matthew Braithwaite wrote:
> On Tue, Oct 24, 2000 at 01:20:32AM -0700, rbb@covalent.net wrote:
> > On Mon, 23 Oct 2000, Karl Fogel wrote:
> >
> > > In the compilation output below, search for "undefined reference" to
> > > see the problem.
> >
> > I have a feeling this is due to the pthreads locking fix I committed. Did
> > you do a ./buildconf?
>
> I'm having the same problem, and yes, I did.

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

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.

At this point I gave up and ran configure --without-threads or
--disable-threads, just so I could get Subversion built, and that seemed
to work.

I would have reported all that yesterday, but it was my first time building
Subversion, so I thought I was doing something stupid wrong. I guess not.

I'd be happy to volunteer one of my machines to doing a continuous checkout
and build of Subversion, if there's nothing doing that already, btw.
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.