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.

build well but giving an error

Featured Replies

hello!
I'm trying to build a kernel and I think it did. but the script shows the error:

  CC [M]  kernel/kheaders.o
[ error ] ERROR in function compile_kernel [ compilation.sh:411 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated 
root@valik-comp:~/armbian-build# 

and no errors in the text above. (full logs in attachments).

please tell me what to do ..?

fulllog.txt.gz

Solved by Werner

From what I got in the logs its rk322x-current.

However this branch is on 5.9. So either some modifications to the build script or a checkout a older commit.

 

Edit: 5.9 builds nicely for me btw.

A few patches fail to apply though. Probably never reviewed them for a while.

  • Author
7 часов назад, lanefu сказал:

What parameters are you passing to compile.sh

i run the script without parameters,
after that I select rk3229 from menu...

 

6 часов назад, Werner сказал:

From what I got in the logs its rk322x-current.

However this branch is on 5.9. So either some modifications to the build script or a checkout a older commit.

 

Edit: 5.9 builds nicely for me btw.

A few patches fail to apply though. Probably never reviewed them for a while.

I want to understand what the error is

  • Solution

This means that something went wrong when compiling some part of the kernel. Checkout the output/debug/ folder. There you will find all recorded errors in detail.

  • Author
5 часов назад, Werner сказал:

This means that something went wrong when compiling some part of the kernel. Checkout the output/debug/ folder. There you will find all recorded errors in detail.

 

Ok, Thnx!

 

drivers/net/wireless/rtl88x2bu/os_dep/linux/ioctl_cfg80211.c:7365:2: error: #else after #else
 7365 | #else
      |  ^~~~
drivers/net/wireless/rtl88x2bu/os_dep/linux/ioctl_cfg80211.c:7330: error: the conditional began here
 7330 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0))
      |
drivers/net/wireless/rtl88x2bu/os_dep/linux/ioctl_cfg80211.c:9708:3: error: ‘cfg80211_rtw_update_mgmt_frame_register’ undeclared here (not in a function)
 9708 |   cfg80211_rtw_update_mgmt_frame_register,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

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.