The message produced by make does not correspond to the Makefile you attached.
I would suggest learning how `make' works first...

Quoting 重新开始 (2017-10-02 10:46:30)
>    I have copy the .so files to /usr/lib/vpp. And in the makefile, i modified
>    the path. THe output is same:
>    make: *** No rule to make target>
>    '/vpp/vpp-api/vapi/.libs/libvapiclient.so', needed by '/vapi_test/test'.
>    ------------------ 原始邮件 ------------------
>    发件人: "Klement Sekera -X (ksekera - PA";<ksek...@cisco.com>;
>    发送时间: 2017年10月2日(星期一) 下午3:57
>    收件人: "重新开始"<15803846...@qq.com>;"vpp-dev"<vpp-dev@lists.fd.io>;
>    主题: Re: [vpp-dev] vapi test problem
>    Hi 重新开始,
> 
>    taking Makefile out of vpp source tree and using it on its own is
>    almost certainly not going to work.
> 
>    You need to install the libvapiclient.so (and others) library
>    and/or adapt linker flags to point inside your source tree so that the
>    linker can find it.
> 
>    This is not a VPP question, rather a compiler/linker/Makefile issue.
> 
>    Regards,
>    Klement
> 
>    Quoting 重新开始 (2017-10-01 11:49:39)
>    >    Hi,
>    >       I install vpp 18.01 on ubuntu 16.04, and test vapi. But make
>    output:
>    >    make: *** No rule to make target
>    >    '/vpp/vpp-api/vapi/.libs/libvapiclient.so', needed by
>    '/vapi_test/test'.
>    >    Stop.
>    >    Anyone met this problem?
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to