From owner-freebsd-questions@FreeBSD.ORG Tue May 11 13:57:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F3FF16A4CE for ; Tue, 11 May 2004 13:57:28 -0700 (PDT) Received: from hotmail.com (bay15-dav9.bay15.hotmail.com [65.54.184.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id E837E43D39 for ; Tue, 11 May 2004 13:57:27 -0700 (PDT) (envelope-from b1henning@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 11 May 2004 13:57:27 -0700 Received: from 192.216.212.193 by bay15-dav9.bay15.hotmail.com with DAV; Tue, 11 May 2004 20:57:27 +0000 X-Originating-IP: [192.216.212.193] X-Originating-Email: [b1henning@hotmail.com] X-Sender: b1henning@hotmail.com From: "Brian Henning" To: Date: Tue, 11 May 2004 15:57:26 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 11 May 2004 20:57:27.0873 (UTC) FILETIME=[917F0B10:01C4379A] Subject: compile signal code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 20:57:28 -0000 Greetings: I am having trouble compiling some signal related code in freebsd. What is the library I should link to get this to compile? Thanks, Brian /usr/local/src > gcc signal_handler.c /tmp/ccfXkcCV.o: In function `main': /tmp/ccfXkcCV.o(.text+0x11): undefined reference to `sigset' /tmp/ccfXkcCV.o(.text+0x23): undefined reference to `sigset' /tmp/ccfXkcCV.o: In function `sigusr': /tmp/ccfXkcCV.o(.text+0x9d): undefined reference to `err_dump'