DKMS on kernel 3.10.107-pine64
#4
(06-20-2018, 08:44 PM)obrienmd Wrote:
(06-20-2018, 06:01 PM)evilbunny Wrote: try going into the source directory and typing

make ARCH=arm64

 Result - failure, log below. If it helps, this built with no problem using DKMS on H5 3.10.something(I forget) Kernel in a NanoPi Neo2... I believe it was a Xenial build.
Code:
CC [M]  /usr/src/wireguard-0.0.20180613/main.o
In file included from <command-line>:0:0:
/usr/src/wireguard-0.0.20180613/compat/compat.h:218:19: error: redefinition of ‘prandom_u32_max’
 static inline u32 prandom_u32_max(u32 ep_ro)
                   ^
In file included from include/linux/net.h:22:0,
                 from include/linux/skbuff.h:27,
                 from include/linux/ip.h:20,
                 from include/linux/if_tunnel.h:4,
                 from include/net/ip_tunnels.h:4,
                 from /usr/src/wireguard-0.0.20180613/compat/compat.h:83,
                 from <command-line>:0:
include/linux/random.h:48:19: note: previous definition of ‘prandom_u32_max’ was here
 static inline u32 prandom_u32_max(u32 ep_ro)
                   ^
scripts/Makefile.build:308: recipe for target '/usr/src/wireguard-0.0.20180613/main.o' failed
make[2]: *** [/usr/src/wireguard-0.0.20180613/main.o] Error 1
Makefile:1228: recipe for target '_module_/usr/src/wireguard-0.0.20180613' failed
make[1]: *** [_module_/usr/src/wireguard-0.0.20180613] Error 2
Makefile:36: recipe for target 'module' failed
make: *** [module] Error 2


Ok, so you got past the previous problem, try ARCH=armhf or just arm


Messages In This Thread
DKMS on kernel 3.10.107-pine64 - by obrienmd - 06-20-2018, 05:57 PM
RE: DKMS on kernel 3.10.107-pine64 - by evilbunny - 06-20-2018, 06:01 PM
RE: DKMS on kernel 3.10.107-pine64 - by obrienmd - 06-20-2018, 08:44 PM
RE: DKMS on kernel 3.10.107-pine64 - by evilbunny - 06-20-2018, 09:24 PM
RE: DKMS on kernel 3.10.107-pine64 - by obrienmd - 06-21-2018, 08:38 AM
RE: DKMS on kernel 3.10.107-pine64 - by evilbunny - 06-21-2018, 05:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming languages support under PINE64 baryluk 6 13,547 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  PineA64+: Audio in 5.0 Kernel puzzles 6 10,288 11-13-2019, 09:41 AM
Last Post: roel
  Manjaro arm on pine64+ roel 2 6,581 10-19-2019, 05:13 AM
Last Post: roel
  Volumio for PINE64 Released mikelangeloz 11 26,763 03-22-2019, 09:25 AM
Last Post: llungster
  I2S Audio patches for Pine64+ uploaded to GitHub ramstadt 1 4,474 01-19-2019, 11:31 AM
Last Post: ramstadt
  Pine64: Minimal SDL config Max11 3 6,741 01-04-2019, 03:47 PM
Last Post: Max11
  Fedora 27 on Pine64 gregjo 18 38,930 01-02-2019, 10:42 PM
Last Post: heatfanjohn
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 3,231 12-06-2018, 01:14 AM
Last Post: tenspd137
  NVMe and new kernel bjbb17 0 2,909 09-25-2018, 03:39 PM
Last Post: bjbb17
  Real-time linux kernel Artyom 45 82,017 09-11-2018, 01:08 AM
Last Post: zzwpine

Forum Jump:


Users browsing this thread: 1 Guest(s)