[openib-general] OFED can't compile against sa.h under SLES10 x86_64

Bub Thomas thomas.bub at thomson.net
Wed Sep 13 23:03:10 PDT 2006


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmpost.c
Type: application/octet-stream
Size: 16040 bytes
Desc: cmpost.c
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060914/c5accb22/attachment.obj>


More information about the general mailing list