[dpdk-dev] [Bug 340] Can't build examples in Ubuntu 18 after commit 4131ad5db from 03/07/2019

bugzilla at dpdk.org bugzilla at dpdk.org
Wed Aug 14 12:40:06 CEST 2019


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

            Bug ID: 340
           Summary: Can't build examples in Ubuntu 18 after commit
                    4131ad5db from 03/07/2019
           Product: DPDK
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: examples
          Assignee: dev at dpdk.org
          Reporter: john.soares at accelercomm.com
  Target Milestone: ---

Created attachment 65
  --> https://bugs.dpdk.org/attachment.cgi?id=65&action=edit
Patch to reverse the commit

After bisecting I found out that the commit
4131ad5db79a016970287282b938ebed2f19bdb3 prevents building the examples.

This is the error message:
"gcc: error: rte_config.h: No such file or directory"

Everything works fine after applying a patch that reverts the mentioned commit.

It might be my mistake but these are the commands that I run from the project's
folder:
make config T=x86_64-native-linux-gcc; cd build; make; make -C ../examples/;

This is the full message from bisecting:
"
4131ad5db79a016970287282b938ebed2f19bdb3 is the first bad commit
commit 4131ad5db79a016970287282b938ebed2f19bdb3
Author: Bruce Richardson <bruce.richardson at intel.com>
Date:   Wed Jul 3 17:40:00 2019 +0100
   examples: fix pkg-config detection with older make
   Make versions before 4.2 did not have support for the .SHELLSTATUS
   variable, so use another method to detect shell success.
   Fixes: 22119c4591a0 ("examples: use pkg-config in makefiles")
   Cc: stable at dpdk.org
   Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
   Acked-by: Luca Boccassi <bluca at debian.org>
:040000 040000 a19effc010e643f86f2d3951d86bf8651bec0d63
096fc047eab18a285d7f6d0c783ce47316fcc435 M      examples
"

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


More information about the dev mailing list