Prev: Planning a Sendmail install on Solaris Zones
Next: Issue with libmilter/sm_gethost.c, subroutine freehostent()
From: D. Stussy on 4 Jun 2010 20:15 I have found that ISC's libbind 6.0 does have this function, but for some reason, this was not being detected and the dummy sub routine was being compiled in regardless. Commenting out the stub for freehostent() locally fixed the problem. The milter library of Sendmail needs to be fixed to detect the presence of this (separately from getipnodeby*()) and conditionally compile around this. The following commented assumption is WRONG: /* ** Stub routine -- if they don't have getipnodeby*(), ** they probably don't have the free routine either. */ Conditionals: #endif /* NEEDSGETIPNODE && NETINET6 */ The conflict shows up in a failed compilation of milters, including dkim-filter (where I saw the problem), and the older dk-filter, where the linker complains about a redefintion of the size of the routine (5 bytes vs. 271 on my system). I have Sendmail version 8.14.4, compiled from the source. I have not checked 8.14.5 alpha 0 for the problem. As noted by the conditionals, this may only appear on IPv6 enabled systems. |