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 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"