Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260 - Mailing list pgsql-odbc

From Hiroshi Saito
Subject Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
Date
Msg-id 038501c64dc4$9358ffd0$01324d80@hiroshi5jz7dqj
Whole thread Raw
In response to Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260  (Lothar Behrens <lothar.behrens@lollisoft.de>)
Responses Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
List 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.behrens@lollisoft.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@postgresql.org so that your
>        message can get through to the mailing list cleanly
>
>


pgsql-odbc by date:

Previous
From: Ludek Finstrle
Date:
Subject: Re: ADO operations
Next
From: Lothar Behrens
Date:
Subject: Re: Database backend (7.4 versus 8.0) trouble ?