Mark A. Stevens (marxtevens@netscape.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
successfullybuilt amd run PostgreSQL without the odbc flag(s) on this system.
No file was uploaded with this report