Re: FreeBSD libthr on Redhat

From: Gary Jennejohn <gary.jennejohn_at_freenet.de>
Date: Tue, 31 Mar 2009 15:58:46 +0200
On Tue, 31 Mar 2009 06:55:01 -0500 (CDT)
Sergey Babkin <babkin_at_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_at_esntechnologies.co.in wrote the stuff below here.
>      Dear All,
>      I am not able to post any message to the
>      [2]freebsd-hackers_at_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_at__at_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_at_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
Received on Tue Mar 31 2009 - 11:58:48 UTC

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