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

Re: [ADMIN] pgsql 6.4.2 build error

From: Jan Kim <kim(at)mpiz-koeln(dot)mpg(dot)de>
To: webmaster(at)arobase(dot)fr, pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [ADMIN] pgsql 6.4.2 build error
Date: 1999-01-13 18:11:40
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
On Wed, Jan 13, 1999 at 06:48:54PM +0100, Vincent RUIZ wrote:

> ./configure --with-template=linux_ppc --with-tcl --with-perl --with-odbc
> -- with-x
> gmake all
> gcc -I../../include -I../../backend   -O2  -Wall -Wmissing-prototypes
> -I. -DHAVE_CONFIG_H -fpic   -c mis
> c.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


> Everything seems to be ok if I remove --with-odbc.
> I use mkLinux DR3 and egcs-2.90.25 980302 (egcs-1.0.2 prerelease) .
> What is wrong ??? Help!!!!

Difficult to say what is wrong precisely, you'll have to run the file
through the preprocessor and try to figure out. Use

    % cd interfaces/odbc
    % gcc -I../../include -I../../backend   -O2  -Wall \
      -Wmissing-prototypes -I. -DHAVE_CONFIG_H -fpic   -E misc.c > blah

and check file blah.

The ODBC code generally tends to be troublesome in my experience -- I
had to fix some stuff there to get it through the compiler (on DEC Alpha
and SGI, the compilers didn't like the C++ style comments and also, I had
to change lines 64 and 94 in misc.c from "char *args;" to "va_list args;".
I guess that's what is meant by "minor patchable problems", stated in

Greetinx, Jan
 +- Jan T. Kim -------------------------------------------------------+
 |             email: kim(at)mpiz-koeln(dot)mpg(dot)de                           |
 |             WWW:              |
 *-----=<  hierarchical systems are for files, not for humans  >=-----*

In response to


pgsql-admin by date

Next:From: LanceDate: 1999-01-13 19:57:35
Subject: subscribe
Previous:From: Vincent RUIZDate: 1999-01-13 17:48:54
Subject: pgsql 6.4.2 build error

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