From: ts Date: 2004-05-24T18:23:55+09:00 Subject: Re: compiling mmap? >>>>> "M" == Mark Hubbart writes: M> #defining _P1003_1B_VISIBLE at the top of mmap.c allows it to compile, M> but running 'make test' generates a bus error on the 13th test. it's best to do svg% diff -u mmap.c~ mmap.c --- mmap.c~ 2004-03-06 18:30:46.000000000 +0100 +++ mmap.c 2004-05-24 11:20:04.000000000 +0200 @@ -1722,9 +1722,10 @@ #ifdef MAP_NOSYNC rb_define_const(mm_cMap, "MAP_NOSYNC", INT2FIX(MAP_NOSYNC)); #endif +#ifdef MCL_CURRENT rb_define_const(mm_cMap, "MCL_CURRENT", INT2FIX(MCL_CURRENT)); rb_define_const(mm_cMap, "MCL_FUTURE", INT2FIX(MCL_FUTURE)); - +#endif rb_include_module(mm_cMap, rb_mComparable); rb_include_module(mm_cMap, rb_mEnumerable); svg% M> Any help would be greatly appreciated. can you run it with gdb and give me a backtrace ? Guy Decoux