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

Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260

From: Lothar Behrens <lothar(dot)behrens(at)lollisoft(dot)de>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
Date: 2006-03-22 16:23:08
Message-ID: 5ecae49f57cb0628c1f0a2c6c1fae87d@lollisoft.de (view raw or flat)
Thread:
Lists: 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(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
>>
>>
>
>
>
--
Lothar Behrens	|	Rapid Prototyping ...
Rosmarinstr 3		|	
40235 Düsseldorf  	|	www.lollisoft.de



In response to

Responses

pgsql-odbc by date

Next:From: Hiroshi SaitoDate: 2006-03-22 17:03:19
Subject: Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
Previous:From: Ludek FinstrleDate: 2006-03-22 16:15:55
Subject: Re: Database backend (7.4 versus 8.0) trouble ?

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