pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@gmail.com>
To: Bart Klein Ikink <bart_klein_ikink@hotmail.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Database link from Postgres to Oracle using ODBC
Date: Thu, 09 Jan 2014 08:03:03 -0800
Message-ID: <52CEC837.8090400@gmail.com> (raw)
In-Reply-To: <DUB117-W13BEA45520A6C9429550D0C1B00@phx.gbl>
References: <DUB117-W51E431DFD596F52C6857FDC1C00@phx.gbl>
<52B9B0B1.4040104@gmail.com>
<DUB117-W289AB9B4908F97A598CB86C1B70@phx.gbl>
<52CAE95F.1020409@gmail.com>
<DUB117-W230CE3A1A11A11A2A61E72C1B70@phx.gbl>
<52CAFE62.8010002@gmail.com>
<DUB117-W223CA3A8CBAC617F54593BC1B60@phx.gbl>
<52CC1CFE.9080805@gmail.com>
<DUB117-W13BEA45520A6C9429550D0C1B00@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 01/09/2014 02:31 AM, Bart Klein Ikink wrote:
> I have RHEL 6. I have now tried something different:
>
> - yum install gcc
> - yum install postgresql92-devel-9.2.5
> - yum install unixODBC-2.3.0
> - yum install unixODBC-devel
>
>
>
> Then:
>
> - cd ODBC-Link-1.0.4
> - export PATH=$PATH:/usr/pgsql-9.2/bin
> - make USE_PGXS=1
>
> But still having:
>
>
>
> gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fpic -I. -I. -I/usr/pgsql-9.2/include/server -I/usr/pgsql-9.2/include/internal -I/usr/include/et -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o odbclink.o odbclink.c
> odbclink.c: In function âget_dataâ:
> odbclink.c:746: error: âtimestamp_inâ undeclared (first use in this function)
> odbclink.c:746: error: (Each undeclared identifier is reported only once
> odbclink.c:746: error: for each function it appears in.)
> odbclink.c:749: error: âtimestamptz_inâ undeclared (first use in this function)
> make: *** [odbclink.o] Error 1
>
>
See if this works.
In the ODBC-Link-1.0.4 directory open odbclink.c
and at the top of the file under the other #includes add:
#include "utils/timestamp.h"
If that does not work then I would suggest contacting the authors of
ODBC-Link and see if they have any suggestions.
--
Adrian Klaver
adrian.klaver@gmail.com
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
view thread (11+ messages)
Message-ID: <52CEC837.8090400@gmail.com> Permalink: ../52CEC837.8090400@gmail.com/ Also on: postgresql.org/message-id/52CEC837.8090400@gmail.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-odbc@postgresql.org Cc: adrian.klaver@gmail.com, bart_klein_ikink@hotmail.com Subject: Re: Database link from Postgres to Oracle using ODBC In-Reply-To: <52CEC837.8090400@gmail.com> References: <DUB117-W51E431DFD596F52C6857FDC1C00@phx.gbl> <52B9B0B1.4040104@gmail.com> <DUB117-W289AB9B4908F97A598CB86C1B70@phx.gbl> <52CAE95F.1020409@gmail.com> <DUB117-W230CE3A1A11A11A2A61E72C1B70@phx.gbl> <52CAFE62.8010002@gmail.com> <DUB117-W223CA3A8CBAC617F54593BC1B60@phx.gbl> <52CC1CFE.9080805@gmail.com> <DUB117-W13BEA45520A6C9429550D0C1B00@phx.gbl> <52CEC837.8090400@gmail.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox