[ewg] problem with compilation of the librdmacm on kernel 2.6.9-89 (RHEL4.8)

Walukiewicz, Miroslaw Miroslaw.Walukiewicz at intel.com
Tue May 25 09:19:32 PDT 2010


II forgot to add that I used  OFED-1.5.2-20100523-0600 daily build

Regards,

Mirek

________________________________
From: ewg-bounces at lists.openfabrics.org [mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Walukiewicz, Miroslaw
Sent: Tuesday, May 25, 2010 6:08 PM
To: ewg at openfabrics.org
Subject: [ewg] problem with compilation of the librdmacm on kernel 2.6.9-89 (RHEL4.8)

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20100525/033e5622/attachment.html>


More information about the ewg mailing list