From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f67.google.com (mail-vk0-f67.google.com [209.85.213.67]) by dpdk.org (Postfix) with ESMTP id BFFAEC4C0 for ; Thu, 23 Jun 2016 15:59:21 +0200 (CEST) Received: by mail-vk0-f67.google.com with SMTP id t7so13791009vkf.2 for ; Thu, 23 Jun 2016 06:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QjiaH71gapEXHP2F1xLOm1HAbimmLyJ1mBb70XLhwk4=; b=xztmxNYWWSaJNE2TJfrHYldRP+n8BV1f5yxffRC8S4ojU+bK7XdFh3+gCiCmFX6/ST 6K0t/Qy4wgJeXYeZw0YjaiGmyBYoPwTy/3I/BeGBcwIGVtUzFJwRWAXMA260MyjHDhKz u8Gn+wSDeXrB3XfX1J8TTryttWaqBrnX/xWxkSmhWbkIjOKbCIxOFv4ghEZhELh0Bk3q TN+rH4iNPye6ELwPMj1xBivs+WC/58eeZvlnzN4tSEQSulecndnYq+cfGTg3FtI5578r J2oIW2rZUhyVOBZ6moe8RwymQnnQI7id0JRNyNAyDEtapKK3d8Fbgj8n8cKWdevE1VLl A4HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QjiaH71gapEXHP2F1xLOm1HAbimmLyJ1mBb70XLhwk4=; b=l2Un7ceHOKEEoR/2KI2xNCjgc0jYiY5fZVIVo3lizS+ZuP7r/Whlf1hS597PX+HGzQ FvFN4E5b91TzAkfE0nFlQr9bszRKBtlSGrW6dhE2IxJuRaVtANen5nqLnHvVXvdvUXj4 ZPbifCK9r5K6MV0EA1+GSIOdJXHiAMbXieyGl/Tat4yS47kUSaM3gLNEYAKPViApPwky QAM6HLYlLCCochzbni5RraPnUd3q9m0cAVoCAqprBZStCOXua6eAQNXvJ6m+S97dIrZF DguObEbNV2jjVGAZgQ37R35ar9Lvgv6FB93Cn6/M7BOx15toCric2n7FaEREUjgsLr87 355g== X-Gm-Message-State: ALyK8tKGXmgDw//ILn3Z/chwcqe0RQV0Oe8c5boW9AgCB7xyH6mpA5Yhfza9NWFgIdQyacUvZk+K+QlhCpt0ug== X-Received: by 10.31.53.75 with SMTP id c72mr15916035vka.62.1466690361101; Thu, 23 Jun 2016 06:59:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.37.183 with HTTP; Thu, 23 Jun 2016 06:59:20 -0700 (PDT) In-Reply-To: References: From: Cliff Burdick Date: Thu, 23 Jun 2016 06:59:20 -0700 Message-ID: To: SAKTHIVEL ANAND S Cc: users Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] DPDK KNI: X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 13:59:22 -0000 Are you including the .mk files? I believe this value is passed in as a compiled -D flag or defined in rte_memory.h. Do the examples compile correctly? On Thu, Jun 23, 2016 at 1:01 AM, SAKTHIVEL ANAND S wrote: > hello > > I am getting the below error , while compiling my code.. can you pls point > the root cause of this. > > > == Build lib/librte_eal/linuxapp/kni > CC [M] > /root/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_misc.o > In file included from > /root/dpdk-2.2.0/build/build/lib/librte_eal/linuxapp/kni/kni_misc.c:36:0: > > /usr/src/kernels/3.10.0-327.el7.x86_64/include/exec-env/rte_kni_common.h:113:2: > error: requested alignment is not an integer constant > void *buf_addr __attribute__((__aligned__(RTE_CACHE_LINE_SIZE))); > > > -- > Thanks > Sakthivel S OM >