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

Hal Rosenstock halr at voltaire.com
Wed May 17 09:24:11 PDT 2006


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.

-- Hal

> 
> thanks
> Dotan




More information about the general mailing list