From owner-freebsd-current Thu Dec 31 10:40:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02157 for freebsd-current-outgoing; Thu, 31 Dec 1998 10:40:14 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02143 for ; Thu, 31 Dec 1998 10:40:12 -0800 (PST) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA293858498; Thu, 31 Dec 1998 07:48:18 -0500 Date: Thu, 31 Dec 1998 07:48:18 -0500 (EST) From: Bill Fumerola To: John Deppen Cc: current@FreeBSD.ORG Subject: Re: your mail In-Reply-To: <199812311832.NAA15987@uraninite.srtc.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 31 Dec 1998, John Deppen wrote: > Is there any way around the following problem? > > When the pthreads are linked I get an undefined reference to 'poll'. (Called > from within a thread) > > In the Makefile: > CFLAGS+= -pthreads > > However, when this is removed I obviously get undefined references to > all of the pthread_.. functions. > > Thanks in advance for any help, Are you linking the correct libraries as well? - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message