Date: Tue, 11 May 2004 17:11:27 -0400 From: Chuck Swiger <cswiger@mac.com> To: Brian Henning <b1henning@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: compile signal code Message-ID: <40A1417F.6050601@mac.com> In-Reply-To: <BAY15-DAV9jooKsDBig0001c086@hotmail.com> References: <BAY15-DAV9jooKsDBig0001c086@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Brian Henning wrote: [ ... ] > I am having trouble compiling some signal related code in freebsd. What is the > library I should link to get this to compile? "man signal" says that the standard C library contains the signal handling functionality. FreeBSD also supports the POSIX sigaction family. > /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' Presumably your code implements these? They aren't standard... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40A1417F.6050601>