wg on arm 32-bit
Peter Korsgaard
peter at korsgaard.com
Wed Dec 27 23:24:57 CET 2017
>>>>> "Outback" == Outback Dingo <outbackdingo at gmail.com> writes:
> seems that wireguard is not capabl;e of building for 32bit arm?
It works fine in Buildroot.
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 8 -e MAKEFLAGS=
> | CC /home/dingo/yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/wireguard-tools/0.0.20171221-r0/WireGuard-0.0.20171221/src/tools/config.o
> | CC /home/dingo/yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/wireguard-tools/0.0.20171221-r0/WireGuard-0.0.20171221/src/tools/curve25519.o
> | CC /home/dingo/yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/wireguard-tools/0.0.20171221-r0/WireGuard-0.0.20171221/src/tools/mnlg.o
> | CC /home/dingo/yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/wireguard-tools/0.0.20171221-r0/WireGuard-0.0.20171221/src/tools/wg.o
> | CC /home/dingo/yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/wireguard-tools/0.0.20171221-r0/WireGuard-0.0.20171221/src/tools/ipc.o
> | CC /home/dingo/yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/wireguard-tools/0.0.20171221-r0/WireGuard-0.0.20171221/src/tools/encoding.o
> | CC /home/dingo/yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/wireguard-tools/0.0.20171221-r0/WireGuard-0.0.20171221/src/tools/show.o
> | CC /home/dingo/yocto/build_bin/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/wireguard-tools/0.0.20171221-r0/WireGuard-0.0.20171221/src/tools/terminal.o
> | In file included from encoding.h:11:0,
> | from encoding.c:9:
> | containers.h: In function 'free_wgdevice':
> | containers.h:87:2: error: 'for' loop initial declarations are only
> allowed in C99 or C11 mode
It looks like you are not passing -std=gnu11 to gcc. Can you build with
V=1 to see the exact command line?
--
Bye, Peter Korsgaard
More information about the WireGuard
mailing list