DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] compile error in fedora19
@ 2013-08-23 10:11 Nulik Nol
  2013-08-23 10:21 ` David Nyström
  0 siblings, 1 reply; 9+ messages in thread
From: Nulik Nol @ 2013-08-23 10:11 UTC (permalink / raw)
  To: dev

Hi,
I have this error when compiling on Fedora 19. Any package I am missing ?

[niko@localhost dpdk-1.3.1r2]$ make config T=x86_64-default-linuxapp-gcc
Configuration done
[niko@localhost dpdk-1.3.1r2]$ make
== Build scripts
== Build scripts/testhost
  HOSTCC testhost.o
  HOSTLD testhost
  INSTALL-HOSTAPP testhost
== Build lib
== Build lib/librte_eal
== 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
== Build lib/librte_eal/linuxapp
== 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
== 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
== 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_osdep.h:41:0,
                 from
/volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h:31,
                 from
/volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.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_main.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_osdep.h:41,
                 from
/volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h:31,
                 from
/volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.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_main.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_osdep.h:41:0,
                 from
/volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h:31,
                 from
/volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.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_main.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_osdep.h:41,
                 from
/volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_type.h:31,
                 from
/volume/niko/dpdk-1.3.1r2/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_dcb.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_main.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_main.c:
In function ‘ixgbe_vlan_mode’:
/volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:334:25:
error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
  enable = !!(features & NETIF_F_HW_VLAN_RX);
                         ^
/volume/niko/dpdk-1.3.1r2/build/build/lib/librte_eal/linuxapp/kni/ixgbe_main.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]$

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-26  8:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-23 10:11 [dpdk-dev] compile error in fedora19 Nulik Nol
2013-08-23 10:21 ` David Nyström
2013-08-23 10:27   ` David Nyström
2013-08-23 12:32   ` Nulik Nol
2013-08-23 20:22     ` Thomas Monjalon
2013-08-24 10:44       ` Nulik Nol
2013-08-24 13:58         ` Thomas Monjalon
2013-08-26  8:36           ` David Nyström
2013-08-26  8:50             ` David Nyström

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