pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Gordon <kgordon@paradise.net.nz>
To: pgsql-php@postgresql.org
Subject: Compiling Postgresql --with-unixodbc
Date: 12 Nov 2002 23:19:23 +1300
Message-ID: <1037096364.5421.4.camel@kg15.kgdomain.com> (raw)


Compiling Postgresql
Please advise if this is a bug or am I causing the error:
****************************************************************************************
gcc -march=pentium3 -O3 -pipe -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include  -DFRONTEND
-DMD5_ODBC  -c -o info.o info.c -MMD
In file included from /usr/include/sql.h:17,
                 from /usr/include/odbcinst.h:20,
                 from psqlodbc.h:41,
                 from info.c:19:
/usr/include/sqltypes.h:278: redefinition of `struct tagDATE_STRUCT'
/usr/include/sqltypes.h:289: redefinition of `struct tagTIME_STRUCT'
/usr/include/sqltypes.h:300: redefinition of `struct
tagTIMESTAMP_STRUCT'
make[3]: *** [info.o] Error 1
make[3]: Leaving directory
`/usr2/toclear/portage/postgresql-7.2.3-r1/work/postgresql-7.2.3/src/interfaces/odbc'
******************************************************************************************
Configuration Used:

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--host=${CHOST} \
		--docdir=/usr/share/doc/${P} \
		--libdir=/usr/lib \
		--enable-syslog \
		--enable-depend \
		--with-gnu-ld \
		--with-pam \
		--with-maxbackends=1024 \
		--with-tcl --with-python --with-perl --with-openssl \
		--enable-locale \
		--enable-nls --enable-multibyte --enable-odbc \ 		--with-unixodbc \
		--with-CXX







Message-ID: <1037096364.5421.4.camel@kg15.kgdomain.com>
Permalink:  ../1037096364.5421.4.camel@kg15.kgdomain.com/
Also on:    postgresql.org/message-id/1037096364.5421.4.camel@kg15.kgdomain.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-php@postgresql.org
  Cc: kgordon@paradise.net.nz
  Subject: Re: Compiling Postgresql --with-unixodbc
  In-Reply-To: <1037096364.5421.4.camel@kg15.kgdomain.com>
  References: <1037096364.5421.4.camel@kg15.kgdomain.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