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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message