Skip to Content.
Sympa Menu

freetds - Re: [freetds] make error: latest snapshot; 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: Re: [freetds] make error: latest snapshot; Solaris
  • Date: Thu, 7 Jul 2005 11:11:29 +0200

>
> Hi all,
>
> I've got past this problem now.
>
> The solution was to set the LD environment variable to the same as the
> CC environment variable, e.g. :
>
> setenv CC /apps/dev/tools/sun5/SUNWspro/bin/cc
> setenv LD $CC
>
> Now I'm getting a compilation error on dblib.c
>
> "dblib.c", line 192: undefined symbol:
> PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
> "dblib.c", line 192: warning: {}-enclosed initializer required
> "dblib.c", line 192: non-constant initializer: op "NAME"
> "dblib.c", line 192: warning: syntax error: empty declaration
> "dblib.c", line 227: cannot recover from previous errors
>
> which comes from dblib.c line 192:
>
> static TDS_MUTEX_DECLARE_RECURSIVE(dblib_mutex);
>
> TDS_MUTEX_DECLARE_RECURSIVE is #defined in tdsthread.h :
>
> #define TDS_MUTEX_DECLARE_RECURSIVE(name) pthread_mutex_t name =
> PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
>
> I can't find PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP #defined anywhere
> else...
>
> Any ideas ?
>
> Bill
>

Try this patch (it seems that snapshot is not updated today).

freddy77

Attachment: post64.diff.gz
Description: post64.diff.gz




Archive powered by MHonArc 2.6.24.

Top of Page