From: jerry <jerry.lilijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
To: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Cc: "'Liuyongqiang \(A\)'"
<liu.liuyongqiang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Subject: dpdk 1.7.0 comiple errors on suse11 sp3 xen hypervisor
Date: Sun, 21 Sep 2014 13:10:20 +0800 [thread overview]
Message-ID: <541E5DBC.60907@huawei.com> (raw)
Hi all,
I try to run vhost-xen examples on suse 11 sp3 xen hypervisor and got some compile errors.
The two config have been set following dpdk pro-guide:
CONFIG_RTE_LIBRTE_XEN_DOM0=y
CONFIG RTE_LIBRTE_PMD_XENVIRT=n
Any suggestions ?
Pls see the detail error messages:
== Build lib/librte_eal/linuxapp/xen_dom0
make -C ../../../linux-3.0.76-0.11 O=/usr/src/linux-3.0.76-0.11-obj/x86_64/xen/.
Updating /mnt/sdb/lilijun/dpdk-1.7.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/xen_dom0/Makefile.xen
LD /mnt/sdb/lilijun/dpdk-1.7.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/xen_dom0/built-in.o
CC [M] /mnt/sdb/lilijun/dpdk-1.7.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.o
In file included from /usr/src/linux-3.0.76-0.11/include/xen/page.h:4,
from /mnt/sdb/lilijun/dpdk-1.7.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c:70:
/usr/src/linux-3.0.76-0.11/arch/x86/include/asm/xen/page.h:32:1: error: "FOREIGN_FRAME_BIT" redefined
In file included from /usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/pgtable_types.h:206,
from /usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/hypervisor.h:44,
from /usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/system.h:9,
from /usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/processor.h:17,
from /usr/src/linux-3.0.76-0.11/arch/x86/include/asm/thread_info.h:22,
from /usr/src/linux-3.0.76-0.11/include/linux/thread_info.h:53,
from /usr/src/linux-3.0.76-0.11/include/linux/preempt.h:9,
from /usr/src/linux-3.0.76-0.11/include/linux/spinlock.h:50,
from /usr/src/linux-3.0.76-0.11/include/linux/seqlock.h:29,
from /usr/src/linux-3.0.76-0.11/include/linux/time.h:8,
from /usr/src/linux-3.0.76-0.11/include/linux/stat.h:60,
from /usr/src/linux-3.0.76-0.11/include/linux/module.h:10,
from /mnt/sdb/lilijun/dpdk-1.7.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c:60:
/usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/maddr.h:11:1: error: this is the location of the previous definition
In file included from /usr/src/linux-3.0.76-0.11/include/xen/page.h:4,
from /mnt/sdb/lilijun/dpdk-1.7.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c:70:
/usr/src/linux-3.0.76-0.11/arch/x86/include/asm/xen/page.h:41: error: conflicting types for ‘machine_to_phys_mapping’
/usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/maddr.h:29: error: previous declaration of ‘machine_to_phys_mapping’ was here
/usr/src/linux-3.0.76-0.11/arch/x86/include/asm/xen/page.h:45: error: conflicting types for ‘set_phys_to_machine’
/usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/maddr.h:106: error: previous definition of ‘set_phys_to_machine’ was here
/usr/src/linux-3.0.76-0.11/arch/x86/include/asm/xen/page.h:59: error: redefinition of ‘pfn_to_mfn’
/usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/maddr.h:33: error: previous definition of ‘pfn_to_mfn’ was here
/usr/src/linux-3.0.76-0.11/arch/x86/include/asm/xen/page.h:74: error: redefinition of ‘phys_to_machine_mapping_valid’
/usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/maddr.h:42: error: previous definition of ‘phys_to_machine_mapping_valid’ was here
/usr/src/linux-3.0.76-0.11/arch/x86/include/asm/xen/page.h:82: error: redefinition of ‘mfn_to_pfn’
/usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/maddr.h:51: error: previous definition of ‘mfn_to_pfn’ was here
/usr/src/linux-3.0.76-0.11/arch/x86/include/asm/xen/page.h:127: error: conflicting types for ‘phys_to_machine’
/usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/maddr.h:117: error: previous definition of ‘phys_to_machine’ was here
/usr/src/linux-3.0.76-0.11/arch/x86/include/asm/xen/page.h:133: error: conflicting types for ‘machine_to_phys’
/usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/maddr.h:124: error: previous definition of ‘machine_to_phys’ was here
/usr/src/linux-3.0.76-0.11/arch/x86/include/asm/xen/page.h:159: error: conflicting types for ‘mfn_to_local_pfn’
/usr/src/linux-3.0.76-0.11/arch/x86/include/mach-xen/asm/maddr.h:96: error: previous definition of ‘mfn_to_local_pfn’ was here
B.R.
Jerry
reply other threads:[~2014-09-21 5:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=541E5DBC.60907@huawei.com \
--to=jerry.lilijun-hv44wf8li93qt0dzr+alfa@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=liu.liuyongqiang-hv44wF8Li93QT0dZR+AlfA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.