Date: Tue, 31 Mar 2009 15:58:46 +0200 From: Gary Jennejohn <gary.jennejohn@freenet.de> To: freebsd-current@freebsd.org Cc: Sergey Babkin <babkin@verizon.net> Subject: Re: FreeBSD libthr on Redhat 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 31 Mar 2009 06:55:01 -0500 (CDT) Sergey Babkin <babkin@verizon.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090331155846.7022bb49>