Compiling Postgresql --with-unixodbc

From: Kevin Gordon <kgordon(at)paradise(dot)net(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Compiling Postgresql --with-unixodbc
Date: 2002-11-12 09:31:45
Message-ID: 1037093506.5209.21.camel@kg15.kgdomain.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Browse pgsql-general by date

  From Date Subject
Next Message Verger Nicolas 2002-11-12 09:52:53 RE : Stability problems
Previous Message Don Felgar 2002-11-12 09:21:47 No primary key in pg_shadow