[openib-general] compilation warning in diags tools

Dotan Barak dotanb at mellanox.co.il
Wed May 17 08:47:27 PDT 2006


Hi.

Here is a compilation warning when using gcc 3.4.5:

src/grouping.c: In function `get_router_slot':
src/grouping.c:213: warning: implicit declaration of function `calloc'
/bin/sh ./libtool --tag=CC --mode=link gcc  -m64  -L../libibcommon -libcommon -L../libibumad -libumad -L../osm/opensm/.libs -lopensm -L../os
m/libvendor/.libs -losmvendor -L../osm/complib/.libs -losmcomp -o src/ibnetdiscover  src_ibnetdiscover-ibnetdiscover.o src_ibnetdiscover-gro
uping.o ../libibcommon/libibcommon.la ../libibumad/libibumad.la ../libibmad/libibmad.la

(i think that stdlib.h should be included to prevent this warning)

thanks
Dotan



More information about the general mailing list