Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 15:06:24 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        amd64@FreeBSD.org
Cc:        threads@FreeBSD.org
Subject:   libpthread compile failure
Message-ID:  <20060328200624.GA10800@xor.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.

Kris

--qDbXVdCdHGoSgWSk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFEKZc/Wry0BWjoQKURAgKYAKC4hKSq0jxYgPTu20Yq+iiOxBTMRgCfemm7
blr4fpE/tZatgTYIWPpmQHk=
=0yOd
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060328200624.GA10800>