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

Port Bug Report: odbc interface can't be compiled (even in version 6.4.1)

From: Unprivileged user <nobody>
To: pgsql-ports(at)postgresql(dot)org
Subject: Port Bug Report: odbc interface can't be compiled (even in version 6.4.1)
Date: 1999-01-04 14:35:33
Message-ID: 199901041435.JAA00980@hub.org (view raw or flat)
Thread:
Lists: pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name		: Vincent RUIZ
Your email address	: webmaster(at)arobase(dot)fr

Category		: install: compile
Severity		: serious

Summary: odbc interface can't be compiled (even in version 6.4.1)

System Configuration
--------------------
  Operating System   : mkLinux DR3

  PostgreSQL version : 6.4.2

  Compiler used      : egcs-2.90.25 980302 (egcs-1.0.2 prerelease)

Hardware:
---------
PowerMac 7600 132 mgHz - 112 Mo Ram - Hard drive 1 Go

Versions of other tools:
------------------------
GNU Make version 3.76.1
flex version 2.5.4 

--------------------------------------------------------------------------

Problem Description:
--------------------
the file misc.c in src/interfaces/odbc causes error.

This is what the build returns :
gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes -I. -DHAVE_CONFIG_H -fpic   -c misc.c -o misc.o
misc.c:61: warning: no previous prototype for `mylog'
misc.c: In function `mylog':
misc.c:69: request for member `gpr' in something not a structure or union
misc.c:69: request for member `fpr' in something not a structure or union
.
.
.
misc.c:100: request for member `overflow_arg_area' in something not a structure or union
misc.c:100: request for member `overflow_arg_area' in something not a structure or union
misc.c:100: request for member `overflow_arg_area' in something not a structure or union
misc.c:100: request for member `overflow_arg_area' in something not a structure or union
misc.c:111: warning: passing arg 3 of `vfprintf' from incompatible pointer type
misc.c:94: warning: `args' might be used uninitialized in this function
misc.c:100: warning: `__ptr' might be used uninitialized in this function
gmake[2]: *** [misc.o] Error 1

--------------------------------------------------------------------------

Test Case:
----------
I simply do what is written into the INSTALL file :

./configure --with-template=linux_ppc --with-tcl --with-perl --with-odbc --with-x
gmake all

--------------------------------------------------------------------------

Solution:
---------


--------------------------------------------------------------------------


pgsql-ports by date

Next:From: Chris WilliamsDate: 1999-01-04 14:48:11
Subject: pgsql-ports@postgresql.org
Previous:From: Unprivileged userDate: 1999-01-04 11:54:40
Subject: Port Bug Report: SELECT * FROM ETHER WHERE MAC = '00:80:48:a9:88:32'; leads to coredump

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