From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: Leonardo De La Cerda <leonardo@agavelab.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Problem compiling in mac os with unix odbc
Date: Fri, 2 Nov 2018 08:49:38 +0900
Message-ID: <130d636d-e1f9-abd4-bdb0-115bad0ddccc@dream.email.ne.jp> (raw)
In-Reply-To: <CADr7gDr00ALyKZxFCqpY8gBsPhe48aAUVV4eX=X8TcGrUj0Fiw@mail.gmail.com>
References: <CADr7gDr00ALyKZxFCqpY8gBsPhe48aAUVV4eX=X8TcGrUj0Fiw@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: h-inoue@dream.email.ne.jp, leonardo@agavelab.com
Subject: Re: Problem compiling in mac os with unix odbc
In-Reply-To: <130d636d-e1f9-abd4-bdb0-115bad0ddccc@dream.email.ne.jp>
References: <CADr7gDr00ALyKZxFCqpY8gBsPhe48aAUVV4eX=X8TcGrUj0Fiw@mail.gmail.com> <130d636d-e1f9-abd4-bdb0-115bad0ddccc@dream.email.ne.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox