[dpdk-dev] compile error

2017-10-23 Thread liupan1234
Hi All, I met an error when compile dpdk 17.08 with cmdline: make config T=x86_64-native-linuxapp-gcc && make EXTRA_CFLAGS="-fPIC" && make install an error: bad value (native) for -march= switch do you know why? my gcc version is 4.8.5

[dpdk-dev] compile error on ubuntu 14.4.4 kernel 4.2.0-27-generic in qemu

2016-04-20 Thread Sharath
Root cause: Default cpu config when the VM has be been started by qemu does not support SSE. I have resolved this issue. Here the resolution which I used. Might be helpful for others Method 1 After Configuring VM by GUI based Virtual Machine Manager, go to the CPU config & make SSE as "Required"

[dpdk-dev] compile error on ubuntu 14.4.4 kernel 4.2.0-27-generic in qemu

2016-04-18 Thread Christian Ehrhardt
It is hard for me to spot what exactly is missing, but while it was never intended for trusty the version we have for xenial should get you going. # all kind of dependencies sudo apt-get install build-essential ubuntu-dev-tools debhelper dh-python dh-systemd doxygen graphviz inkscape libcap-dev li

[dpdk-dev] compile error on ubuntu 14.4.4 kernel 4.2.0-27-generic in qemu

2016-04-18 Thread Masaru OKI
On 2016/04/18 3:27, Sharath wrote: > 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? Default qemu virtual cpu does not support SSE4.2. Try qemu -cpu help, and specify your reasonable cpu.

[dpdk-dev] compile error on ubuntu 14.4.4 kernel 4.2.0-27-generic in qemu

2016-04-17 Thread Sharath
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/b

[dpdk-dev] Compile error with CONFIG_RTE_BUILD_COMBINE_LIBS=y

2015-12-08 Thread Qiu, Michael
My mistake. please ignore this issue. Thanks, Michael On 2015/12/8 15:08, Qiu, Michael wrote: > Hi, Thomas > > I see you recently merged one commit: > > commit 8f1c704fb0f1b867471fc692ed2c0fc5610831e2 > Author: Thomas Monjalon > Date: Tue Dec 8 01:50:17 2015 +0100 > > mk: fix external libr

[dpdk-dev] Compile error with CONFIG_RTE_BUILD_COMBINE_LIBS=y

2015-12-08 Thread Qiu, Michael
Hi, Thomas I see you recently merged one commit: commit 8f1c704fb0f1b867471fc692ed2c0fc5610831e2 Author: Thomas Monjalon Date: Tue Dec 8 01:50:17 2015 +0100 mk: fix external library build when combine is enabled The object files are copied to prepare the internal combined library.

[dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel

2014-09-23 Thread Bruce Richardson
On Mon, Sep 22, 2014 at 03:12:43PM -0700, Matthew Hall wrote: > On Mon, Sep 22, 2014 at 04:05:29PM -0400, Neil Horman wrote: > > On Mon, Sep 22, 2014 at 12:23:36PM -0700, Matthew Hall wrote: > > > I fixed some of the clang errors a few weeks ago. But some of my patches > > > got sent back due to i

[dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel

2014-09-23 Thread Matthew Hall
I fixed one main libs bug which blocked compile that was trivial and got it applied. I had examples working too but using an impolite method of doing so. As for the latest kernel stuff, it sounds like we have to get a hand from LKML or a sublist to figure it out, eh? Doesn't seem like it's in th

[dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel

2014-09-22 Thread Neil Horman
On Mon, Sep 22, 2014 at 12:23:36PM -0700, Matthew Hall wrote: > I fixed some of the clang errors a few weeks ago. But some of my patches got > sent back due to issues seen by others and I didn't have time to fix them yet. Can you elaborate on the specific issue here? Neil

[dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel

2014-09-22 Thread Matthew Hall
On Mon, Sep 22, 2014 at 04:05:29PM -0400, Neil Horman wrote: > On Mon, Sep 22, 2014 at 12:23:36PM -0700, Matthew Hall wrote: > > I fixed some of the clang errors a few weeks ago. But some of my patches > > got sent back due to issues seen by others and I didn't have time to fix > > them yet. > Ca

[dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel

2014-09-22 Thread Matthew Hall
I fixed some of the clang errors a few weeks ago. But some of my patches got sent back due to issues seen by others and I didn't have time to fix them yet. -- Sent from my mobile device. On September 22, 2014 6:18:51 AM PDT, Neil Horman wrote: >On Mon, Sep 22, 2014 at 09:36:33AM +, Richard

[dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel

2014-09-22 Thread Richardson, Bruce
Hi all, just looking to see if anyone has any suggestions to help me debug an issue I'm seeing here. Basically, the clang target is no longer working for me on Fedora 20 -due to errors when compiling up the kernel modules. The interesting thing is that the gcc target works fine, while the clang

[dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel

2014-09-22 Thread Neil Horman
On Mon, Sep 22, 2014 at 09:36:33AM +, Richardson, Bruce wrote: > Hi all, > > just looking to see if anyone has any suggestions to help me debug an issue > I'm seeing here. Basically, the clang target is no longer working for me on > Fedora 20 -due to errors when compiling up the kernel modul

[dpdk-dev] Compile error in igb_uio.c on RHEL 6.5

2014-07-31 Thread Zhang, Helin
Hi Stephen It seems that the recent patches for igb_uio.c introduce compile errors on RHEL 6.5. As I searched the name that commit, could you help to have a check for that? Attached log file show all the kernel version, gcc version, and compile errors. Thank you in advance! Regards, Helin

[dpdk-dev] compile error in fedora19

2013-08-26 Thread David Nyström
On 08/26/2013 10:36 AM, David Nystr?m wrote: > On Sat 24 Aug 2013 03:58:59 PM CEST, Thomas Monjalon wrote: >> 24/08/2013 05:44, Nulik Nol : >>> Thomas Monjalon wrote: I've sent some patches which are still waiting for review. Anybody (including you) may review them. >>> > > > >> I unders

[dpdk-dev] compile error in fedora19

2013-08-26 Thread David Nyström
On Sat 24 Aug 2013 03:58:59 PM CEST, Thomas Monjalon wrote: > 24/08/2013 05:44, Nulik Nol : >> Thomas Monjalon wrote: >>> I've sent some patches which are still waiting for review. >>> Anybody (including you) may review them. >> > I understand you haven't tested them. Could you test please ? Bu

[dpdk-dev] compile error in fedora19

2013-08-24 Thread Thomas Monjalon
24/08/2013 05:44, Nulik Nol : > Thomas Monjalon wrote: > > I've sent some patches which are still waiting for review. > > Anybody (including you) may review them. > > Sorry for my insistence but these patches seem to be of about month > ago ? What exactly the commit message says for this fix ? is

[dpdk-dev] compile error in fedora19

2013-08-24 Thread Nulik Nol
Sorry for my insistence but these patches seem to be of about month ago ? What exactly the commit message says for this fix ? is this in 1.3.1r2 ? Regards On Fri, Aug 23, 2013 at 3:22 PM, Thomas Monjalon wrote: > 23/08/2013 07:32, Nulik Nol : >> >> [niko at localhost dpdk-1.3.1r2]$ uname -a >>

[dpdk-dev] compile error in fedora19

2013-08-23 Thread Thomas Monjalon
23/08/2013 07:32, Nulik Nol : > >> [niko at localhost dpdk-1.3.1r2]$ uname -a > >> Linux localhost.localdomain 3.10.7-200.fc19.x86_64 #1 SMP Thu Aug 15 > >> 23:19:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > > So how do we fix it ? I've sent some patches which are still waiting for review. Anybod

[dpdk-dev] compile error in fedora19

2013-08-23 Thread David Nyström
On Fri 23 Aug 2013 12:21:41 PM CEST, David Nystr?m wrote: > On Fri 23 Aug 2013 12:11:51 PM CEST, Nulik Nol wrote: >> Hi, >> I have this error when compiling on Fedora 19. Any package I am >> missing ? >> >> [niko at localhost dpdk-1.3.1r2]$ make config T=x86_64-default-linuxapp-gcc > > >> [niko at

[dpdk-dev] compile error in fedora19

2013-08-23 Thread David Nyström
On Fri 23 Aug 2013 12:11:51 PM CEST, Nulik Nol wrote: > Hi, > I have this error when compiling on Fedora 19. Any package I am missing ? > > [niko at localhost dpdk-1.3.1r2]$ make config T=x86_64-default-linuxapp-gcc > [niko at localhost dpdk-1.3.1r2]$ uname -a > Linux localhost.localdomain 3.10.7

[dpdk-dev] compile error in fedora19

2013-08-23 Thread Nulik Nol
>> [niko at localhost dpdk-1.3.1r2]$ uname -a >> Linux localhost.localdomain 3.10.7-200.fc19.x86_64 #1 SMP Thu Aug 15 >> 23:19:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux > > > I'm guessing your running the 3.10.7 kernel as default in fedora 19, but > there should really > be a kernel version check

[dpdk-dev] compile error in fedora19

2013-08-23 Thread Nulik Nol
Hi, I have this error when compiling on Fedora 19. Any package I am missing ? [niko at localhost dpdk-1.3.1r2]$ make config T=x86_64-default-linuxapp-gcc Configuration done [niko at localhost dpdk-1.3.1r2]$ make == Build scripts == Build scripts/testhost HOSTCC testhost.o HOSTLD testhost INS