Mahmoud, I had to make a few changes to the o2ib nal to get it working with 1.2. These were all in o2iblnd_cb.c.
First there are two #if that have to be changed to #ifdef and #ifndef. These are the warnings for CONFIG_HIGHMEM and IBNAL_MAP_ON_DEMAND. Second, the struct for the connections changed a bit. This requires adding param.conn in front of private_data and private_data_len. Look at the errors for the relevant line numbers. I was planning to generate a patch but I haven't had a chance to yet. Shane -----Original Message----- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: [email protected] <[email protected]> Sent: Tue Jun 19 21:44:08 2007 Subject: [Lustre-discuss] build errors with OFED1.2 Has any one been able to compile lustre1.4.10 with ofed1.2. I am getting the following error ./configure --with-openib=/usr/ofed1.2rc6/src/ofa_kernel . . make . . make[3]: Entering directory `/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10' CC [M] /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd.o CC [M] /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.o /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:569:5: warning: "CONFIG_HIGHMEM" is not defined /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:582:6: warning: "IBNAL_MAP_ON_DEMAND" is not defined /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c: In function `kiblnd_cm_callback': /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2613: error: structure has no member named `private_data' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2614: error: structure has no member named `private_data_len' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2706: error: structure has no member named `private_data' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2707: error: structure has no member named `private_data_len' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2729: error: structure has no member named `private_data' /usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.c:2730: error: structure has no member named `private_data_len' make[7]: *** [/usr/src/lustre-1.4.10/lnet/klnds/o2iblnd/o2iblnd_cb.o] Error 1 make[6]: *** [/usr/src/lustre-1.4.10/lnet/klnds/o2iblnd] Error 2 make[5]: *** [/usr/src/lustre-1.4.10/lnet/klnds] Error 2 make[4]: *** [/usr/src/lustre-1.4.10/lnet] Error 2 make[3]: *** [_module_/usr/src/lustre-1.4.10] Error 2 make[3]: Leaving directory `/usr/src/linux-2.6.9-42.0.10.EL_lustre.1.4.10' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/lustre-1.4.10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/lustre-1.4.10' make: *** [all] Error 2 ________________________________ You snooze, you lose. Get messages ASAP with AutoCheck <http://us.rd.yahoo.com/evt=47959/*http://advision.webevents.yahoo.com/mailbeta/newmail_html.html> in the all-new Yahoo! Mail Beta.
_______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
