FreeBSD libthr on Redhat

Sergey Babkin babkin at
Tue Mar 31 04:55:13 PDT 2009

   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.
     Dear All,
     I am not able to post any message to the
     [2]freebsd-hackers at 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
     ../lib/     thr_sem.c:(.tex     ../lib/linux/libthr.a(     ....
     collect     make: *** [target] Error 1
     I underst     box.
     Then, I hav     included
     the     references. Even thou     /usr/bin/ld: errno@@FBSD_1.0     section
     .tbss mismatches non-TLS defi     section .bss
     /lib/ could not re     Here, the lib/ is a Redhat libc libra     ../lib/linux/ is a FreeBSD library (
     <     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


   1. 3D"mailto:srinivasg at"
   2. file://localhost/tmp/3D"mailt

More information about the freebsd-current mailing list