Skip to Content.
Sympa Menu

freetds - Re: [freetds] sqsh build fails with FreeTDS 1.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Igor Korot <ikorot01 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] sqsh build fails with FreeTDS 1.0
  • Date: Wed, 29 Jun 2016 10:42:47 -0400

Hi, Stuart,

On Tue, Jun 28, 2016 at 5:19 PM, Stuart Henderson <stu AT spacehopper.org> wrote:
> sqsh build is failing with newer FreeTDS. There's an easily fixed
> CS_TDS_80 that can be replaced with CS_TDS_71, but when that's done
> I run into this in src/dsp_conv.c:

What is you OS? What is you configure line? What is the exact error
message you received?

Thank you.

>
> /*
> * Take the existing format and strip it down according to the
> * type of date that we are processing and replace the ms
> * field if it exists.
> */
> #if defined(CS_BIGDATETIME_TYPE) && defined(CS_BIGTIME_TYPE)
> if (dt_fmt->datatype == CS_BIGDATETIME_TYPE || dt_fmt->datatype ==
> CS_BIGTIME_TYPE)
> fmt = dsp_datetime_strip( dt_fmt->datatype, conv_fmt, (int)
> dr.datesecfrac );
> else
> #endif
> fmt = dsp_datetime_strip( dt_fmt->datatype, conv_fmt, (int)
> dr.datemsecond );
>
>
> - CS_BIGDATETIME_TYPE etc are now defined, but the structure
> doesn't include datesecfrac:
>
> dsp_conv.c: In function 'dsp_datetime_conv':
> dsp_conv.c:665: error: 'CS_DATEREC' has no member named 'datesecfrac'
>
> Any suggestions for a better fix than just #if 0'ing it out?
> Thanks.
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page