Skip to contentSkip to conversation

Build fail using dpdk-setup.sh in RedHat version 3.10.0-862.rt56.804.el7.x86_64

dpdk-dev [email protected] 1 participant 2 messages Jan 3, 2020

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 379
           Summary: Build fail using dpdk-setup.sh in RedHat version
                    3.10.0-862.rt56.804.el7.x86_64
           Product: DPDK
           Version: 17.11
          Hardware: x86
                OS: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: other
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

Hi,

I was trying to build DPDK environment using dpdk-setup.sh but can't get DPDK to compile.

$sudo ./dpdk-stable-17.11.5/usertools/dpdk-setup.sh

I type 14(x86_64-native-lunuxapp-gcc) to build DPDK show the errors below:

Configuration done using x86_64-native-linuxapp-gcc
==Build lib
==Build lib/librte_compat
==Build lib/librte_eal
==Build lib/librte_eal/common
==Build lib/librte_eal/linuxapp
==Build lib/librte_eal/linuxapp/eal
==Build lib/librte_eal/linuxapp/igb_uio
make: *** /lib/modules/3.10.0-862.rt56.804.el7.x86_64/build: No such file or directory. Stop.
make[7]: *** [igb_uio.ko] Error 2
make[6]: *** [igb_uio.] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2

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

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

Thomas Monjalon ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID
                 CC|                            |[email protected]

--- Comment #1 from Thomas Monjalon ([email protected]) --- Please see
http://doc.dpdk.org/guides/linux_gsg/sys_reqs.html#compilation-of-the-dpdk

You need the kernel headers if you build a kernel module.
Either install the package for it or disable compilation of kni and igb_uio.

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