X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 06B589DCD6D for ; Wed, 22 Mar 2006 12:23:20 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86109-03 for ; Wed, 22 Mar 2006 12:23:17 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from MX03.KONTENT.De (mx03.kontent.de [81.88.34.122]) by postgresql.org (Postfix) with ESMTP id 4A1299DCCE6 for ; Wed, 22 Mar 2006 12:23:16 -0400 (AST) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by MX03.KONTENT.De (Postfix) with ESMTP id 348791800866 for ; Wed, 22 Mar 2006 17:02:18 +0100 (CET) Received: from jedi.behrens.de (p508427F5.dip0.t-ipconnect.de [80.132.39.245]) by Mail2.KONTENT.De (Postfix) with ESMTP id 3C63938800A for ; Wed, 22 Mar 2006 17:23:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by jedi.behrens.de (Postfix) with ESMTP id 65C2919FC0 for ; Wed, 22 Mar 2006 17:23:10 +0100 (CET) Received: from jedi.behrens.de ([127.0.0.1]) by localhost (jedi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19284-08 for ; Wed, 22 Mar 2006 17:23:09 +0100 (CET) Received: from [192.168.150.239] (mac.behrens.de [192.168.150.239]) by jedi.behrens.de (Postfix) with ESMTP id 7029E19DF2 for ; Wed, 22 Mar 2006 17:23:09 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <038501c64dc4$9358ffd0$01324d80@hiroshi5jz7dqj> References: <480c2c50162084990b48f0f1ed62356f@lollisoft.de> <16507.1143040116@sss.pgh.pa.us> <038501c64dc4$9358ffd0$01324d80@hiroshi5jz7dqj> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <5ecae49f57cb0628c1f0a2c6c1fae87d@lollisoft.de> Content-Transfer-Encoding: quoted-printable From: Lothar Behrens Subject: Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260 Date: Wed, 22 Mar 2006 17:23:08 +0100 To: pgsql-odbc@postgresql.org X-Mailer: Apple Mail (2.623) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/150 X-Sequence-Number: 7436 Using #define TM_IN_SYS_TIME 1 didn't really helped. It was the missing=20= #include statement in socket.c. But after all I get these error (./configure --with-unixodbc=20 --enable-unicode=3Dno): gcc -r -keep_private_externs -nostdlib -o .libs/psqlodbc30w.so-master.o=20= info.lo bind.lo columninfo.lo connection.lo convert.lo drvconn.lo=20 environ.lo execute.lo lobj.lo win_md5.lo misc.lo options.lo pgtypes.lo=20= psqlodbc.lo qresult.lo results.lo socket.lo parse.lo statement.lo=20 tuple.lo dlg_specific.lo loadlib.lo multibyte.lo odbcapi.lo=20 descriptor.lo odbcapi30.lo pgapi30.lo info30.lo mylog.lo && gcc -bundle=20= -o .libs/psqlodbc30w.so .libs/psqlodbc30w.so-master.o -L/sw/lib -lpq=20= -L/usr/local/lib -lodbcinst -lc ld: .libs/psqlodbc30w.so-master.o illegal reference to symbol:=20 _SSL_read defined in indirectly referenced dynamic library=20 /usr/lib/libssl.0.9.7.dylib ld: warning multiple definitions of symbol _EncryptMD5 .libs/psqlodbc30w.so-master.o definition of _EncryptMD5 in section=20 (__TEXT,__text) /sw/lib/libpq.dylib(md5.o) definition of _EncryptMD5 ld: warning multiple definitions of symbol _md5_hash .libs/psqlodbc30w.so-master.o definition of _md5_hash in section=20 (__TEXT,__text) /sw/lib/libpq.dylib(md5.o) definition of _md5_hash make[1]: *** [psqlodbc30w.la] Error 1 make: *** [all] Error 2 With or without unicode. More ideas ? Thanks, Lothar Am 22.03.2006 um 16:23 schrieb Hiroshi Saito: > 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=20 > again. > /* Define to 1 if your declares `struct tm'. */ > /* #undef TM_IN_SYS_TIME */ > > ----- Original Message ----- > From: "Tom Lane" > > >> Lothar Behrens 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 or=20 >> >> >> regards, tom lane >> >> ---------------------------(end of=20 >> broadcast)--------------------------- >> TIP 1: if posting/reading through Usenet, please send an appropriate >> subscribe-nomail command to majordomo@postgresql.org so that=20= >> your >> message can get through to the mailing list cleanly >> >> > > > -- Lothar Behrens | Rapid Prototyping ... Rosmarinstr 3 |=09 40235 D=FCsseldorf | www.lollisoft.de