2011-08-03 111 views
1

以下步驟:大廈libgc無法在Mac OS X 10.6雪豹:...並要求_XOPEN_SOURCE來定義

$ wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.0.tar.gz 
$ tar xvfz gc-7.0.tar.gz 
$ cd gc-7.0 
$ ./configure 
$ make 

失敗,此錯誤:

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 
+0

免責聲明:這只是一個音符到自我樣的問題。 – miku

+0

https://github.com/ivmai/bdwgc/ –

回答