FreeBSD libthr on Redhat

Sergey Babkin babkin at verizon.net
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.
   -SB
   Ma
     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@@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


More information about the freebsd-current mailing list