From owner-freebsd-hackers Wed Aug 5 23:26:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA08888 for freebsd-hackers-outgoing; Wed, 5 Aug 1998 23:26:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from picasso.wcape.school.za (picasso.wcape.school.za [196.21.102.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA08763 for ; Wed, 5 Aug 1998 23:25:52 -0700 (PDT) (envelope-from pvh@leftside.wcape.school.za) Received: from uucp by picasso.wcape.school.za with local-rmail (Exim 1.92 #2) id 0z4J4z-0000d9-00; Thu, 6 Aug 1998 07:59:13 +0200 Received: from localhost (pvh@localhost) by leftside.wcape.school.za (8.8.8/8.8.4) with SMTP id HAA09198; Thu, 6 Aug 1998 07:51:35 +0200 (SAT) Date: Thu, 6 Aug 1998 07:51:33 +0200 (SAT) From: Peter van Heusden To: Andre Oppermann cc: hackers@FreeBSD.ORG Subject: Re: Threaded X libs.. In-Reply-To: <35C821FD.3506A837@pipeline.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 5 Aug 1998, Andre Oppermann wrote: > John Birrell wrote: > -snip- > > -pthread was added to gcc first in -current, then to -stable after the > > release of 2.2.6. All it does is to use libc_r instead of libc. Linking > > with -lc_r, but no -nostdlib means that you risk getting functions from > > libc if the symbols aren't in libc_r. The only one that comes to mind > > is poll(). If XFree86 uses poll() instead of select(), you can expect to > > have problems. > > UhhOhh... Thats why the Netscape Directory SDK (LDAP-Client libs) > compile crashes on 2.2.7 with _poll not defined... > > How can I get around that? In the Netscape Directory SDK source, apply the patch which follows this message. It seems to work for me. Peter -- Peter van Heusden | Its the 90's, and collective action is STILL cool! pvh@leftside.wcape.school.za | Get active in your union today! *** directory/c-sdk/ldap/libraries/libldap/ldap-int.h.old Tue Jul 21 21:15:49 1998 --- directory/c-sdk/ldap/libraries/libldap/ldap-int.h Tue Jul 21 21:18:04 1998 *************** *** 79,85 **** # include #endif /* USE_SYSCONF */ ! #if !defined(_WINDOWS) && !defined(macintosh) && !defined(LINUX2_0) #define NSLDAPI_HAVE_POLL 1 #endif --- 79,85 ---- # include #endif /* USE_SYSCONF */ ! #if !defined(_WINDOWS) && !defined(macintosh) && !defined(LINUX2_0) && !defined(FREEBSD) #define NSLDAPI_HAVE_POLL 1 #endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message