> Quoting r. zhu shi song <[EMAIL PROTECTED]>: > Subject: Re: compile error > > I download OFED-1.1.1.tar.gz and try to compile it > under FC5 with kernel 2.6.18. But there are errors > when compile ipoib_fs.c. see below:
Right. FC5 has a patched kernel, not a mainline 2.6.18 that OFED 1.1 supports. The following might help though. -- MST
Index: gen2_devel/drivers/infiniband/ulp/ipoib/ipoib_fs.c =================================================================== --- gen2_devel.orig/drivers/infiniband/ulp/ipoib/ipoib_fs.c +++ gen2_devel/drivers/infiniband/ulp/ipoib/ipoib_fs.c @@ -141,7 +141,7 @@ static int ipoib_mcg_open(struct inode * return ret; seq = file->private_data; - seq->private = inode->i_private; + seq->private = inode->u.generic_ip; return 0; } @@ -247,7 +247,7 @@ static int ipoib_path_open(struct inode return ret; seq = file->private_data; - seq->private = inode->i_private; + seq->private = inode->u.generic_ip; return 0; }
_______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general