Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id A75FE9FA394 for ; Sat, 23 Dec 2006 11:37:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 60890-01 for ; Sat, 23 Dec 2006 11:37:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sd.tpf.co.jp (smtp.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 909879F939F for ; Sat, 23 Dec 2006 11:37:07 -0400 (AST) Received: (qmail 14007 invoked from network); 24 Dec 2006 00:37:05 +0900 X-Authentication: inoue was authenticated by dns.tpf.co.jp at 24 Dec 2006 00:37:05 +0900 Received: from unknown (HELO ?192.168.11.2?) (219.61.40.6) by dns.tpf.co.jp with SMTP; 24 Dec 2006 00:37:05 +0900 Message-ID: <458D4D1F.1090901@tpf.co.jp> Date: Sun, 24 Dec 2006 00:37:03 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: "lothar.behrens@lollisoft.de" CC: pgsql-odbc@postgresql.org Subject: Re: Build failure on Mac OS X 10.3.9 References: <1166867879.075308.222460@h40g2000cwb.googlegroups.com> <458D07C9.3030003@tpf.co.jp> <1166874086.243776.307950@i12g2000cwa.googlegroups.com> In-Reply-To: <1166874086.243776.307950@i12g2000cwa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/88 X-Sequence-Number: 8535 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 /* for memset */ >> #if defined(TM_IN_SYS_TIME) >> #include >> + #include >> #else >> > > Here should be the line (after the above else line) > > #include > > >> #include >> #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 diff -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 */