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

Re: help compiling psqldobc-08.03.0400

From: "Kulik, Scott" <SKulik(at)severstalna(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: help compiling psqldobc-08.03.0400
Date: 2009-07-09 19:07:07
Message-ID: 367B33A3B0BA27429CC76B74A71EECC45027DB@snaex01.ms.severstalna.com (view raw or flat)
Thread:
Lists: pgsql-odbc
Anyone have any ideas on this?  I've been playing around with some
different odbc and psqlodbc combinations with no luck so far.

 

I have tried all 8.0 versions of psqlodbc but they all get the same
errors running make as mentioned below.  I was able to successfully
compile the latest version 7 but am having issues created a database
link from oracle 10g with this version so I'm trying to get the latest
8.0 working.

 

Thanks!

 

From: Kulik, Scott 
Sent: Wednesday, June 24, 2009 3:34 PM
To: 'pgsql-odbc(at)postgresql(dot)org'
Subject: help compiling psqldobc-08.03.0400

 

Hi,

 

  Here are my specs:

 

Redhat Enterprise Linux AS4

 

unixODBC-2.2.14 (compiled from source)

psqlodbc-08.03.0400 (attempting to compile from source)

 

my postgresql rpm's:

[root(at)soo-srv-db4 psqlodbc-08.03.0400]# rpm -qa | grep postgres

postgresql-8.3.7-1PGDG.rhel4

postgresql-libs-8.3.7-1PGDG.rhel4

postgresql-devel-8.3.7-1PGDG.rhel4

 

...

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -g -O2 -MT
multibyte.lo -MD -MP -MF .deps/multibyte.Tpo -c multibyte.c  -fPIC -DPIC
-o .libs/multibyte.o

if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.   -I/usr/include -Wall       -g -O2 -MT odbcapi.lo -MD -MP -MF
".deps/odbcapi.Tpo" -c -o odbcapi.lo odbcapi.c; \

then mv -f ".deps/odbcapi.Tpo" ".deps/odbcapi.Plo"; else rm -f
".deps/odbcapi.Tpo"; exit 1; fi

 gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -g -O2 -MT
odbcapi.lo -MD -MP -MF .deps/odbcapi.Tpo -c odbcapi.c  -fPIC -DPIC -o
.libs/odbcapi.o

odbcapi.c:1115: error: syntax error before "SQLROWSETSIZE"

odbcapi.c: In function `SQLExtendedFetch':

odbcapi.c:1120: error: number of arguments doesn't match prototype

/usr/local/include/sqlext.h:1862: error: prototype declaration

odbcapi.c:1122: error: `hstmt' undeclared (first use in this function)

odbcapi.c:1122: error: (Each undeclared identifier is reported only once

odbcapi.c:1122: error: for each function it appears in.)

odbcapi.c:1132: error: `fFetchType' undeclared (first use in this
function)

odbcapi.c:1132: error: `irow' undeclared (first use in this function)

odbcapi.c:1132: error: `rgfRowStatus' undeclared (first use in this
function)

odbcapi.c:1133: error: `pcrow' undeclared (first use in this function)

make[1]: *** [odbcapi.lo] Error 1

make[1]: Leaving directory `/root/psqlodbc-08.03.0400'

make: *** [all] Error 2

 

Thanks

Scott K

Responses

pgsql-odbc by date

Next:From: Alex GoncharovDate: 2009-07-09 19:42:23
Subject: Re: help compiling psqldobc-08.03.0400
Previous:From: Alex GoncharovDate: 2009-07-06 18:02:06
Subject: Re: ODBC + BYTEA

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