Compiling Postgresql --with-unixodbc - Mailing list pgsql-general

From Kevin Gordon
Subject Compiling Postgresql --with-unixodbc
Date
Msg-id 1037093506.5209.21.camel@kg15.kgdomain.com
Whole thread Raw
List 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




pgsql-general by date:

Previous
From: "kimbuba"
Date:
Subject: Rdbms Case tool
Next
From: "Lakshmi Narayanan V"
Date:
Subject: Invlalid EUC_JP character