Hello, I see a compilation problem on my RHEL4.8
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -g -Wall -D_GNU_SOURCE -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -MT src_librdmacm_la-addrinfo.lo -MD -MP -MF . deps/src_librdmacm_la-addrinfo.Tpo -c src/addrinfo.c -fPIC -DPIC -o .libs/src_l ibrdmacm_la-addrinfo.o In file included from src/cma.c:59: ./include/infiniband/ib.h:49: error: syntax error before "__be16" ./include/infiniband/ib.h:49: warning: no semicolon at end of struct or union ./include/infiniband/ib.h:49: warning: no semicolon at end of struct or union ./include/infiniband/ib.h:50: warning: type defaults to `int' in declaration of `uib_addr32' ./include/infiniband/ib.h:50: warning: data definition has no type or storage cl ass ./include/infiniband/ib.h:51: error: syntax error before "uib_addr64" ./include/infiniband/ib.h:51: warning: type defaults to `int' in declaration of `uib_addr64' ./include/infiniband/ib.h:51: warning: data definition has no type or storage cl ass ./include/infiniband/ib.h:52: error: syntax error before '}' token ./include/infiniband/ib.h:52: warning: type defaults to `int' in declaration of `ib_u' ./include/infiniband/ib.h:52: warning: data definition has no type or storage cl ass ./include/infiniband/ib.h:60: error: syntax error before '}' token ./include/infiniband/ib.h: In function `ib_addr_any': ./include/infiniband/ib.h:64: error: dereferencing pointer to incomplete type ./include/infiniband/ib.h:64: error: dereferencing pointer to incomplete type ./include/infiniband/ib.h: In function `ib_addr_loopback': ./include/infiniband/ib.h:69: error: dereferencing pointer to incomplete type ./include/infiniband/ib.h:69: error: dereferencing pointer to incomplete type ./include/infiniband/ib.h:70: error: dereferencing pointer to incomplete type ./include/infiniband/ib.h:70: error: dereferencing pointer to incomplete type ./include/infiniband/ib.h: At top level: ./include/infiniband/ib.h:74: error: syntax error before "__be32" ./include/infiniband/ib.h: In function `ib_addr_set': ./include/infiniband/ib.h:76: error: `addr' undeclared (first use in this functi on) ./include/infiniband/ib.h:76: error: (Each undeclared identifier is reported onl y once ./include/infiniband/ib.h:76: error: for each function it appears in.) ./include/infiniband/ib.h:76: error: `w1' undeclared (first use in this function ) ./include/infiniband/ib.h:77: error: `w2' undeclared (first use in this function ) ./include/infiniband/ib.h:78: error: `w3' undeclared (first use in this function Could anyone help me? Regards, Mirek
_______________________________________________ ewg mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
