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.

Compiled external module, Exec format error

Featured Replies

I tried to compile wireguard from source in armbian xenial with kernel 4.9.7. on a Banana Pro.

 

After compiling and installing the resulting kernelmodule, modprobe fails:

 

sudo modprobe wireguard

 

modprobe: ERROR: could not insert 'wireguard': Exec format error

 

dmesg shows:

 

[ 5563.012529] wireguard: loading out-of-tree module taints kernel.

 

[ 5563.013912] wireguard: unknown relocation: 102

 

On the wireguard list, one pointed out this might be related to old toolchain, so i checked:

the installed gcc is:

 

 

gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) 

 

and the mentiond gcc Version in dmesg is

 

 

 (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) )

 

So do i need to crosscompile the module? I set up a crosscompile enviroment as described in the documentation, but its lacking hints about compiling external kernelmodules.

 

Regards, Alexander Morlang

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.