Re: Problem compiling in mac os with unix odbc

From: "Inoue, Hiroshi" <h-inoue(at)dream(dot)email(dot)ne(dot)jp>
To: Leonardo De La Cerda <leonardo(at)agavelab(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Problem compiling in mac os with unix odbc
Date: 2018-11-01 23:49:38
Message-ID: 130d636d-e1f9-abd4-bdb0-115bad0ddccc@dream.email.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi Leonardo,

On 2018/11/01 8:17, Leonardo De La Cerda wrote:
> Hi pgsql odbc folks,
>
> I'm having problems compiling this code.
>
> I installed unixodbc like this:
>
> brew install unixodbc
>
>
> I'm running this to compile it
>
> ./configure --with-unixodbc --with-odbcinst=/Users/myself/unixodbc
> make
>
>
> But I'm facing some errors, all similar to this one:
>
> odbcapi.c:76:1: error: conflicting types for 'SQLBindCol'
> SQLBindCol(HSTMT StatementHandle,
> ^
> /usr/local/include/sql.h:590:24: note: previous declaration is here
> SQLRETURN  SQL_API SQLBindCol(SQLHSTMT StatementHandle,
>

Could you show me the declaration of SQLBindCol() in
/usr/local/include/sql.h?

regards,
Hiroshi Inoue

>  ^
>
>
>
> Could you help me out?
> Do you know what I'm doing wrong?
>
> --
> Leonardo de la Cerda
> Datometry / Agave Lab

---
このメールは、AVG によってウイルス チェックされています。
http://www.avg.com

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Inoue, Hiroshi 2018-11-01 23:59:52 Re: SQLExecDirectW returns SQL_SUCCESS even if sql finishes with error
Previous Message Clemens Ladisch 2018-11-01 09:01:20 Re: SQLExecDirectW returns SQL_SUCCESS even if sql finishes with error