Description of problem: With elfutils-libelf-devel installed a kernel build from vanilla kernel.org sources with a stock Fedora 27 x86-64 .config breaks with unknown types. For example: In file included from /usr/include/gelf.h:32:0, from arch/x86/../../elf.h:22, from arch/x86/decode.c:26: /usr/include/libelf.h:46:4: error: unknown type name ‘Elf32_Word’ Elf32_Word ch_type; /* Compression format. */ ^~~~~~~~~~ Version-Release number of selected component (if applicable): elfutils-libelf-devel-0.170-1.fc27.x86_64 How reproducible: Always Steps to Reproduce: 1. Obtain kernel source 2. Set the .config 3. make Actual results: Build fails Expected results: Build works
OK my bad, seems it doesn't like a custom CPATH...
(In reply to James Ettle from comment #1) > OK my bad, seems it doesn't like a custom CPATH... Hi James: I meet same issue when compile kernel 4.18.7, could you let me know what is the solution for this issue? Thank you so much. Danny