- util-linux and --enable-raw with recent kernels
Re: util-linux and --enable-raw with recent kernels
toggle quoted messageShow quoted text
Indeed I checked on master but got cheated by the web git interface and I was looking at an older commit :-/
Glad it is the right way to go and already solved on master!
Il giorno mar 12 ott 2021 alle ore 18:55 Khem Raj <raj.khem@...
> ha scritto:
On 10/12/21 9:27 AM, Federico Pellegrin wrote:
> Running on a quite recent kernel (5.14.10 from Fedora 34) I've came
> across a problem when building util-linux (2.35.2) native, namely in the
> configure phase:
> configure: error: raw selected, but required raw.h header file not available
you might want to use latest master, fix that you might find useful is
> After a bit or research I believe it is due to:
> Which is related to the change in the recent kernels here:
> where the raw.h file was indeed removed.
> As per first link it may not be obvious to fix, and don't see an
> upstream fix for it, but from the Yocto perspective my current
> workaround is basically just to remove "--enable-raw" from the
> EXTRA_OECONF to disable the raw feature.
> While the whole image seemed to build fine with this, I'm not very sure
> if that configuration option had a precise use (which maybe it's being
> skipping in my specific build) or not, so I wanted to ask the experts if
> there is any opinion on this and/or should I do a merge request that
> removes it to handle this problem, at least until there is a better
> solution upstream in util-linux?
> Many thanks,
Join email@example.com to automatically receive all group messages.