Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260

From: "Hiroshi Saito" <saito(at)inetrt(dot)skcapi(dot)co(dot)jp>
To: "Lothar Behrens" <lothar(dot)behrens(at)lollisoft(dot)de>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
Date: 2006-03-22 15:23:30
Message-ID: 038501c64dc4$9358ffd0$01324d80@hiroshi5jz7dqj
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Ahhh,sorry...
It is fixed in the present CVS.

Please add config.h
#define TM_IN_SYS_TIME 1
However, define of config.h.in, then please run to configure once again.
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */

----- Original Message -----
From: "Tom Lane"

> Lothar Behrens <lothar(dot)behrens(at)lollisoft(dot)de> writes:
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include/postgresql -g -O2 -MT
> > socket.lo -MD -MP -MF .deps/socket.Tpo -c socket.c -fno-common -DPIC
> > -o socket.lo
> > socket.c: In function `SOCK_wait_for_ready':
> > socket.c:260: error: storage size of `tm' isn't known
>
> Perhaps that source file is missing an inclusion of <time.h> or <sys/time.h>
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Lothar Behrens 2006-03-22 15:55:01 Re: Database backend (7.4 versus 8.0) trouble ?
Previous Message Tom Lane 2006-03-22 15:08:36 Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260