Development discussion of WireGuard
 help / color / mirror / Atom feed
* compile error on WireGuard Kernel/ROM Integration
@ 2019-04-12 16:59 Robert Walli
  2019-04-13  0:17 ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Walli @ 2019-04-12 16:59 UTC (permalink / raw)
  To: wireguard

Hello!

I got an error compiling wireguard for android 9 kernel 3.10.108 for trlte:
---
net/wireguard/compat/udp_tunnel/udp_tunnel.c:87:26: warning: assignment from incompatible pointer type
error, forbidden warning: udp_tunnel.c:87
---
tried with rom- and kernel integration as described on: https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635
with LineageOS and Resurrection Remix OS.

any suggestions how to solve this problem?

Robert
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile error on WireGuard Kernel/ROM Integration
  2019-04-12 16:59 compile error on WireGuard Kernel/ROM Integration Robert Walli
@ 2019-04-13  0:17 ` Jason A. Donenfeld
  2019-04-13  7:14   ` Robert Walli
  0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2019-04-13  0:17 UTC (permalink / raw)
  To: Robert Walli; +Cc: WireGuard mailing list

Link to kernel sources?
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile error on WireGuard Kernel/ROM Integration
  2019-04-13  0:17 ` Jason A. Donenfeld
@ 2019-04-13  7:14   ` Robert Walli
  2019-04-14  8:54     ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Walli @ 2019-04-13  7:14 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list



> On 13.04.2019, at 02:17, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> 
> Link to kernel sources?

Tried diffrent kernels eg.: https://github.com/mobspyguy/android_kernel_samsung_apq8084
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile error on WireGuard Kernel/ROM Integration
  2019-04-13  7:14   ` Robert Walli
@ 2019-04-14  8:54     ` Jason A. Donenfeld
  2019-04-14 11:39       ` Robert Walli
  0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2019-04-14  8:54 UTC (permalink / raw)
  To: Robert Walli; +Cc: WireGuard mailing list

Looks like some terrible vendor made random backports that aren't a
part of kernel.org's sock.h:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/net/sock.h?h=linux-3.10.y

Apply this to your kernel, and things _might_ work without exploding:
https://xn--4db.cc/AGC0Ssj6/diff
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compile error on WireGuard Kernel/ROM Integration
  2019-04-14  8:54     ` Jason A. Donenfeld
@ 2019-04-14 11:39       ` Robert Walli
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Walli @ 2019-04-14 11:39 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list


> On 14.04.2019, at 10:54, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> 
> Looks like some terrible vendor made random backports that aren't a
> part of kernel.org's sock.h:
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/net/sock.h?h=linux-3.10.y
> 
> Apply this to your kernel, and things _might_ work without exploding:
> https://xn--4db.cc/AGC0Ssj6/diff

It’s compiling now and not exploding but unfortunately the wireguard kernel-module does not work.

Thank you anyway  for looking at it...

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-14 11:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-12 16:59 compile error on WireGuard Kernel/ROM Integration Robert Walli
2019-04-13  0:17 ` Jason A. Donenfeld
2019-04-13  7:14   ` Robert Walli
2019-04-14  8:54     ` Jason A. Donenfeld
2019-04-14 11:39       ` Robert Walli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).