[ofa-general] OpenSM building error

Hal Rosenstock hrosenstock at xsigo.com
Tue Mar 4 11:45:13 PST 2008


Hi Tim,

On Tue, 2008-03-04 at 11:39 -0800, Timothy A. Meier wrote:
> Hi Hal,
> 
> I added that new module (containing existing code tho), so looked at
> it to see if I messed up some conditional compile option.
> 
> I tried a variety of configurations, and can't seem to reproduce the
> build error.
> 
> When you compile with remote console, libwrap is required (the tcp wrapper stuff).
> We have the latest version (0.7.6), which is located in /usr/lib64 for our
> environment.
> 
> This is not a new requirement/dependency for opensm,

Right; this has been the case for quite a while now.

>  but it is for osm_console_io, since that module didn't exist before.

What is new (aside from this module) is the need for hosts_ctl. I wonder
if that is a libwrap version issue.

-- Hal

> Fresh rebuild (autogen, configure....)?????
> 
> Tim
> 
> 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.
> > 
> > -- Hal
> > 
> >> Thanks.
> >>
> >> -- Hal
> >> _______________________________________________
> >> general mailing list
> >> general at lists.openfabrics.org
> >> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> >>
> >> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> > _______________________________________________
> > general mailing list
> > general at lists.openfabrics.org
> > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> > 
> > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> > 
> 
> 



More information about the general mailing list