[openib-general] Re: compilation warning in diags tools

Dotan Barak dotanb at mellanox.co.il
Thu May 18 04:42:11 PDT 2006


On Wednesday 17 May 2006 19:24, Hal Rosenstock wrote:
> On Wed, 2006-05-17 at 11:47, Dotan Barak wrote:
> > 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)
> 
> Fixed in r7290. Can you update and try to be sure ? Thanks.

it seems that this issue was solved.

thanks
Dotan



More information about the general mailing list