Re: linuxthreads compile error in latest 6.0-BETA1

From: Vincent Blondel <vincent_at_xtra-net.org>
Date: Wed, 20 Jul 2005 08:22:15 +0200 (CEST)
As you can see it we got the same problem.

I don't have found any solution for it. This mailing list suggested to me
to take contact with the responsible of this port but I don't have the
time yet to do it.

Now, this is done with this port and I am waiting for a response ...

Regards
Vincent.

> Hi,
>
> I have FreeBSD 6.0 beta1 and I couldn't compile linuxthreads from ports.
> How can I compile it successfully?
>
> thanks in advance,
>
> Ganbold
>
> daemon# uname -an
> FreeBSD daemon.ub.mng.net 6.0-BETA1 FreeBSD 6.0-BETA1 #0: Tue Jul 19
> 14:50:06 ULAST
> 2005     tsgan_at_daemon.ub.mng.net:/usr/obj/usr/src/sys/DAEMON  i386
> daemon#
>
> cc -O2 -fno-strict-aliasing -pipe   -D_PTHREADS -I../ -I../sysdeps/i386
> -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -fexceptions -DIN_GCC
> -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -DFINE_GRAINED_LIBRARIES
> -D_PTHREADS
> -DGTHREAD_USE_WEAK
> -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools
> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
> -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  -c
> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c
> In file included from ../sysdeps/pthread/pthread.h:27,
>                   from
> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h:43,
>                   from
> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:83,
>                   from
> /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42:
> ../sysdeps/pthread/bits/pthreadtypes.h:51: error: conflicting types for
> 'pthread_attr_t'
> /usr/include/sys/_pthreadtypes.h:65: error: previous declaration of
> 'pthread_attr_t' was here
> ../sysdeps/pthread/bits/pthreadtypes.h:59: error: conflicting types for
> 'pthread_cond_t'
> /usr/include/sys/_pthreadtypes.h:68: error: previous declaration of
> 'pthread_cond_t' was here
> ../sysdeps/pthread/bits/pthreadtypes.h:66: error: conflicting types for
> 'pthread_condattr_t'
> /usr/include/sys/_pthreadtypes.h:69: error: previous declaration of
> 'pthread_condattr_t' was here
> ../sysdeps/pthread/bits/pthreadtypes.h:69: error: conflicting types for
> 'pthread_key_t'
> /usr/include/sys/_pthreadtypes.h:70: error: previous declaration of
> 'pthread_key_t' was here
> ../sysdeps/pthread/bits/pthreadtypes.h:82: error: conflicting types for
> 'pthread_mutex_t'
> /usr/include/sys/_pthreadtypes.h:66: error: previous declaration of
> 'pthread_mutex_t' was here
> ../sysdeps/pthread/bits/pthreadtypes.h:89: error: conflicting types for
> 'pthread_mutexattr_t'
> /usr/include/sys/_pthreadtypes.h:67: error: previous declaration of
> 'pthread_mutexattr_t' was here
> ../sysdeps/pthread/bits/pthreadtypes.h:93: error: conflicting types for
> 'pthread_once_t'
> /usr/include/sys/_pthreadtypes.h:71: error: previous declaration of
> 'pthread_once_t' was here
> ../sysdeps/pthread/bits/pthreadtypes.h:139: error: conflicting types for
> 'pthread_t'
> /usr/include/sys/_pthreadtypes.h:64: error: previous declaration of
> 'pthread_t' was here
> *** Error code 1
>
> Stop in /usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_16/libgcc_r.
> *** Error code 1
>
> Stop in /usr/ports/devel/linuxthreads.
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>


-- 
Vincent Blondel
homepage : http://jlang.dyndns.org
registered LFS user : 7485 http://www.linuxfromscratch.org
maintainer : http://oryx.xtra-net.org
Received on Wed Jul 20 2005 - 04:22:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC