[openib-general] compilation warnings in libibcm
Dotan Barak
dotanb at mellanox.co.il
Tue May 9 06:30:12 PDT 2006
Hi, please ignore the previous email.
Compilation of the gen2 driver generate compilation warnings when compiling the libibcm.
here are the machine + driver info:
Host Architecture : x86_64
Linux Distribution: Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
Kernel Version : 2.6.16.9
Driver Version : openib_gen2-20060509-0800 (REV=7002)
Here are the compilation warnings:
make[2]: Entering directory `/tmp/openib_gen2/last_stable/src/userspace/libibcm'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I../libibverbs/include -g -Wall -D_GNU_SOURCE -g
-O2 -MT cm.lo -MD -MP -MF ".deps/cm.Tpo" -c -o cm.lo `test -f 'src/cm.c' || echo './'`src/cm.c; \
then mv -f ".deps/cm.Tpo" ".deps/cm.Plo"; else rm -f ".deps/cm.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I../libibverbs/include -g -Wall -D_GNU_SOURCE -g -O2 -MT cm.lo -MD -MP -MF .deps/cm.Tpo -c src
/cm.c -fPIC -DPIC -o .libs/cm.o
src/cm.c: In function `ib_cm_init_qp_attr':
src/cm.c:406: warning: `ib_copy_qp_attr_from_kern' is deprecated (declared at ../libibverbs/include/infiniband/marshall.h:71)
src/cm.c: In function `ib_cm_send_req':
src/cm.c:466: warning: `ib_copy_path_rec_to_kern' is deprecated (declared at ../libibverbs/include/infiniband/marshall.h:77)
src/cm.c:475: warning: `ib_copy_path_rec_to_kern' is deprecated (declared at ../libibverbs/include/infiniband/marshall.h:77)
src/cm.c: In function `ib_cm_send_lap':
src/cm.c:695: warning: `ib_copy_path_rec_to_kern' is deprecated (declared at ../libibverbs/include/infiniband/marshall.h:77)
src/cm.c: In function `ib_cm_send_sidr_req':
src/cm.c:735: warning: `ib_copy_path_rec_to_kern' is deprecated (declared at ../libibverbs/include/infiniband/marshall.h:77)
src/cm.c: In function `cm_event_req_get':
src/cm.c:803: warning: `ib_copy_path_rec_from_kern' is deprecated (declared at ../libibverbs/include/infiniband/marshall.h:74)
src/cm.c:805: warning: `ib_copy_path_rec_from_kern' is deprecated (declared at ../libibverbs/include/infiniband/marshall.h:74)
src/cm.c: In function `ib_cm_get_event':
src/cm.c:950: warning: `ib_copy_path_rec_from_kern' is deprecated (declared at ../libibverbs/include/infiniband/marshall.h:74)
/bin/sh ./libtool --tag=CC --mode=link gcc -g -Wall -D_GNU_SOURCE -g -O2 -L../libibverbs/src -libverbs -o src/libibcm.la -rpath /usr/local/
/lib64 -avoid-version cm.lo
mkdir src/.libs
thanks
Dotan
More information about the general
mailing list