Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 16:09:10 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        amd64@freebsd.org, threads@freebsd.org
Subject:   Re: libpthread compile failure
Message-ID:  <Pine.GSO.4.43.0603281608250.18701-100000@sea.ntplx.net>
In-Reply-To: <20060328200624.GA10800@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Mar 2006, Kris Kennaway wrote:

> On 7.0 during buildworld:
>
> /usr/src/lib/libpthread/thread/thr_barrier.c:69: error: conflicting types for '_pthread_barrier_init'
> /usr/src/lib/libpthread/../../include/pthread.h:156: error: previous declaration of '_pthread_barrier_init' was here
> /usr/src/lib/libpthread/thread/thr_barrier.c:69: error: conflicting types for '_pthread_barrier_init'
> /usr/src/lib/libpthread/../../include/pthread.h:156: error: previous declaration of '_pthread_barrier_init' was here
> *** Error code 1
>
> Those two declarations are:
>
> > int
> > _pthread_barrier_init(pthread_barrier_t *barrier,
> >                       const pthread_barrierattr_t *attr, int count)
>
> > int             pthread_barrier_init(pthread_barrier_t *,
> >                         const pthread_barrierattr_t *, unsigned);
>
> What is odd is that I can't see how this suddenly broke.

I just applied a fix to this.  I'm not sure if this will be the
only bug you find though (I haven't had a chance to test it
with the recent namespace.h changes).

-- 
DE




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0603281608250.18701-100000>