From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga03-in.huawei.com (unknown [119.145.14.66]) by dpdk.org (Postfix) with ESMTP id 45325591E for ; Sun, 21 Sep 2014 07:06:09 +0200 (CEST) Received: from 172.24.2.119 (EHLO szxeml461-hub.china.huawei.com) ([172.24.2.119]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id AUQ19668; Sun, 21 Sep 2014 13:11:57 +0800 (CST) Received: from [127.0.0.1] (10.177.19.236) by szxeml461-hub.china.huawei.com (10.82.67.204) with Microsoft SMTP Server id 14.3.158.1; Sun, 21 Sep 2014 13:11:48 +0800 Message-ID: <541E5DBC.60907@huawei.com> Date: Sun, 21 Sep 2014 13:10:20 +0800 From: jerry User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: "dev@dpdk.org" Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.177.19.236] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020207.541E5E1D.009C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: b09fd59713d2a66c5fd2612e26ef4ab4 Cc: "'Liuyongqiang \(A\)'" Subject: [dpdk-dev] dpdk 1.7.0 comiple errors on suse11 sp3 xen hypervisor X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 05:06:11 -0000 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