Skip to Content.
Sympa Menu

freetds - Re: [freetds] mingw, gcc 3.4.2 & freetds-0.64

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "Dave" <sfngilm AT earthlink.net>, "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] mingw, gcc 3.4.2 & freetds-0.64
  • Date: Thu, 17 Aug 2006 11:42:06 +0200

>
> Hi All,
>
> Has anybody had any luck compiling freetds 0.64 under mingw?
> I've tried the default options to configure, as well as:
> --prefix=/usr/local/freetds --disable-odbc --build=mingw32
> --disable-server --disable-poool --disable-shared .
>
> While the static libraries appear to build fine, tsql bombs
> out on references to gettimeofday (tsql.c:215) and
> readpassphrase(tsql.c 409). I tried commenting out that
> functionality in tsql, but then I got conflicting types for
> PARAMDATA (declared in oleauto.h and freebcp.h).
>
> If anybody has any hints I'd appreciate it.
>
>
> Thanks,
> David
>

Well... I did some months ago and fixed some issue on CVS HEAD... that
is after 0.64. As you spot I had to implement gettimeofday and
readpassphrase for Windows and rename PARAMDATA to BCPPARAMDATA.
Yesterday I tried again using a cross compiler and I was able to compile
without problems.

freddy77





Archive powered by MHonArc 2.6.24.

Top of Page