Looking at your note again; I tried to replicate, but make was too smart for my feeble attempt. But a few thoughts:
1. The warning about relinking is normal AFAIK. Roughly speaking, libsvm.la was linked to libvppinfra.la in the build tree but now it will be linked to libvppinfra.la in the install tree. 2. This line looks like it comes from the new style build /bin/sh ./libtool --mode=install /usr/bin/install -c libsvm.la libsvmdb.la libvlib.la libvlibapi.la libvlibmemory.la libvlibmemoryclient.la libvlibsocket.la libvatplugin.la '/home/jdl/ngr-rpms/build_ root/BUILD/vpp/build-root/install-vpp-native/vpp/lib64' but this line /usr/bin/ld: cannot find -lvppinfra looks like it's coming from the old style build. So follow Dave Barach's procedure and clean up. Also, you should indicate in the note what make command you issued. I guess you know that -j for make is done under the covers and you should not have -j on your command line. Finally, you might wish to do something like "make build > make.log 2>&1" and then see in make.log where you first notice errors related to the vppinfra library. Maybe you'd find something strange quite a bit earlier than the final error messages, especially because of -j. But again, it seems like something was not clean in your tree. Burt On Wed, Jan 11, 2017 at 4:59 PM, Jon Loeliger <j...@netgate.com> wrote: > Folks, > > I'm staring at some VPP builds on a fresh CentOS system. > I've installed all the "install-deps", and get pretty far into the > build before it wedges. I see warnings like this: > > /bin/sh ./libtool --mode=install /usr/bin/install -c libsvm.la > libsvmdb.la libvlib.la libvlibapi.la libvlibmemory.la > libvlibmemoryclient.la libvlibsocket.la libvatplugin.la > '/home/jdl/ngr-rpms/build_root/BUILD/vpp/build-root/ > install-vpp-native/vpp/lib64' > PLUGIN CFG vpp_plugin_configure > libtool: install: warning: relinking `libsvm.la' > > I don't know if that is important misbehavior or normal behavior. > > Ultimately, most of the builds quit grousing about a missing libvppinfra: > > /usr/bin/ld: cannot find -lvppinfra > collect2: error: ld returned 1 exit status > libtool: install: error: relink `libsvm.la' with the above command before > installing it > make[6]: *** [install-libLTLIBRARIES] Error 1 > make[6]: *** Waiting for unfinished jobs.... > > Not sure which real target issued that loveliness due to some "make -j" > parallelism in the mix. Might be the relinking of libvnet.la. > > I am able to build VPP on an entirely different system though. > So it seems like there is some variability in its success rate. > > Is it possible that there is a missing dependency and the "-j" is > effectively causing it to want libvppinfra before it is available? > > Ideas or suggestions? > > Thanks, > jdl > > > _______________________________________________ > vpp-dev mailing list > vpp-dev@lists.fd.io > https://lists.fd.io/mailman/listinfo/vpp-dev >
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev