Skip to contentSkip to conversation

16.11 compile fail on RHEL 6.9

Bug 75 [email protected] 1 participant 1 message Jul 25, 2018

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.