From owner-freebsd-current@FreeBSD.ORG Tue Mar 31 13:58:48 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E581510656D1 for ; Tue, 31 Mar 2009 13:58:48 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) by mx1.freebsd.org (Postfix) with ESMTP id A457D8FC08 for ; Tue, 31 Mar 2009 13:58:48 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.21] (helo=11.mx.freenet.de) by mout3.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #79) id 1LoeUK-0000LH-2r; Tue, 31 Mar 2009 15:58:48 +0200 Received: from tc973.t.pppool.de ([89.55.201.115]:49688 helo=ernst.jennejohn.org) by 11.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1LoeUJ-0000rC-LO; Tue, 31 Mar 2009 15:58:48 +0200 Date: Tue, 31 Mar 2009 15:58:46 +0200 From: Gary Jennejohn To: freebsd-current@freebsd.org Message-ID: <20090331155846.7022bb49@ernst.jennejohn.org> In-Reply-To: <1762266444.173443.1238500501801.JavaMail.root@vms244.mailsrvcs.net> References: <1762266444.173443.1238500501801.JavaMail.root@vms244.mailsrvcs.net> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Sergey Babkin Subject: Re: FreeBSD libthr on Redhat X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 13:58:51 -0000 On Tue, 31 Mar 2009 06:55:01 -0500 (CDT) Sergey Babkin wrote: > No, you can not use the libthr from FreeBSD on Linux. You would not be > it if you try, since it requires the kernel support available on Linux. > For portability to different OSes, pthr there really > should not be that much perfo BTW, for better luck with posting to the m something sensible > into the Subject field.Emp spam filter. > -SB > Ma Actually, srinivasg@esntechnologies.co.in wrote the stuff below here. > Dear All, > I am not able to post any message to the > [2]freebsd-hackers@freebsd.org ID. > When I post a message, I did to > receive the messages from all message to > you individually. Please, my re list. > I have written an application library > for creating the pthreads. Howe optimization, I > want to use the libthr.a library However, > when I tried to use on my Redha errors. > ../lib/linux/libthr.a(thr_sem thr_sem.c:(.text+0x100): undefined referen thr_sem.c:(.text+0x115): undefined reference to `ksem_ ../lib/linux/libthr.a(thr_sem.o): In function > `_sem_destroy':thr_sem.c:(.text+0x216): undefined reference to > `ksem_destroy' > ../lib/ thr_sem.c:(.tex ../lib/linux/libthr.a( .... > .... > .... > collect make: *** [target] Error 1 > I underst box. > Then, I hav included > the libc.so.7 references. Even thou /usr/bin/ld: errno@@FBSD_1.0 section > .tbss mismatches non-TLS defi section .bss > /lib/libc.so.6: could not re Here, the lib/libc.so.6 is a Redhat libc libra ../lib/linux/libc.so is a FreeBSD library (libc.so.7). > < Redhat > L Please let me know the whether it is possible to use the library on Redhat box or not. > Thanks in advance. > Srinivas G > > > References > > 1. 3D"mailto:srinivasg@esntechnologies.co.in" > 2. file://localhost/tmp/3D"mailt_______________________________________________ The formatting of your e-mails is totally fubar, which makes it very diffcult to read them. --- Gary Jennejohn