Hi Robert,
Thanks for the prompt reply. I did try the 'make' ... and when that failed at 
the patching step, I attempted the manual patch and 
showed that in my question.

After having typed a long reply to your question, however, I just realized what 
the problem was -- the 'Code/CVS' link on hbaapi sourceforge takes you to 
download hbaapi.tar.gz which is ALSO source code, just not the correct one!

To download the correct hbaapi_src_2.2.tar.gz, you have to go to the Files link 
and then choose hbaapi_src!

While working through the steps, I just assumed that hbaapi_src_2.2.tar.gz 
mentioned in the INSTALL instructions must have been renamed to be 
hbaapi.tar.gz recently. Duh!

Thank you for the answer anyway!
Piyush

> From: robert.w.l...@intel.com
> To: agarwalpiyu...@hotmail.com; devel@open-fcoe.org
> Subject: RE: [Open-FCoE] HBAAPILIB.c patch fails?
> Date: Fri, 16 Mar 2012 00:01:04 +0000
> 
> > Hi,
> > I am trying to get openfcoe compiled on 2.6.35.14 kernel. I downloaded
> > the corresponding open-fcoe.2.6.35.tar.gz and as the first step
> > attempting a compile of hbaapi_build.
> > 
> > I downloaded the sources from hbaapi at
> > http://hbaapi.cvs.sourceforge.net/viewvc/hbaapi/hbaapi/ (just one
> > version available there!) but looks like the patch of hbaapi2.2.patch
> > just fails for all the HUNKS. (Ofcourse, I did do the bootstrap.sh and
> > rpm --eval steps as mentioned in documentation which completed just
> > fine).
> > 
> > Looking at HBAAPILIB.c, I don't see any matching code from the
> > diff...which makes me suspect if I have got the correct sources or not:
> > 
> > patch HBAAPILIB.c < hbaapi2.2.patch
> 
> The Makefile should do the patching for you. There's no need to "hand patch" 
> it.
> 
> If you did the bootstrap and configure (via rpm --eval) then all you need to
> do is 'make && make install'. I can't explain your problem, but I'd just 
> re-start
> with new code and just try 'make && make install' instead of "hand patching."
> 
> You may have already looked here, but there is an INSTALL document in the
> hbaapi_build source that has exact steps to take. I'm only mentioning this
> in case you're following the fcoe-utils INSTALL doc, which should be the same,
> but there can be discrepancies.
> 
> Hope this helps, //Rob
                                          
_______________________________________________
devel mailing list
devel@open-fcoe.org
https://lists.open-fcoe.org/mailman/listinfo/devel

Reply via email to