From owner-freebsd-current Mon Nov 18 4:21:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE52037B401 for ; Mon, 18 Nov 2002 04:21:30 -0800 (PST) Received: from smtp02.iprimus.net.au (smtp02.iprimus.net.au [210.50.76.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3AE943E75 for ; Mon, 18 Nov 2002 04:21:29 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au ([210.50.251.191]) by smtp02.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.5600); Mon, 18 Nov 2002 23:21:17 +1100 Received: from dilbert.robbins.dropbear.id.au (q1lo3z7lmprb8g3f@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id gAICL4Ei042938; Mon, 18 Nov 2002 23:21:05 +1100 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id gAICKwJk042910; Mon, 18 Nov 2002 23:20:58 +1100 (EST) (envelope-from tim) Date: Mon, 18 Nov 2002 23:20:58 +1100 From: Tim Robbins To: Kris Kennaway Cc: current@FreeBSD.org Subject: Re: icecast broken by signal changes Message-ID: <20021118232058.A42329@dilbert.robbins.dropbear.id.au> References: <20021118104328.GA33336@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021118104328.GA33336@rot13.obsecurity.org>; from kris@obsecurity.org on Mon, Nov 18, 2002 at 02:43:28AM -0800 X-OriginalArrivalTime: 18 Nov 2002 12:21:18.0205 (UTC) FILETIME=[FF11BAD0:01C28EFC] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 18, 2002 at 02:43:28AM -0800, Kris Kennaway wrote: > http://bento.freebsd.org/errorlogs/5-latest/icecast-1.3.12_1.log > > cc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/usr/include/readline -pthread > threads.c: In function `thread_block_signals': > threads.c:467: `SIGBUS' undeclared (first use in this function) > threads.c:467: (Each undeclared identifier is reported only once > threads.c:467: for each function it appears in.) > *** Error code 1 > > Anyone care to fix? :) The _POSIX_C_SOURCE #define in src/definitions.h was asking for a POSIX environment that was inconsistent with what the code was actually using. This patch makes it compile successfully, but I haven't tried running it. Another way of fixing it might be to #define _POSIX_C_SOURCE to 200112. --- src/definitions.h.old Mon Nov 18 23:13:13 2002 +++ src/definitions.h Mon Nov 18 23:10:41 2002 @@ -51,8 +51,10 @@ # define __USE_POSIX #endif +#if 0 #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 199506L +#endif #endif /* This for freebsd (needed on 3.2 at least) */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message