From owner-freebsd-current@FreeBSD.ORG Wed Jul 20 07:17:07 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D28E16A41F for ; Wed, 20 Jul 2005 07:17:07 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ADBE43D58 for ; Wed, 20 Jul 2005 07:17:06 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=ganbold.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.43 (FreeBSD)) id 1Dv97k-000AFu-Sk; Wed, 20 Jul 2005 16:36:13 +0900 Message-Id: <6.2.1.2.2.20050720161133.046a8880@202.179.0.80> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Wed, 20 Jul 2005 16:16:33 +0900 To: "Vincent Blondel" From: Ganbold In-Reply-To: <8268.192.168.1.25.1121840535.squirrel@192.168.1.25> References: <6.2.1.2.2.20050720124426.046af060@202.179.0.80> <8268.192.168.1.25.1121840535.squirrel@192.168.1.25> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: linuxthreads compile error in latest 6.0-BETA1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 07:17:07 -0000 Vincent, I installed linuxthreads from ports on another FreeBSD 5.4 machine. Then I created package from it using "pkg_create -b linuxthreads-2.2.3_16" command. Afterwards I copied new binary package to my FreeBSD 6.0 beta1 machine and installed it using "pkg_add -v linuxthreads-2.2.3_16.tgz". Maybe this is wrong workaround and yet I didn't test it yet. I needed linuxthreads in order to install flash player plugin. Flash plugin works fine in firefox at least. hth, Ganbold At 03:22 PM 7/20/2005, you wrote: >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@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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > >-- >Vincent Blondel >homepage : http://jlang.dyndns.org >registered LFS user : 7485 http://www.linuxfromscratch.org >maintainer : http://oryx.xtra-net.org > >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"