Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
От | Lothar Behrens |
---|---|
Тема | Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260 |
Дата | |
Msg-id | 5ecae49f57cb0628c1f0a2c6c1fae87d@lollisoft.de обсуждение исходный текст |
Ответ на | Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260 ("Hiroshi Saito" <saito@inetrt.skcapi.co.jp>) |
Ответы |
Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
|
Список | pgsql-odbc |
Using #define TM_IN_SYS_TIME 1 didn't really helped. It was the missing #include <sys/time.h> statement in socket.c. But after all I get these error (./configure --with-unixodbc --enable-unicode=no): gcc -r -keep_private_externs -nostdlib -o .libs/psqlodbc30w.so-master.o info.lo bind.lo columninfo.lo connection.lo convert.lo drvconn.lo environ.lo execute.lo lobj.lo win_md5.lo misc.lo options.lo pgtypes.lo psqlodbc.lo qresult.lo results.lo socket.lo parse.lo statement.lo tuple.lo dlg_specific.lo loadlib.lo multibyte.lo odbcapi.lo descriptor.lo odbcapi30.lo pgapi30.lo info30.lo mylog.lo && gcc -bundle -o .libs/psqlodbc30w.so .libs/psqlodbc30w.so-master.o -L/sw/lib -lpq -L/usr/local/lib -lodbcinst -lc ld: .libs/psqlodbc30w.so-master.o illegal reference to symbol: _SSL_read defined in indirectly referenced dynamic library /usr/lib/libssl.0.9.7.dylib ld: warning multiple definitions of symbol _EncryptMD5 .libs/psqlodbc30w.so-master.o definition of _EncryptMD5 in section (__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 (__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 > 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 >> >> > > > -- Lothar Behrens | Rapid Prototyping ... Rosmarinstr 3 | 40235 Düsseldorf | www.lollisoft.de
В списке pgsql-odbc по дате отправления: