Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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'

Featured Replies

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?

  • Author
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

 

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

 

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.