Michael and Bryan,
find the libibcm example cmpost.c that fails to compile enclosed.
My compiler output looks like:

cc -ggdb  -Wall -O0 -I. -I./usr/include -I./oibfix
-I/usr/local/ofed/include -I/usr/src/linux/drivers/infiniband/include
-D__x86_64__   -c -o cmpost.o cmpost.c
cmpost.c: In function 'query_for_path':
cmpost.c:658: error: invalid use of undefined type 'struct
ibv_sa_path_rec'
cmpost.c:658: error: dereferencing pointer to incomplete type
cmpost.c: In function 'run_client':
cmpost.c:679: warning: assignment from incompatible pointer type
make: *** [cmpost.o] Error 1


It's OK under SLES9 but fails under SLES10.
Thanks
Thomas


Attachment: cmpost.c
Description: cmpost.c

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to