[ofa-general] OpenSM building error

Sasha Khapyorsky sashak at voltaire.com
Tue Mar 4 10:34:29 PST 2008


On 09:05 Tue 04 Mar     , Hal Rosenstock wrote:
> On Mon, 2008-03-03 at 06:32 -0800, Hal Rosenstock wrote:
> > Hi Sasha,
> > 
> > When I now build OpenSM, I get the following error at link time:
> > 
> > opensm-osm_console_io.o(.text+0x245): In function `is_authorized':
> > osm_console_io.c:134: undefined reference to `hosts_ctl'
> > 
> > I think hosts_ctl comes from libwrap but I don't see that as part of
> > what the link includes. What am I missing ?
> 
> I see where it's supposed to be included and defined (it's been there
> quite a while) but forgot this and what drives setting of HAVE_LIBWRAP
> in config.h.

There is

AC_CHECK_LIB(wrap, request_init, []

in config/osmvsel.m4, it is turned on as part of console selector.

Sasha



More information about the general mailing list