Jump to content

wireguard on A20


lampra

Recommended Posts

I tried to build the wirguard module but it seems to fail on cubietruck (Armbian 5.31)

# cat /var/lib/dkms/wireguard/0.0.20171127-1/build/make.log
DKMS make.log for wireguard-0.0.20171127-1 for kernel 4.11.6-sunxi (armv7l)
Sat 09 Dec 2017 11:51:26 μμ EET
make: Entering directory '/usr/src/linux-headers-4.11.6-sunxi'
  LD      /var/lib/dkms/wireguard/0.0.20171127-1/build/built-in.o
  CC [M]  /var/lib/dkms/wireguard/0.0.20171127-1/build/main.o
/bin/sh: 1: ./scripts/recordmcount: not found
scripts/Makefile.build:294: recipe for target '/var/lib/dkms/wireguard/0.0.20171127-1/build/main.o' failed
make[1]: *** [/var/lib/dkms/wireguard/0.0.20171127-1/build/main.o] Error 127
Makefile:1492: recipe for target '_module_/var/lib/dkms/wireguard/0.0.20171127-1/build' failed
make: *** [_module_/var/lib/dkms/wireguard/0.0.20171127-1/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.11.6-sunxi'

Armbianmonitor -u

 

Any idea?

Link to comment
Share on other sites

Compiling from source without dkms also fails

make
  CC [M]  /Downloads/WireGuard-0.0.20171127/src/device.o
/bin/sh: 1: ./scripts/recordmcount: not found
scripts/Makefile.build:294: recipe for target '/Downloads/WireGuard-0.0.20171127/src/device.o' failed
make[2]: *** [/Downloads/WireGuard-0.0.20171127/src/device.o] Error 127
Makefile:1492: recipe for target '_module_/Downloads/WireGuard-0.0.20171127/src' failed
make[1]: *** [_module_/Downloads/WireGuard-0.0.20171127/src] Error 2
Makefile:32: recipe for target 'module' failed
make: *** [module] Error 2

 

Link to comment
Share on other sites

after digging a bit, it seems that we need make modules_prepare for the kernel headers but this also fails

 

root@cubietruck:/usr/src/linux-headers-4.11.6-sunxi# make modules_prepare
make[1]: *** No rule to make target 'arch/arm/tools/syscall.tbl', needed by 'arch/arm/include/generated/uapi/asm/unistd-common.h'.  Stop.
arch/arm/Makefile:316: recipe for target 'archheaders' failed
make: *** [archheaders] Error 2
root@cubietruck:/usr/src/linux-headers-4.11.6-sunxi# 

 

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines