Skip to Content.
Sympa Menu

freetds - Re: [freetds] thread problem on Solaris

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] thread problem on Solaris
  • Date: Fri, 18 Aug 2006 18:34:53 +0200

Il giorno gio, 17/08/2006 alle 10.41 +0200, ZIGLIO, Frediano, VF-IT ha
scritto:
> 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.

This macro and some configure stuff fixed the problem !

> 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