[openfabrics-ewg] madeye cannot be compiled on latest driver

Hal Rosenstock halr at voltaire.com
Wed Aug 9 08:32:05 PDT 2006


Hi Dotan,

On Wed, 2006-08-09 at 11:25, Dotan Barak wrote:
> Hi.
>  
> One of the OFED 1.1 target is to add support of the madeye: i tried to
> compile it with latest driver and got 
> compilation errors.
>  
> Here are the driver/machine details + compiler error messages.
>  
> *************************************************************
> Host Architecture : x86_64
> Linux Distribution: Fedora Core release 4 (Stentz)
> Kernel Version    : 2.6.11-1.1369_FC4smp
> Memory size       : 4071672 kB
> Driver Version    : gen2_linux-20060808-1730 (REV=8850)
> *************************************************************
>  
>  
>  
> make[2]: Warning: File `/mswg/work/dotanb/madeye/Makefile' has
> modification time 2.8e+02 s in the future
>   CC [M]  /mswg/work/dotanb/madeye/madeye.o
> /mswg/work/dotanb/madeye/madeye.c: In function ‘madeye_add_one’:
> /mswg/work/dotanb/madeye/madeye.c:520: warning: implicit declaration
> of function ‘rdma_node_get_transport’
> /mswg/work/dotanb/madeye/madeye.c:520: error: ‘RDMA_TRANSPORT_IB’
> undeclared (first use in this function)

RDMA was not supported back then so this is unneeded.

> /mswg/work/dotanb/madeye/madeye.c:520: error: (Each undeclared
> identifier is reported only once
> /mswg/work/dotanb/madeye/madeye.c:520: error: for each function it
> appears in.)
> /mswg/work/dotanb/madeye/madeye.c:523: error: ‘RDMA_NODE_IB_SWITCH’
> undeclared (first use in this function)
> /mswg/work/dotanb/madeye/madeye.c: In function ‘madeye_remove_one’:
> /mswg/work/dotanb/madeye/madeye.c:565: error: ‘RDMA_NODE_IB_SWITCH’
> undeclared (first use in this function)
> make[2]: *** [/mswg/work/dotanb/madeye/madeye.o] Error 1

Rather than RDMA_NODE_IB_SWITCH, this was IB_NODE_SWITCH.

> can you please take a look at this?

I think this is due to the non RDMA version of ib_verbs.h being used
with this older kernel.

-- Hal
 
> thanks
> 
> Dotan Barak
> 
> Software Verification Engineer
> Mellanox Technologies
> Tel: +972-4-9097200 Ext: 231 Fax: +972-4-9593245
> P.O. Box 86 Yokneam 20692 ISRAEL.
> Home: +972-77-8841095 Cell: 0
> 52-4222383
>  
>  





More information about the ewg mailing list