DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] dpdk 1.7.0 comiple errors on suse11 sp3 xen hypervisor
@ 2014-09-21  5:10 jerry
  0 siblings, 0 replies; only message in thread
From: jerry @ 2014-09-21  5:10 UTC (permalink / raw)
  To: dev; +Cc: 'Liuyongqiang (A)'

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-21  5:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-21  5:10 [dpdk-dev] dpdk 1.7.0 comiple errors on suse11 sp3 xen hypervisor jerry

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).