Skip to Content.
Sympa Menu

freetds - [freetds] thread problem on Solaris

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] thread problem on Solaris
  • Date: Thu, 17 Aug 2006 10:41:27 +0200

It seems that we have some problems with Solaris using thread. See dblib
thread test at
http://freetds.sourceforge.net/outsf/sparc-solaris2/dblib_thread.1.html.
>From http://freetds.sourceforge.net/outsf/sparc-solaris2/conf.1.html you
can note that pthread_create is found in default Solaris libraries. I
searched for some thread m4 macro and I found at
http://autoconf-archive.cryp.to/acx_pthread.html ACX_PTHREAD.
Specifically

On Solaris (at least, for some versions), libc contains stubbed
(non-functional) versions of the pthreads routines, so link-based tests
will erroneously succeed.

Damn...

I think I'll try to use this macro. Solaris users should forse some
options using CFLAGS/LDFLAGS macros.

freddy77





Archive powered by MHonArc 2.6.24.

Top of Page