I've just posted the 1.10 patches for OVS, you'll need to apply them too.

On 29/06/16 17:06, Bill Fischofer wrote:
There were issues with unknown architectures giving this error in ODP
v1.8. This has been corrected in ODP v1.10.  Can you try with that release?

On Wed, Jun 29, 2016 at 11:05 AM, Zoltan Kiss <zoltan.k...@linaro.org
<mailto:zoltan.k...@linaro.org>> wrote:

    Hi,

    ODP_CACHE_LINE_SIZE is defined in platform/linux-generic/arch/[your
    arch]/odp/api/cpu_arch.h, or in
    platform/linux-generic/include/odp/api/align.h, I guess there is
    some screwup there. You should ask about this on the lng-odp list,
    I've added it to this mail.

    Regards,

    Zoltan


    On 21/06/16 09:20, nilesh kakade wrote:

        Hi,
        As you said I tried to install ODP v1.8 but still its giving
        following
        error at time of make command


        Making all in platform/linux-generic
        make[1]: Entering directory `/home/mit12/odp/platform/linux-generic'
            CC       odp_buffer.lo
        In file included from ./include/odp_pool_internal.h:23:0,
                           from odp_buffer.c:8:
        ./include/odp_align_internal.h:63:23: error: 'ODP_CACHE_LINE_SIZE'
        undeclared here (not in a function)
            ODP_ALIGN_ROUNDUP(x, ODP_CACHE_LINE_SIZE)
                                 ^
        ./include/odp_align_internal.h:49:4: note: in definition of macro
        'ODP_ALIGN_ROUNDUP'
            ((align) * (((x) + align - 1) / (align)))
              ^
        ./include/odp_buffer_internal.h:150:14: note: in expansion of macro
        'ODP_CACHE_LINE_SIZE_ROUNDUP'
            uint8_t
        pad[ODP_CACHE_LINE_SIZE_ROUNDUP(sizeof(odp_buffer_hdr_t))];
                        ^
        In file included from odp_buffer.c:8:0:
        ./include/odp_pool_internal.h:97:2: error: requested alignment
        is not an
        integer constant
            odp_ticketlock_t        lock ODP_ALIGNED_CACHE;
            ^
        ./include/odp_pool_internal.h:142:2: error: requested alignment
        is not
        an integer constant
            local_cache_t local_cache[ODP_THREAD_COUNT_MAX]
        ODP_ALIGNED_CACHE;
            ^
        In file included from odp_buffer.c:10:0:
        ./include/odp_buffer_inlines.h: In function 'odp_buf_to_hdr':
        ./include/odp_buffer_inlines.h:57:1: error: control reaches end of
        non-void function [-Werror=return-type]
           }
           ^
        cc1: all warnings being treated as errors
        make[1]: *** [odp_buffer.lo] Error 1
        make[1]: Leaving directory `/home/mit12/odp/platform/linux-generic'
        make: *** [all-recursive] Error 1
        mit12@mit12-All-Series:~/odp$

        please see the error and kindly help me further.

        Thanks & Regards.

    _______________________________________________
    lng-odp-ovs mailing list
    lng-odp-...@lists.linaro.org <mailto:lng-odp-...@lists.linaro.org>
    https://lists.linaro.org/mailman/listinfo/lng-odp-ovs


_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to