Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] configure: error: kernel headers required on Linux
@ 2024-05-28 11:17 Stephan Lukits
  2024-07-08 10:18 ` J. Neuschäfer via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Stephan Lukits @ 2024-05-28 11:17 UTC (permalink / raw)
  To: buildroot

Good afternoon, in an alpine docker container executing

$ make raspberrypi3_64_defconfig
$ make

fails with the message

> configure: error: kernel headers required on Linux
> make: *** [package/pkg-generic.mk:273: /buildroot/output/build/host-util-linux-> 2.39.2/.stamp_configured] Error 1

I wonder how I could fix this, thx, Stephan
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Buildroot] configure: error: kernel headers required on Linux
  2024-05-28 11:17 [Buildroot] configure: error: kernel headers required on Linux Stephan Lukits
@ 2024-07-08 10:18 ` J. Neuschäfer via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: J. Neuschäfer via buildroot @ 2024-07-08 10:18 UTC (permalink / raw)
  To: Stephan Lukits; +Cc: buildroot

On Tue, May 28, 2024 at 01:17:07PM +0200, Stephan Lukits wrote:
> Good afternoon, in an alpine docker container executing
>
> $ make raspberrypi3_64_defconfig
> $ make
>
> fails with the message
>
> > configure: error: kernel headers required on Linux
> > make: *** [package/pkg-generic.mk:273: /buildroot/output/build/host-util-linux-> 2.39.2/.stamp_configured] Error 1
>
> I wonder how I could fix this, thx, Stephan

As far as I can't see, `apk add linux-headers` should do the trick.

Arguably, perhaps host-util-linux could be patched not to need the
kernel headers, but that would be more involved.

-- jn
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-08 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 11:17 [Buildroot] configure: error: kernel headers required on Linux Stephan Lukits
2024-07-08 10:18 ` J. Neuschäfer via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox