I'm wondering what the official mechanism is to report bugs? Just about anything I'm going to find is likely to be limited to build and installation bugs, like this one...
In infiniband-diags-1.3.6/Makefile.am we have the line:
INCLUDES = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband
This is assuming that other OFED packages have been installed in the
general system $PREFIX, usually /usr as $includedir should
be /usr/include.
But in particular, I have installed the opensm{,-devel} in an alternate
location (i.e. PREFIX) and the infiniband-diags build fails with:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I/usr/include
-I/usr/include/infiniband -I/home/brian/ofed_1.3_integration/tree/usr/include
-Wall -I/home/brian/ofed_1.3_integration/tree/usr/include -O2 -g
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -MT src_ibnetdiscover-ibnetdiscover.o
-MD -MP -MF ".deps/src_ibnetdiscover-ibnetdiscover.Tpo" -c -o
src_ibnetdiscover-ibnetdiscover.o `test -f 'src/ibnetdiscover.c' || echo
'./'`src/ibnetdiscover.c; \
then mv -f ".deps/src_ibnetdiscover-ibnetdiscover.Tpo"
".deps/src_ibnetdiscover-ibnetdiscover.Po"; else rm -f
".deps/src_ibnetdiscover-ibnetdiscover.Tpo"; exit 1; fi
In file included from src/ibnetdiscover.c:53:
/home/brian/ofed_1.3_integration/tree/usr/include/infiniband/complib/cl_nodenamemap.h:39:29:
error: complib/cl_qmap.h: No such file or directory
In file included from src/ibnetdiscover.c:53:
/home/brian/ofed_1.3_integration/tree/usr/include/infiniband/complib/cl_nodenamemap.h:45:
error: expected specifier-qualifier-list before ‘cl_map_item_t’
/home/brian/ofed_1.3_integration/tree/usr/include/infiniband/complib/cl_nodenamemap.h:51:
error: expected specifier-qualifier-list before ‘cl_qmap_t’
make[1]: *** [src_ibnetdiscover-ibnetdiscover.o] Error 1
make[1]: Leaving directory `/home/brian/rpm/BUILD/infiniband-diags-1.3.6'
On my system, with opensm-devel (and all other OFED RPMs) installed in
an alternate PREFIX, the above list of include paths should be
s#/usr/include/infiniband#PREFIX/include/infiniband#.
It seems probably infiniband-diags needs to have the same "--with-osm"
switch that ibutils has.
b.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
