From: | Leonardo De La Cerda <leonardo(at)agavelab(dot)com> |
---|---|
To: | h-inoue(at)dream(dot)email(dot)ne(dot)jp |
Cc: | pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: Problem compiling in mac os with unix odbc |
Date: | 2018-11-07 00:03:30 |
Message-ID: | CADr7gDqZ5xTNJOXw3piD=hKWMyuxiGXVs=g9ab_wvy_sySyPvA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Here's the declaration of SQLBindCol in /usr/local/include/sql.h
> SQLRETURN SQL_API SQLBindCol(SQLHSTMT StatementHandle,
> SQLUSMALLINT ColumnNumber, SQLSMALLINT
> TargetType,
> SQLPOINTER TargetValue, SQLLEN
> BufferLength,
> SQLLEN *StrLen_or_Ind);
By the way...
I'm facing exactly the same problem when I try to compile it under Linux
CentOS.
On Thu, Nov 1, 2018 at 4:49 PM Inoue, Hiroshi <h-inoue(at)dream(dot)email(dot)ne(dot)jp>
wrote:
> 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
>
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> ウイルス
> フリー。 www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> <#m_-1331372409145391167_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
--
Leonardo de la Cerda
Datometry / Agave Lab
From | Date | Subject | |
---|---|---|---|
Next Message | Inoue, Hiroshi | 2018-11-07 02:17:59 | Re: Out of memory while reading tuples |
Previous Message | Ron | 2018-11-06 20:35:22 | Re: Fwd: Log file |