Summum Bonum wrote: > Taking Hans tips, I have tested 4.1.14 source code on Solaris 10 sparc > with gcc. For a clean compile, looks like one needs (from > Hans): > > 1> add #include <sys/filio.h> in fil.c > > and to fix "dereferencing pointer to incomplete type" error for problem > with cp->cr_uid: > > 2> add #include <sys/cred_impl.h> in ip_fil_solaris.c
This holds only for Solaris 10 and up. Otherwise, cr_uid is defined in sys/cred.h which is already included. There should be some #if accounting for this. Also, when using a Sun compiler (at least up to Forte 7) rather than gcc, you must make the second change suggested by me: > > (2) In ip_auth.c, lines 953 and 954 must be interchanged, giving > > mb_t *m; > > SPL_INT(s); > > (In Solaris SPL_INT(s) is an empty macro, but a lone ';' is not allowed > > among > > definitions.)
