WireGuard Archive on lore.kernel.org
 help / color / Atom feed
* Wireguard not building on pre-rc1 4.19 kernels (Fedora)
@ 2018-08-20  4:40 Bruno Wolff III
  2018-08-20 14:43 ` Aaron Jones
  2018-08-24 20:11 ` Bruno Wolff III
  0 siblings, 2 replies; 4+ messages in thread
From: Bruno Wolff III @ 2018-08-20  4:40 UTC (permalink / raw)
  To: wireguard

[bruno@cerberus src]$ make KERNELDIR=/lib/modules/4.19.0-0.rc0.git6.1.fc30.x86_64/build clean all
  CLEAN   /home/bruno/WireGuard/src/.tmp_versions
  CLEAN   /home/bruno/WireGuard/src/tools/{wg,*.o,*.d}
  CC [M]  /home/bruno/WireGuard/src/main.o
In file included from <command-line>:
/home/bruno/WireGuard/src/compat/compat.h:684:20: error: static declaration of ‘rng_is_initialized’ follows non-static declaration
 static inline bool rng_is_initialized(void)
                    ^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/net.h:22,
                 from ./include/linux/skbuff.h:29,
                 from ./include/linux/ip.h:20,
                 from /home/bruno/WireGuard/src/compat/compat.h:640,
                 from <command-line>:
./include/linux/random.h:39:13: note: previous declaration of ‘rng_is_initialized’ was here
 extern bool rng_is_initialized(void);
             ^~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:311: /home/bruno/WireGuard/src/main.o] Error 1
make[1]: *** [Makefile:1514: _module_/home/bruno/WireGuard/src] Error 2
make: *** [Makefile:36: module] Error 2
[bruno@cerberus src]$ 

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

* Re: Wireguard not building on pre-rc1 4.19 kernels (Fedora)
  2018-08-20  4:40 Wireguard not building on pre-rc1 4.19 kernels (Fedora) Bruno Wolff III
@ 2018-08-20 14:43 ` Aaron Jones
  2018-08-20 15:19   ` Bruno Wolff III
  2018-08-24 20:11 ` Bruno Wolff III
  1 sibling, 1 reply; 4+ messages in thread
From: Aaron Jones @ 2018-08-20 14:43 UTC (permalink / raw)
  To: Bruno Wolff III; +Cc: WireGuard mailing list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

This will be because Jason's RNG patch landed in mainline, but the
kernel version number won't get bumped (so compat.h can use it
properly) until 4.19 is released.

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCgAdFiEEYKVBwe43zZh/jkxPivBzdIirMBIFAlt606cACgkQivBzdIir
MBLYqA//Rs14E903b5RY3bj4DZdVjCPnweLpo53rzQxZ76MsnlsdjGoxKmXL/Eqj
rpRATduQfHQvRr0Y9ZfTKMH9XSO9spqy+HOEGm77Y8WWlgIkbO3PSc49SRLmtKT1
mSaqQotHyxOWD21xC9Cif1cr5LMg2+MXcb2badNDB5TLmz5XfK8ku20f1o7TBsFl
TWeuGnvM3BE8z6Q0iX+C3vGhxrRuoxaY3p/zeYpGXBCUmLGragui08T5N5FqSjFW
61hE1pvdsl3i4usj/5L3jRe3BjbnsXtCRSPUaCcB0r6Xo9QLvL40f+viGBlkUl75
IhfSIDS32kfWDWPN9Ugp3+PmdB8TMGL7En0nOobWiBLynKHTdXh4Jk+SPmubMyj+
gyRJ/1BjeV1a4sOqlVyFv+mfctwOqs3k9nG3MB0HVRQKLK9fbE/yrHrecTjauRSN
ld+VNpAk9reek2hifrwvI11zfQyvPikUKsxXezsB+nD6HbH/lzIj5f+iSs4AMMom
rDCwADdWGFFlb1LYzgkds9GFT/AjE5zSyVy3EszM8+H2gvHhCa79uDi+lsM5wTa2
hijEskUTyOgcmz3TnAcY1HbFU8TNTYK/grlJXrevYKAZODGq86cYJEhOIv7TKgm0
GHhGQD2KORmpeMyla1UQmXWyG6TyungfrKAjT4WDoYZzl8nrc+o=
=j5JX
-----END PGP SIGNATURE-----

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

* Re: Wireguard not building on pre-rc1 4.19 kernels (Fedora)
  2018-08-20 14:43 ` Aaron Jones
@ 2018-08-20 15:19   ` Bruno Wolff III
  0 siblings, 0 replies; 4+ messages in thread
From: Bruno Wolff III @ 2018-08-20 15:19 UTC (permalink / raw)
  To: Aaron Jones; +Cc: WireGuard mailing list

On Mon, Aug 20, 2018 at 14:43:53 +0000,
  Aaron Jones <aaronmdjones@gmail.com> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA512
>
>This will be because Jason's RNG patch landed in mainline, but the
>kernel version number won't get bumped (so compat.h can use it
>properly) until 4.19 is released.

Thanks. That was enough information to tell me what to do to get it to 
work with a temporary hack. I'm using a successful build as I type this.

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

* Re: Wireguard not building on pre-rc1 4.19 kernels (Fedora)
  2018-08-20  4:40 Wireguard not building on pre-rc1 4.19 kernels (Fedora) Bruno Wolff III
  2018-08-20 14:43 ` Aaron Jones
@ 2018-08-24 20:11 ` Bruno Wolff III
  1 sibling, 0 replies; 4+ messages in thread
From: Bruno Wolff III @ 2018-08-24 20:11 UTC (permalink / raw)
  To: wireguard

Jason pushed a fix for this and now I am able to use vanilla WireGuard with 
4.19 kernels.

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

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-20  4:40 Wireguard not building on pre-rc1 4.19 kernels (Fedora) Bruno Wolff III
2018-08-20 14:43 ` Aaron Jones
2018-08-20 15:19   ` Bruno Wolff III
2018-08-24 20:11 ` Bruno Wolff III

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox