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.

Get compile error after linux auto update to 5.15.36

Featured Replies

I compiled the Armbian on renegade board, based on mainline linux, compiling was stopped as the output:

  LD      vmlinux.o
  MODPOST vmlinux.symvers
  MODINFO modules.builtin.modinfo
  GEN     modules.builtin
  LD      .tmp_vmlinux.kallsyms1
[ error ] ERROR in function compile_kernel [ main.sh:589 -> main.sh:490 -> compilation.sh:506 -> general.sh:0 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated 

And the logs files are in the attachments.

Today the linux kernel auto updates to 5.15.36, I haven't this issue using 5.15.35 before.
Anybody know why?

logs.zip

I am having the exact same issue as you, trying to build for a NanoPi M4V2 with rockchip64-current 5.15.36 Kernel on an Ubuntu 21.04 VM (same version of gcc).

At first I thought it was an error in my code as I was also creating a custom patch.

However it seems to compile without an issue when building for rockchip64-edge (5.16.x Kernel). 

So I'd assume that this issue is probably a bug that will hopefully get addressed soon. In the meantime I would recommend building with a different Kernel Version like 5.16, if possible.

 

  • Author

It seems because the 5.15.36 have removed "__sync_filesystem" function, but there are still code uses this interface, so it is a bug of 5.15.36, hope it will be fixed soon.

  • Author
2 hours ago, KingKoro said:

I am having the exact same issue as you, trying to build for a NanoPi M4V2 with rockchip64-current 5.15.36 Kernel on an Ubuntu 21.04 VM (same version of gcc).

At first I thought it was an error in my code as I was also creating a custom patch.

However it seems to compile without an issue when building for rockchip64-edge (5.16.x Kernel). 

So I'd assume that this issue is probably a bug that will hopefully get addressed soon. In the meantime I would recommend building with a different Kernel Version like 5.16, if possible.

 

The armbian build auto get 5.15.36, how can I change to 5.16?

 

vor einer Stunde schrieb DavidJS:

The armbian build auto get 5.15.36, how can I change to 5.16?

 

You have to enable Expert Mode in the Build Options with "EXPERT=yes" by passing it to the "./compile.sh" command as an additional argument.

The possible arguments are all described here: https://docs.armbian.com/Developer-Guide_Build-Options/#hidden-options-for-advanced-users-default-values-are-marked-bold

 

image.png.dcdb8896bfaa3244c0cf20c1a183275b.png

 

Afterwards, in the command prompt, you will have a third option available for the kernel version called "edge" (image above). Atleast for the NanoPi M4V2, "edge" is currently 5.16.20-rockchip64.

Maybe, though I haven't tried it before, you can also try the "LIB_TAG" Build Option to choose a different branch from the linux-mainline repository.

 

vor 12 Stunden schrieb Werner:

This is not for kernel versions. This is for armbian build repository tags as mentioned in the documentation.

Thanks for the correction, seems like I mixed something up, sorry.

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.