Date: Wed, 20 Jul 2005 12:47:50 +0900 From: Ganbold <ganbold@micom.mng.net> To: freebsd-current@freebsd.org Cc: tegge@freebsd.org Subject: linuxthreads compile error in latest 6.0-BETA1 Message-ID: <6.2.1.2.2.20050720124426.046af060@202.179.0.80>
next in thread | raw e-mail | index | archive | help
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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.1.2.2.20050720124426.046af060>