DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 75] 16.11 compile fail on RHEL 6.9
@ 2018-07-25  7:51 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2018-07-25  7:51 UTC (permalink / raw)
  To: dev

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@dpdk.org
          Reporter: easetheworld@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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-25  7:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-25  7:51 [dpdk-dev] [Bug 75] 16.11 compile fail on RHEL 6.9 bugzilla

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