pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: lothar.behrens@lollisoft.de <lothar.behrens@lollisoft.de>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Build failure on Mac OS X 10.3.9
Date: Sun, 24 Dec 2006 00:37:03 +0900
Message-ID: <458D4D1F.1090901@tpf.co.jp> (raw)
In-Reply-To: <1166874086.243776.307950@i12g2000cwa.googlegroups.com>
References: <1166867879.075308.222460@h40g2000cwb.googlegroups.com>
	<458D07C9.3030003@tpf.co.jp>
	<1166874086.243776.307950@i12g2000cwa.googlegroups.com>

lothar.behrens@lollisoft.de wrote:
>> *** socket.c.orig	Tue Oct 24 00:16:47 2006
>> --- socket.c	Sat Dec 23 19:36:39 2006
>> ***************
>> *** 24,29 ****
>> --- 24,30 ----
>>   #include <string.h>				/* for memset */
>>   #if defined(TM_IN_SYS_TIME)
>>   #include <sys/time.h>
>> + #include <time.h>
>>   #else
>>     
>
> Here should be the line (after the above else line)
>
> #include <sys/time.h>
>
>   
>>   #include <time.h>
>>   #endif /* defined(TM_IN_SYS_TIME) */
>>
>>     
>
> Now I have another error:
>
> After an error by indirectly linking to libssl I have added -lssl to
> the makefile. Then I get this error:
>
> ld: Undefined symbols:
> _CONNLOCK_ACQUIRE
> _CONNLOCK_RELEASE
> _INIT_CONNLOCK
>
> Where are these functions ?
>   

It is already fixed in the current CVS.
Please apply the following patch .

===================================================================
RCS file: /cvsroot/psqlodbc/psqlodbc/connection.h,v
retrieving revision 1.79
retrieving revision 1.80
inline patch 1: psqlodbc/psqlodbc/connection.h (+3/-1 lines) download inline-1.patchdiff -u -p -r1.79 -r1.80 --- psqlodbc/psqlodbc/connection.h 2006/10/31 12:21:28 1.79 +++ psqlodbc/psqlodbc/connection.h 2006/11/03 10:41:19 1.80 @@ -173,8 +173,10 @@ do { \ #define INIT_CONNLOCK(x) #define TRY_ENTER_CONN_CS(x) #define ENTER_CONN_CS(x) -#define ENTER_INNER_CONN_CS(x, entered) (0) +#define CONNLOCK_ACQUIRE(x) +#define ENTER_INNER_CONN_CS(x, entered) #define LEAVE_CONN_CS(x) +#define CONNLOCK_RELEASE(x) #define DELETE_CONN_CS(x) #define DELETE_CONNLOCK(x) #endif /* WIN_MULTITHREAD_SUPPORT */

view thread (4+ messages)

Message-ID: <458D4D1F.1090901@tpf.co.jp>
Permalink:  ../458D4D1F.1090901@tpf.co.jp/
Also on:    postgresql.org/message-id/458D4D1F.1090901@tpf.co.jp

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, lothar.behrens@lollisoft.de
  Subject: Re: Build failure on Mac OS X 10.3.9
  In-Reply-To: <458D4D1F.1090901@tpf.co.jp>
  References: <1166867879.075308.222460@h40g2000cwb.googlegroups.com> <458D07C9.3030003@tpf.co.jp> <1166874086.243776.307950@i12g2000cwa.googlegroups.com> <458D4D1F.1090901@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox