* Al Chu <[EMAIL PROTECTED]> [05.12.2006 23:07]: > Hey Dmitry, > > > > ipmiconsole_engine.c:276:2: #error Additional threadsafe gethostbyname > > > support > > > needed > > > gmake[4]: *** [libipmiconsole_la-ipmiconsole_engine.lo] Error 1 > > I know of the problem here. The 'gethostbyname_r' routine is not > standard, so different OSes define it differently. All I need is the > FreeBSD version of gethostbyname_r and all will be good.
FreeBSD got it's gethostbyname_r() (the 6-arg variant) only recently, it will appear in the upcoming FreeBSD 6.2 release. Until that there was thread-safe gethostbyname() implementation, and it's safe to use it here as I see. It will be in the planned FreeBSD compatibility patch. There is also a universal gethostbyname_r() replacement here: http://www.cygwin.com/ml/cygwin/2004-04/msg00532.html but it's not optimal. > > Al wbr&w, dmitry. -- Dmitry Frolov <[EMAIL PROTECTED]> RISS-Telecom Network, Novosibirsk, Russia [EMAIL PROTECTED], +7 383 2278800, DVF-RIPE _______________________________________________ Freeipmi-users mailing list Freeipmi-users@gnu.org http://lists.gnu.org/mailman/listinfo/freeipmi-users