Re: [Gc] GC 7.1 Mac OS X 10.6.6: ucontext routines are deprecated

Ivan Maidanski ivmai at mail.ru
Tue Feb 8 12:26:48 PST 2011


Hi,

Try to use this snapshot: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/bdwgc-7_2alpha5-20110107.tar.bz2

Tue, 8 Feb 2011 21:21:34 +0100 Hans Aberg <haberg-1 at telia.com>:

> [I am not on this list, so please cc me.]
> 
> Compiling gc-7.1 configured using
> ./configure --enable-threads=posix --enable-cplusplus
> on Mac OS X 10.6.6 with Xcode 3.2.5 produces the error:
> In file included from mach_dep.c:163:
> /usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated,
> and require _XOPEN_SOURCE to be defined
> 
> After defining _XOPEN_SOURCE in mach_dep.c, the package compiled.
> 
> 
> Trying to compile gc-7.2alpha4 (same configuration) produces the error:
> libtool: compile:  gcc -DHAVE_CONFIG_H -I./include -I./include
> -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -g -O2 -MT misc.lo
> -MD -MP -MF .deps/misc.Tpo -c misc.c  -fno-common -DPIC -o .libs/misc.o
> misc.c: In function 'GC_get_suspend_signal':
> misc.c:462: error: 'SIGRTMIN' undeclared (first use in this function)



More information about the Gc mailing list