Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0E5Q-0005UA-L2 for pgsql-odbc@arkaria.postgresql.org; Mon, 06 Jan 2014 17:35:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W0E5P-0001KW-TZ for pgsql-odbc@arkaria.postgresql.org; Mon, 06 Jan 2014 17:35:35 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0E5O-0001KP-W3 for pgsql-odbc@postgresql.org; Mon, 06 Jan 2014 17:35:35 +0000 Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0E5L-000571-Jq for pgsql-odbc@postgresql.org; Mon, 06 Jan 2014 17:35:34 +0000 Received: by mail-pb0-f44.google.com with SMTP id rq2so18757212pbb.31 for ; Mon, 06 Jan 2014 09:35:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=z/jJCXprQt6E6AW0qlEKe1q59Tmx8TFTb2TWdFwsnUg=; b=GTn1TerUtUMn+sVl4Pfsu/sUEL97PuVDM/g0Fe28g1f9Iwp9SuqS9qFkEB4q7wwkFy UejXRPDzjOfyuBaoub6wg3A3E+UEu/mWiyDzRUlvvOlgEIENV6BlVy1MLvAnxffrLc9b DSi19Y/dawwSAFgWjybz10TjP5Jj8vgGcmCVFZHJvpHoIix9deDrCCtG2QncAbxWiz9e hmSFTb0AjysZ30SEQK6dXeQKgBT2f3V9KAXwycevTGS+IB2wVD/zHuUaRwXQ9ehDP1CY Ej3uh7VE6UBfjHkRsXacDDPRus4viyi+of+OGYxmPXKn+z+mk+0hcPp0zh6m9JXZTYmL EC2Q== X-Received: by 10.68.130.10 with SMTP id oa10mr9094934pbb.160.1389029729069; Mon, 06 Jan 2014 09:35:29 -0800 (PST) Received: from panda.site (174-21-132-251.tukw.qwest.net. [174.21.132.251]) by mx.google.com with ESMTPSA id fm1sm32598813pab.22.2014.01.06.09.35.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Jan 2014 09:35:28 -0800 (PST) Message-ID: <52CAE95F.1020409@gmail.com> Date: Mon, 06 Jan 2014 09:35:27 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Bart Klein Ikink , "pgsql-odbc@postgresql.org" Subject: Re: Database link from Postgres to Oracle using ODBC References: , <52B9B0B1.4040104@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 01/06/2014 07:35 AM, Bart Klein Ikink wrote: > I have included the path, but still having problems. What is wrong here? > export PATH=$PATH:/root/test/unixODBC-2.3.2/include:/usr/pgsql-9.2/bin > > make USE_PGXS=1 > 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 > Not quite sure but I would say you do not have the Postgres development files. Did you install Postgresql 9.2 from source or from a package? If from a package you will need to install the postgresql-devel package for 9.2 -- 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