libpthread compile failure

Kris Kennaway kris at obsecurity.org
Tue Mar 28 20:06:25 UTC 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20060328/980b457f/attachment.pgp


More information about the freebsd-amd64 mailing list