ip_log.c failed to compile on Solaris 10 until I applied this tweak... (struct pollhead is not defined unless _KERNEL or _KMEMUSER is defined)
My compilation was only on Sol 10 but it looks like the problem would occur in older Solaris's too (at least Sol8 and Sol9, by inspection of <sys/poll.h>) Ian D -- *** ip_log.c_old Mon Dec 18 04:57:29 2006 --- ip_log.c Tue Dec 26 03:44:50 2006 *************** *** 151,157 **** # if defined(linux) && defined(_KERNEL) wait_queue_head_t iplh_linux[IPL_LOGSIZE]; # endif ! # if SOLARIS extern kcondvar_t iplwait; extern struct pollhead iplpollhead[IPL_LOGSIZE]; # endif --- 151,157 ---- # if defined(linux) && defined(_KERNEL) wait_queue_head_t iplh_linux[IPL_LOGSIZE]; # endif ! # if SOLARIS && defined(_KERNEL) extern kcondvar_t iplwait; extern struct pollhead iplpollhead[IPL_LOGSIZE]; # endif
