Problem compiling in mac os with unix odbc

Поиск
Список
Период
Сортировка
От Leonardo De La Cerda
Тема Problem compiling in mac os with unix odbc
Дата
Msg-id CADr7gDr00ALyKZxFCqpY8gBsPhe48aAUVV4eX=X8TcGrUj0Fiw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Problem compiling in mac os with unix odbc  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
Список 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 по дате отправления:

Предыдущее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: SQLExecDirectW returns SQL_SUCCESS even if sql finishes witherror
Следующее
От: "Takahashi, Ryohei"
Дата:
Сообщение: RE: SQLExecDirectW returns SQL_SUCCESS even if sql finishes witherror