[dpdk-dev] [Bug 75] 16.11 compile fail on RHEL 6.9

bugzilla at dpdk.org bugzilla at dpdk.org
Wed Jul 25 09:51:56 CEST 2018


https://bugs.dpdk.org/show_bug.cgi?id=75

            Bug ID: 75
           Summary: 16.11 compile fail on RHEL 6.9
           Product: DPDK
           Version: 16.11
          Hardware: x86
                OS: Linux
            Status: CONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev at dpdk.org
          Reporter: easetheworld at gmail.com
  Target Milestone: ---

I recently updated RHEL 6.7 to 6.9 then dpdk compile failed.

== Build lib/librte_eal/linuxapp/kni
dpdk-stable-16.11.7/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/kcompat.h:2837:2:
error: implicit declaration of function 'vlan_tx_tag_present'

The reason is that
vlan_tx_tag_* macros renamed to skb_vlan_tag_* in (>RHEL6.8 && <KERNEL2.6.34),
but the replacement '#define vlan_tx_tag_present skb_vlan_tag_present'
is after the use of vlan_tx_tag_present in __kc_vlan_get_protocol().

If I move the macro to the head of the file, compile succeed.

Reproducible on 16.07 as well.
I found same kcompat.h in 17.xx but it doesn't compile in RHEL 6 anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list