[ofa-general] verbs.h & rdma_cma.h: error: comma at end of enumerator list

gregory james marsh marshgr at cse.ohio-state.edu
Tue Sep 16 07:08:41 PDT 2008


Hello,

I'm building an application (Apache Qpid) that includes
ofed/include/rdma/rdma_cma.h and receive the following error message
during "make all".  (The detailed error message is at the end of this
message.)

/usr/local/ofed/include/infiniband/verbs.h:209: error: comma at end of
enumerator list
/usr/local/ofed/include/rdma/rdma_cma.h:66: error: comma at end of
enumerator list

The relevant enum's from each of these files is:

verbs.h
    208 enum ibv_event_flags {
    209         IBV_XRC_QP_EVENT_FLAG = 0x80000000,
    210 };

rdma_cma.h:
     63 enum rdma_port_space {
     64         RDMA_PS_IPOIB= 0x0002,
     65         RDMA_PS_TCP  = 0x0106,
     66         RDMA_PS_UDP  = 0x0111,
     67 };

I looked at the latest verions of each file at
(projects/~shefty/librdmacm.git) and (projects/ofed_1_4/libibverbs.git).
Enum ibv_event_flags no longer occurs in verbs.h, but the situation still
occurs in the latest rdma_cma.h

Thanks,

Greg Marsh





 g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -Werror -pedantic -Wall -Wextra
-Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
-Wvolatile-register-var -Winvalid-pch -Wno-system-headers
-Woverloaded-virtual -Wno-missing-field-initializers -O2
-I/usr/local/ofed/include -MT
qpid/sys/rdma/libqpidrdma_la-rdma_factories.lo -MD -MP -MF
qpid/sys/rdma/.deps/libqpidrdma_la-rdma_factories.Tpo -c
qpid/sys/rdma/rdma_factories.cpp  -fPIC -DPIC -o
qpid/sys/rdma/.libs/libqpidrdma_la-rdma_factories.o
/usr/local/ofed/include/infiniband/verbs.h:209: error: comma at end of
enumerator list
/usr/local/ofed/include/rdma/rdma_cma.h:66: error: comma at end of
enumerator list
make[3]: *** [qpid/sys/rdma/libqpidrdma_la-rdma_factories.lo] Error 1





More information about the general mailing list