Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 907D3475EC9 for ; Mon, 11 Nov 2002 16:20:10 -0500 (EST) Received: from smtp-3.paradise.net.nz (smtp-3b.paradise.net.nz [202.0.32.212]) by postgresql.org (Postfix) with ESMTP id E6DEA475B85 for ; Mon, 11 Nov 2002 16:20:09 -0500 (EST) Received: from kg15.kgdomain.com (203-79-65-63.tnt8.paradise.net.nz [203.79.65.63]) by smtp-3.paradise.net.nz (Postfix) with ESMTP id 9BF06ADF8E for ; Tue, 12 Nov 2002 10:20:09 +1300 (NZDT) Subject: Compiling Postgresql --with-unixodbc From: Kevin Gordon To: pgsql-php@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 12 Nov 2002 23:19:23 +1300 Message-Id: <1037096364.5421.4.camel@kg15.kgdomain.com> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/51 X-Sequence-Number: 1633 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