From: Sharath <sharath.b814@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] compile error on ubuntu 14.4.4 kernel 4.2.0-27-generic in qemu
Date: Sun, 17 Apr 2016 23:57:51 +0530 [thread overview]
Message-ID: <CAKxdSbjBCMymOy70b_BPwyGNAUJKJs+8wiuuhD4sjm_fZX_0Ag@mail.gmail.com> (raw)
HI,
I am facing feew compile errors while compiling dpdk. The env is ubuntu
running as an VM, VM is started by qemu. How do I fix the compile errors?
In file included from
/home/vpptest/vpp/build-root/build-vpp-native/dpdk/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:42:0:
/home/vpptest/vpp/build-root/install-vpp-native/dpdk/include/rte_memcpy.h:
In function ‘rte_memcpy’:
/home/vpptest/vpp/build-root/install-vpp-native/dpdk/include/rte_memcpy.h:625:2:
error: implicit declaration of function ‘_mm_alignr_epi8’
[-Werror=implicit-function-declaration]
MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
^
/home/vpptest/vpp/build-root/install-vpp-native/dpdk/include/rte_memcpy.h:625:2:
error: nested extern declaration of ‘_mm_alignr_epi8’
[-Werror=nested-externs]
/home/vpptest/vpp/build-root/install-vpp-native/dpdk/include/rte_memcpy.h:625:2:
error: incompatible type for argument 2 of ‘_mm_storeu_si128’
In file included from
/home/vpptest/vpp/build-root/install-vpp-native/dpdk/include/rte_common.h:289:0,
from
/home/vpptest/vpp/build-root/install-vpp-native/dpdk/include/rte_memory.h:55,
from
/home/vpptest/vpp/build-root/install-vpp-native/dpdk/include/rte_eal_memconfig.h:38,
from
/home/vpptest/vpp/build-root/build-vpp-native/dpdk/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:39:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:700:1: note: expected
‘__m128i’ but argument is of type ‘int’
Thanks
Sharath
next reply other threads:[~2016-04-17 18:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-17 18:27 Sharath [this message]
2016-04-17 18:41 ` Masaru OKI
2016-04-18 6:23 ` Christian Ehrhardt
2016-04-20 6:44 Sharath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKxdSbjBCMymOy70b_BPwyGNAUJKJs+8wiuuhD4sjm_fZX_0Ag@mail.gmail.com \
--to=sharath.b814@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).