From owner-freebsd-current Sun Jun 14 02:47:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13655 for freebsd-current-outgoing; Sun, 14 Jun 1998 02:47:48 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13650 for ; Sun, 14 Jun 1998 02:47:44 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id CAA15602; Sun, 14 Jun 1998 02:47:28 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199806140947.CAA15602@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Peter Wemm cc: current@FreeBSD.ORG, John Birrell Subject: Re: poll and libc_r?? In-reply-to: Your message of "Sun, 14 Jun 1998 17:36:11 +0800." <199806140936.RAA04695@spinner.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 14 Jun 1998 02:47:28 -0700 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you have a quick #ifdef fix for res_send.c please send it to John Birrell and I too would like to have a copy. Tnks! Amancio > Amancio Hasty wrote: > > > > > > cc -pthread -o foox foox.c > > /usr/lib/libc_r.so: undefined reference to `poll' > > > > According to John Birrell the culprit is in a checking in to: > > libc/net/res_send.c > > > > We don't have poll support in libc_r and according to John it will > > be difficult to add poll support to libc_r well at least it is not a > > quick hack. > > I have a quick #ifdef for res_send.c so that it won't try to use poll() > when building as part of libc_r. > > Or would it just be better to implement a libc_r poll()? > > > Amancio > > Cheers, > -Peter > -- > Peter Wemm Netplex Consulting > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message