This is triggered primarily by a bad line in build-root/Makefile

    export
LD_LIBRARY_PATH=$(TOOL_INSTALL_DIR)/lib64:$(TOOL_INSTALL_DIR)/lib ;

I am hoping the build folks get some extra minutes in their schedule so I
can discuss it with them if necessary. In the meantime, the extra cleaning
Damjan suggests is the way to go.

Basically, the build of vcl_test_server or vcl_test_client is seeing some
outdated libvppinfra.so.0.0.0 in the directory $(TOOL_INSTALL_DIR)/lib64.

Ironically, in this case "make wipe" or "make wipe-release" causes the
problem to appear, rather than to disappear. [Most problems disappear after
"make wipe"].

You can force the problem to appear by loading a junk libvppinfra.so.0.0.0
file in $(TOOL_INSTALL_DIR)/lib64. The build system is not supposed to be
picking up libvppinfra.so.0.0.0 from this location.

Burt

On Mon, Oct 23, 2017 at 3:53 AM, Shachar Beiser <shacha...@mellanox.com>
wrote:

> Hi,
>
>
>
>         I have a compilation issue on latest master branch.
>
>
>
>        -Shachar Beiser
>
>
>
>
>
> make[4]: Entering directory '/home/ubuntu/vpp.shacharbe/
> build-root/build-vpp-native/vp      p'
>
>   CC       vnet/tcp/builtin_client.lo
>
>   CC       vpp/vnet/bin_vpp-main.o
>
>   CC       vpp/app/bin_vpp-version.o
>
>   CCLD     vcl_test_server
>
>   CCLD     vcl_test_client
>
> ./.libs/libvppcom.so: undefined reference to `unformat_init_clib_file'
>
> ./.libs/libvppcom.so: undefined reference to `unformat_init_clib_file'
>
> collect2: error: ld returned 1 exit status
>
> Makefile:5536: recipe for target 'vcl_test_client' failed
>
> make[4]: *** [vcl_test_client] Error 1
>
> make[4]: *** Waiting for unfinished jobs....
>
> collect2: error: ld returned 1 exit status
>
> Makefile:5542: recipe for target 'vcl_test_server' failed
>
> make[4]: *** [vcl_test_server] Error 1
>
> make[4]: Leaving directory '/home/ubuntu/vpp.shacharbe/
> build-root/build-vpp-native/vpp      '
>
> Makefile:7268: recipe for target 'all-recursive' failed
>
> make[3]: *** [all-recursive] Error 1
>
> _______________________________________________
> 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

Reply via email to