Skip to contentSkip to conversation

'orangepi_one_defconfig' build issue

Buildroot paul 2 participants 2 messages Jan 11, 2017

lore
Share & tools
lore

paul

author
#0 lore raw

Hi,

I did a build for orange-pi' board based on the recently posted 'orangepi_one_defconfig' , using buildroot-2016-11. There is this error coming -
--------------------

       ...

if ! support/scripts/check-kernel-headers.sh /media/p/data/ai-robo/bld-lnx/buildroot-2016.11/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot

4.8; then exit 1; fi
Incorrect selection of kernel headers: expected 4.8.x, got 4.9.x package/pkg-generic.mk:255: recipe for target '/media/p/data/ai-robo/bld-lnx/buildroot-2016.11/output/build/linux-headers-4.9/.stamp_staging_installed' failed
make[1]: *** [/media/p/data/ai-robo/bld-lnx/buildroot-2016.11/output/build/linux-headers-4.9/.stamp_staging_installed] Error 1
Makefile:76: recipe for target '_all' failed
make: *** [_all] Error 2
--------------------

I did try editing '.config' file but it still shows the same error. How do we solve the issue?

Thanks, Paul.

#1 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"paul" == paul <[email protected]> writes:

Hi,
I did a build for orange-pi' board based on the recently posted 'orangepi_one_defconfig' , using buildroot-2016-11. There is this error coming -
--------------------

Quoted 6 lines
      ...

if ! support/scripts/check-kernel-headers.sh /media/p/data/ai-robo/bld-lnx/buildroot-2016.11/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot

4.8; then exit 1; fi
Incorrect selection of kernel headers: expected 4.8.x, got 4.9.x

The new orangepi_one_defconfig uses kernel / headers 4.9 which weren't available in the 2016.11 release. You can either try to change it to use kernel 4.8 or build against current git which does have 4.9 support.

Signature · 1 line
Bye, Peter Korsgaard