From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ea0-x243.google.com (mail-ea0-x243.google.com [IPv6:2a00:1450:4013:c01::243]) by dpdk.org (Postfix) with ESMTP id 9C7921F3 for ; Fri, 23 Aug 2013 12:11:21 +0200 (CEST) Received: by mail-ea0-f195.google.com with SMTP id z15so121521ead.2 for ; Fri, 23 Aug 2013 03:11:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=UbO0fZRVI5vk5nT3XWqWbzONxqM7VGC34Q0QwNQAk3M=; b=xl595TUtPV7J1WJhn26DGscdHExOYr3XxTFB1XMYxLXh9H+kAhae17qmpQs1wLvWpJ UkegNj+n0HFA89VCMnIrkm/8ZXkzykEt5HFLrXPYXRcqFIyXIl8CZWnDoTlCLVgDtlmx qYSblcuU3x2o1IF4ZI1GeosGbJ+CSg1O0cQauN7l4ovE/rzCOUuYrCoJYX/ZJcvmdJxM ILJSeCmrkZui/BRnM0CQYq932MmhbW5hQ0Mowk+rTcrPRLXIK7Obhc0NtbTWBSNJvt5E 66BQCNgMYzb+F6ihX2vrdxLAfDPhWi/+sxsttG7GpDHfleN0WLPl0K+2J2mVZnKLi8UL oZCA== MIME-Version: 1.0 X-Received: by 10.14.183.130 with SMTP id q2mr25572774eem.5.1377252711612; Fri, 23 Aug 2013 03:11:51 -0700 (PDT) Received: by 10.223.199.70 with HTTP; Fri, 23 Aug 2013 03:11:51 -0700 (PDT) Date: Fri, 23 Aug 2013 05:11:51 -0500 Message-ID: From: Nulik Nol To: dev@dpdk.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] compile error in fedora19 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: Fri, 23 Aug 2013 10:11:22 -0000 Hi, I have this error when compiling on Fedora 19. Any package I am missing ? [niko@localhost dpdk-1.3.1r2]$ make config T=3Dx86_64-default-linuxapp-gcc Configuration done [niko@localhost dpdk-1.3.1r2]$ make =3D=3D Build scripts =3D=3D Build scripts/testhost HOSTCC testhost.o HOSTLD testhost INSTALL-HOSTAPP testhost =3D=3D Build lib =3D=3D Build lib/librte_eal =3D=3D Build lib/librte_eal/common SYMLINK-FILE include/rte_atomic.h SYMLINK-FILE include/rte_branch_prediction.h SYMLINK-FILE include/rte_byteorder.h SYMLINK-FILE include/rte_common.h SYMLINK-FILE include/rte_cycles.h SYMLINK-FILE include/rte_debug.h SYMLINK-FILE include/rte_eal.h SYMLINK-FILE include/rte_errno.h SYMLINK-FILE include/rte_launch.h SYMLINK-FILE include/rte_lcore.h SYMLINK-FILE include/rte_log.h SYMLINK-FILE include/rte_memcpy.h SYMLINK-FILE include/rte_memory.h SYMLINK-FILE include/rte_memzone.h SYMLINK-FILE include/rte_pci.h SYMLINK-FILE include/rte_pci_dev_ids.h SYMLINK-FILE include/rte_per_lcore.h SYMLINK-FILE include/rte_prefetch.h SYMLINK-FILE include/rte_random.h SYMLINK-FILE include/rte_rwlock.h SYMLINK-FILE include/rte_spinlock.h SYMLINK-FILE include/rte_tailq.h SYMLINK-FILE include/rte_interrupts.h SYMLINK-FILE include/rte_alarm.h SYMLINK-FILE include/rte_string_fns.h SYMLINK-FILE include/rte_cpuflags.h SYMLINK-FILE include/rte_version.h SYMLINK-FILE include/rte_tailq_elem.h SYMLINK-FILE include/rte_eal_memconfig.h SYMLINK-FILE include/rte_malloc_heap.h SYMLINK-FILE include/arch/rte_atomic.h =3D=3D Build lib/librte_eal/linuxapp =3D=3D Build lib/librte_eal/linuxapp/igb_uio LD /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/igb= _uio/built-in.o CC [M] /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/igb= _uio/igb_uio.o Building modules, stage 2. MODPOST 1 modules CC /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/igb= _uio/igb_uio.mod.o LD [M] /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/igb= _uio/igb_uio.ko INSTALL-MODULE igb_uio.ko =3D=3D Build lib/librte_eal/linuxapp/eal CC eal.o CC eal_hugepage_info.o CC eal_memory.o CC eal_thread.o CC eal_log.o CC eal_pci.o CC eal_debug.o CC eal_lcore.o CC eal_hpet.o CC eal_interrupts.o CC eal_alarm.o CC eal_common_memzone.o CC eal_common_log.o CC eal_common_launch.o CC eal_common_pci.o CC eal_common_memory.o CC eal_common_tailqs.o CC eal_common_errno.o CC eal_common_cpuflags.o AR librte_eal.a SYMLINK-FILE include/exec-env/rte_per_lcore.h SYMLINK-FILE include/exec-env/rte_lcore.h SYMLINK-FILE include/exec-env/rte_interrupts.h SYMLINK-FILE include/exec-env/rte_kni_common.h INSTALL-LIB librte_eal.a =3D=3D Build lib/librte_eal/linuxapp/kni LD /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni= /built-in.o CC [M] /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni= /ixgbe_main.o In file included from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_o= sdep.h:41:0, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_t= ype.h:31, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_d= cb.h:32, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h= :52, from /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni/ixgbe_mai= n.c:56: /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat= .h:321:0: error: "vlan_tx_tag_present" redefined [-Werror] #define vlan_tx_tag_present(_skb) 0 ^ In file included from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat= .h:56:0, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_o= sdep.h:41, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_t= ype.h:31, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_d= cb.h:32, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h= :52, from /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni/ixgbe_mai= n.c:56: /usr/src/kernels/3.10.7-200.fc19.x86_64/include/linux/if_vlan.h:81:0: note: this is the location of the previous definition #define vlan_tx_tag_present(__skb) ((__skb)->vlan_tci & VLAN_TAG_PRESENT) ^ In file included from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_o= sdep.h:41:0, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_t= ype.h:31, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_d= cb.h:32, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h= :52, from /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni/ixgbe_mai= n.c:56: /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat= .h:322:0: error: "vlan_tx_tag_get" redefined [-Werror] #define vlan_tx_tag_get(_skb) 0 ^ In file included from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat= .h:56:0, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_o= sdep.h:41, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_t= ype.h:31, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_d= cb.h:32, from /volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe.h= :52, from /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni/ixgbe_mai= n.c:56: /usr/src/kernels/3.10.7-200.fc19.x86_64/include/linux/if_vlan.h:82:0: note: this is the location of the previous definition #define vlan_tx_tag_get(__skb) ((__skb)->vlan_tci & ~VLAN_TAG_PRESENT) ^ /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni/ixgbe_mai= n.c: In function =91ixgbe_vlan_mode=92: /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni/ixgbe_mai= n.c:334:25: error: =91NETIF_F_HW_VLAN_RX=92 undeclared (first use in this function) enable =3D !!(features & NETIF_F_HW_VLAN_RX); ^ /volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni/ixgbe_mai= n.c:334:25: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors make[8]: *** [/volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp= /kni/ixgbe_main.o] Error 1 make[7]: *** [_module_/volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/= linuxapp/kni] Error 2 make[6]: *** [sub-make] Error 2 make[5]: *** [rte_kni.ko] Error 2 make[4]: *** [kni] Error 2 make[3]: *** [linuxapp] Error 2 make[2]: *** [librte_eal] Error 2 make[1]: *** [lib] Error 2 make: *** [all] Error 2 [niko@localhost dpdk-1.3.1r2]$ [niko@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 [niko@localhost dpdk-1.3.1r2]$