Problem compiling in mac os with unix odbc - Mailing list pgsql-odbc

From Leonardo De La Cerda
Subject Problem compiling in mac os with unix odbc
Date
Msg-id CADr7gDr00ALyKZxFCqpY8gBsPhe48aAUVV4eX=X8TcGrUj0Fiw@mail.gmail.com
Whole thread Raw
Responses Re: Problem compiling in mac os with unix odbc  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
List pgsql-odbc
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 help me out?
Do you know what I'm doing wrong?

--
Leonardo de la Cerda
Datometry / Agave Lab

pgsql-odbc by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: SQLExecDirectW returns SQL_SUCCESS even if sql finishes witherror
Next
From: "Takahashi, Ryohei"
Date:
Subject: RE: SQLExecDirectW returns SQL_SUCCESS even if sql finishes witherror