Hi Burt,

Thanks a lot for your kind help !. It worked after adding the include and
library paths for ODP in vpp.mk. Also I had to add the library in
"libvnet_la_LIBADD" in vnet.am.

Thanks & Regards,
Sreejith

On 17 January 2017 at 18:24, Burt Silverman <bur...@gmail.com> wrote:

> Hi Sreejith,
>
> Have you tried adding your include path to vpp_CPPFLAGS in
> build-data/packages/vpp.mk rather than the old way of adding to
> vnet_CPPFLAGS in vnet.mk? Similarly for libraries, everything done in
> vpp.mk. See if this works for you.
>
> Burt
>
> On Tue, Jan 17, 2017 at 5:37 AM, Sreejith Surendran Nair <
> sreejith.surendrann...@linaro.org> wrote:
>
>> Hi All,
>>
>> I am working on VPP/ODP integration.
>> I had made some changes earlier in the Makefiles(vnet.mk,vpp.mk) to
>> build ODP with VPP.
>>
>> Below are the changes I made for ODP:
>>
>> 1) I had copied the ODP includes,bin and library to VPP installed path
>> (vpp/build-root/install-vpp).
>> 2) And added ODP installed includes and library path  as part of vnet.mk
>> and vpp.mk  ("vnet_CPPFLAGS" and "vnet_LDFLAGS", vpp_LDADD)
>>
>> But I have observed there is a change in Makefiles organization(vnet.am
>> and vpp.am) in the latest branch.
>>
>> Now I am not completely sure how to adjust the ODP include and library
>> path in new Makefiles to build ODP with VPP. I tried to make changes in
>> vnet.am and vpp.am but during build I got an error with respect to
>> missing odp header file(odp_api.h) but the file is present in VPP installed
>> path.
>>
>> If possible any suggestion could help a lot.
>>
>> Thanks & Regards,
>> Sreejith
>>
>> _______________________________________________
>> 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