Mac OS X 10.3.9でSenna 1.1.1がコンパイルできなかったので、やっつけパッチを書いてみた。
lib/com.cはstruct iovectorのため、lib/scm.cはgcc 3.3のバグかな?
senna-darwin7-gcc33.patch
Index: lib/com.c =================================================================== --- lib/com.c (revision 756) +++ lib/com.c (working copy) @@ -34,6 +34,8 @@ #include <signal.h> #endif /* HAVE_SIGNAL_H */ +#include <sys/uio.h> + #include "com.h" #include "set.h" #include "ctx.h" Index: lib/scm.c =================================================================== --- lib/scm.c (revision 756) +++ lib/scm.c (working copy) @@ -2815,17 +2815,17 @@ void sen_ql_init_const(void) { - static sen_obj _NIL, _T, _F; + static sen_obj _NIL, _TRUE, _FALSE; /* init NIL */ NIL = &_NIL; NIL->type = sen_ql_void; CAR(NIL) = CDR(NIL) = NIL; /* init T */ - T = &_T; + T = &_TRUE; T->type = sen_ql_void; CAR(T) = CDR(T) = T; /* init F */ - F = &_F; + F = &_FALSE; F->type = sen_ql_void; CAR(F) = CDR(F) = F; }