> > Dear Sir, > > now makefile is created, but make cmd o/p as follows: > > make > gcc -DPACKAGE_NAME=\"fcoe-utils\" -DPACKAGE_TARNAME=\"fcoe-utils\" - > DPACKAGE_VERSION=\"1.0.19\" -DPACKAGE_STRING=\"fcoe-utils\ 1.0.19\" - > DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" - > DPACKAGE=\"fcoe-utils\" -DVERSION=\"1.0.19\" -I. -I./include -I./include > -DSYSCONFDIR="\"/etc\"" -Wall -O2 -g -march=i386 -mtune=i686 -MT > fcoemon-fcoemon.o -MD -MP -MF .deps/fcoemon-fcoemon.Tpo -c -o fcoemon- > fcoemon.o `test -f 'fcoemon.c' || echo './'`fcoemon.c > fcoemon.c:43:29: fatal error: netlink/netlink.h: No such file or > directory > compilation terminated. > make: *** [fcoemon-fcoemon.o] Error 1 >
If it's redhatbased, I think you need to install libnl-devel rpm to get netlink.h, do 'yum provides *netlink/netlink.h' to find out... yi > All patches from /patchwork/patch/1676/ are already included in fcoeadm.c, > fcoemon.c & fcoe_utils.h files, verified that. > > Pl.suggest > > > > > > --- On Tue, 21/6/11, Pranoti Kale <[email protected]> wrote: > > From: Pranoti Kale <[email protected]> > Subject: RE: Makefile creation problem in fcoe-utils > To: [email protected] > Cc: "Robert WLove" <[email protected]> > Date: Tuesday, 21 June, 2011, 1:06 AM > > > Thanks a lot Sir, your solution really works ! > > Pranoti Kale > --- On Mon, 20/6/11, Love, Robert W <[email protected]> wrote: > > From: Love, Robert W <[email protected]> > Subject: RE: Makefile creation problem in fcoe-utils > To: "Pranoti Kale" <[email protected]> > Date: Monday, 20 June, 2011, 7:10 PM > > You cannot avoid the ‘rpm –eval “%configure” | sh’ step. It has to > succeed. It creates the Makefile and without the Makefile you can’t > continue. The rpm command is just running ‘./configure’ and passing it > some default options that rpm is generating. You can just try > ‘./configure’, but it’s not as good as using rpm. Regardless, your > problem is that you don’t have lldpad. More specifically you don’t have > lldpad-devel. Since you’re building fcoe from source you’re going to need > the header files that lldpad-devel provides. The naming is a bit > confusing, but it’s only because you have lldpad installed from your > distro and not from source. ‘rpm –qi’ is only searching the RPM database, > not the automake database (which is at /usr/share/pkgconfig). Do a ‘yum > -y install lldpad-devel’ then retry ‘rpm –eval “%configure” | sh’. I > think that should > resolve your problem. If it doesn’t please mail the mailing list. I’m > happy to help, but you’re likely to get a quicker response on the list. > Also, others with this problem would be able to see the solution. Thanks, > //Rob From: Pranoti Kale [mailto:[email protected]] > Sent: Friday, June 17, 2011 10:57 PM > To: Love, Robert W > Subject: Makefile creation problem in fcoe-utils Dear Sir, > > I'm trying to use the INSTALL instructions for the fcoe-utils( from open- > fcoe-2.6.39.tar.gz) onto an Fedora 14 with kernel 2.6.35 (compiled kernel) > but cannot get it to compile.(Makefile not created from Makefile.am & > Makefile.in in fcoe-utils folder) > > Following INSTALL ./bootstrap.sh OK, but doing the next step rpm --eval > "%configure" | sh tells me that I am missing the lldp package, even > though doing a check says that I do have in onboard.( rpm -qi lldpad > shows lldpad Version : 0.9.38) > > Still with above error if tried to make anyway and it tells me make: *** > No targets specified and no makefile found. Stop. > > Is there something in either the Makefile.in or Makefile.am I need to > modify or some other setup I'm missing? Why I am getting error for lldp > pkg eventhough it is > there? Is it causing error for creation for Makefile? > > On 17th March 2010 "View File fcoe-utils-rc2-update of Package open-fcoe > (Project network:fcoe)" shows some patches but I don't understand how to > apply it ? > > Kindly help. > > Regards > Pranoti Kale > _______________________________________________ > devel mailing list > [email protected] > https://lists.open-fcoe.org/mailman/listinfo/devel _______________________________________________ devel mailing list [email protected] https://lists.open-fcoe.org/mailman/listinfo/devel
