Jump to content

NanoPi Neo 2: Armbian 20.11.10 Focal - unable to build kernel 5.10.4 source - No rule to make target 'arch/arm64/kernel/vdso/vdso.lds'


Recommended Posts

Posted
Armbianmonitor:

I am building kernel 5.10.4 sources on NanoPi Neo 2 with Armbian 20.11.10 Focal and get following error:

nanopineo2:~:% cd /usr/src/linux-headers-5.10.4-sunxi64
nanopineo2:linux-headers-5.10.4-sunxi64:% sudo make headers_check
nanopineo2:linux-headers-5.10.4-sunxi64:% sudo make scripts
nanopineo2:linux-headers-5.10.4-sunxi64:% sudo make prepare          
scripts/Makefile.build:414: warning: overriding recipe for target 'modules.order'
Makefile:1407: warning: ignoring old recipe for target 'modules.order'
make[1]: *** No rule to make target 'arch/arm64/kernel/vdso/vdso.lds', needed by 'arch/arm64/kernel/vdso/vdso.so.dbg'.  Stop.
make: *** [arch/arm64/Makefile:182: vdso_prepare] Error 2

Do I miss something? Could someone confirm the error I see?

Posted
On 3/23/2021 at 2:21 PM, Scritch said:

Hello Otlabs,

 

Can you confirm that this problem is resolved for you?

I run into the same compile issue, even with the latest armbian version and the mentioned fix available on the sys tem.

Hi Scritch,

 

Just tested on same setup you mention (Armbian 21.02.3, kernel 5.10.21).

 

Need to confirm I do still have the issue on NanoPi Neo 2 board, it looks mostly the same:

scripts/Makefile.build:414: warning: overriding recipe for target 'modules.order'
Makefile:1403: warning: ignoring old recipe for target 'modules.order'
make[1]: *** No rule to make target 'arch/arm64/kernel/vdso/vdso.lds', needed by 'arch/arm64/kernel/vdso/vdso.so.dbg'.  Stop.
make: *** [arch/arm64/Makefile:186: vdso_prepare] Error 2

 

Posted

The problem is still the same, also for nightly builds.

I used the following package: https://beta.armbian.com/pool/main/l/linux-5.11.11-meson64/linux-headers-edge-meson64_21.05.0-trunk.68_arm64.deb

 

scritch@odroidc2:/usr/src/linux-headers-5.11.11-meson64$ sudo make KERNELVERSION=5.11.11-meson64 -j3 modules_prepare
scripts/Makefile.build:414: warning: overriding recipe for target 'modules.order'
Makefile:1409: warning: ignoring old recipe for target 'modules.order'
make[1]: *** No rule to make target 'arch/arm64/kernel/vdso/vdso.lds', needed by 'arch/arm64/kernel/vdso/vdso.so.dbg'.  Stop.
make: *** [arch/arm64/Makefile:191: vdso_prepare] Error 2

 

Posted

mic@radxa-zero:/usr/src/linux-headers-5.10.81-meson64$ sudo make
  UPD     include/config/kernel.release
  UPD     include/generated/utsrelease.h
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  CC      scripts/mod/devicetable-offsets.s
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
scripts/Makefile.build:415: warning: overriding recipe for target 'modules.order'
Makefile:1422: warning: ignoring old recipe for target 'modules.order'
make[1]: *** No rule to make target 'arch/arm64/kernel/vdso/vdso.lds', needed by 'arch/arm64/kernel/vdso/vdso.so.dbg'.  Stop.
make: *** [arch/arm64/Makefile:186: vdso_prepare] Error 2
 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines