Skip site navigation (1) Skip section navigation (2)

Bug #720: Unable to make postgreSql 7.2.1 on Slackware 7.1 Linux 2.2.16

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #720: Unable to make postgreSql 7.2.1 on Slackware 7.1 Linux 2.2.16
Date: 2002-07-26 02:06:09
Message-ID: 20020726020609.A391F475894@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Mark A. Stevens (marxtevens(at)netscape(dot)net) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Unable to make postgreSql 7.2.1 on Slackware 7.1 Linux 2.2.16

Long Description
The following command succeeds (FYI):
./configure  --prefix=/opt/local --with-perl --with-tcl --with-java --enable-syslog --with-openssl=/opt/local --with-unixodbc --enable-odbc --enable-depend --enable-multibyte

Make fails with:

...
info.c:3707: dereferencing pointer to incomplete type
info.c:3708: dereferencing pointer to incomplete type
info.c:3709: dereferencing pointer to incomplete type
info.c:3710: dereferencing pointer to incomplete type
info.c:3713: `SQL_ERROR' undeclared (first use in this function)
info.c:3714: warning: control reaches end of non-void function
make[3]: *** [info.o] Error 1
make[3]: Leaving directory `/opt/local/src/postgres/postgresql-7.2.1/src/interfaces/odbc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/local/src/postgres/postgresql-7.2.1/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/local/src/postgres/postgresql-7.2.1/src'
make: *** [all] Error 2



Sample Code
in psqlodbc.h:
...
#if defined(WIN32) || defined(WITH_UNIXODBC) || defined(WITH_IODBC)
#include <sql.h>
#include <sqlext.h>
#else
#include "iodbc.h"
#include "isql.h"
#include "isqlext.h"
#endif

there's something missing in sql.h or logic is somehow incorrect?
I can't find sql.h or sqlext.h on my system at all, so I guess I'm missing something, but I don't know what. I've successfully built amd run PostgreSQL without the odbc flag(s) on this system.


No file was uploaded with this report


pgsql-bugs by date

Next:From: serge.zangheriDate: 2002-07-26 10:28:17
Subject: share lib libpq++
Previous:From: Tom LaneDate: 2002-07-25 15:11:09
Subject: Re: Bug #719: Restoring inherited data destroys parent table data.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group