Skip site navigation (1) Skip section navigation (2)

psqlodbc

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Postgres Interfaces Mailing List <pgsql-interfaces(at)postgresql(dot)org>
Subject: psqlodbc
Date: 1998-07-28 02:22:13
Message-ID: 35BD35D5.AAFAFC7D@alumni.caltech.edu (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfaces
I'm trying to build the ODBC driver to use with an iODBC interface for
the upcoming release of ApplixWare on Linux. I notice that in the last
few days the psqlodbc distribution has acquired a Makefile and a
README.Linux, but the build is not going very well.

Has anyone tried to build on a Unix box recently? If so, how?? The first
file fails on a WINAPI-ed typedef...

                      - Tom

golem$ make
gcc -g -c -Wall  -O -fPIC  -I. -I.. -I -I -g -DHAVE_CONFIG_H    -c
info.c -o info.o
In file included from info.c:41:
connection.h:166: parse error before `*'
connection.h:177: parse error before `*'
connection.h:202: parse error before `HINSTANCE'
connection.h:202: warning: no semicolon at end of struct or union
connection.h:203: warning: data definition has no type or storage class
connection.h:204: parse error before `DriverToDataSource'
connection.h:204: warning: data definition has no type or storage class
connection.h:207: parse error before `}'
info.c: In function `SQLGetInfo':
info.c:190: dereferencing pointer to incomplete type
info.c:197: dereferencing pointer to incomplete type
info.c:302: dereferencing pointer to incomplete type
info.c:303: dereferencing pointer to incomplete type
info.c:622: dereferencing pointer to incomplete type
info.c:717: dereferencing pointer to incomplete type
info.c:724: dereferencing pointer to incomplete type
info.c:725: dereferencing pointer to incomplete type
info.c:62: warning: `p' might be used uninitialized in this function
info.c: In function `SQLGetTypeInfo':
info.c:746: warning: left-hand operand of comma expression has no effect
info.c:746: warning: statement with no effect
info.c: In function `SQLTables':
info.c:1007: warning: left-hand operand of comma expression has no
effect
info.c:1007: warning: statement with no effect
info.c:1017: dereferencing pointer to incomplete type
info.c:1180: warning: left-hand operand of comma expression has no
effect
info.c:1180: warning: left-hand operand of comma expression has no
effect
info.c:1180: warning: left-hand operand of comma expression has no
effect
info.c:1180: warning: statement with no effect

Responses

pgsql-hackers by date

Next:From: Vadim MikheevDate: 1998-07-28 02:57:35
Subject: Re: [HACKERS] Bogus "Non-functional update" notices
Previous:From: t-ishiiDate: 1998-07-28 01:32:41
Subject: Re: [HACKERS] current snapshot

pgsql-interfaces by date

Next:From: Pap TiborDate: 1998-07-28 06:07:38
Subject: JDBC or JDK problem? Can't find class...
Previous:From: Mikael HammarinDate: 1998-07-27 20:38:14
Subject: RE: [INTERFACES] JDBC & IE40

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group