can't build on archlinux
moham96 opened this issue · comments
getting this error:
/usr/bin/ld: mlvpn-configlib.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
/usr/bin/ld: mlvpn-config.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
/usr/bin/ld: mlvpn-privsep.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
/usr/bin/ld: mlvpn-wrr.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
/usr/bin/ld: mlvpn-tuntap_generic.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
/usr/bin/ld: mlvpn-mlvpn.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
/usr/bin/ld: mlvpn-tuntap_linux.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
/usr/bin/ld: mlvpn-systemd.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
/usr/bin/ld: mlvpn-control.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
/usr/bin/ld: mlvpn-filters.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: multiple definition of `rtuns'; mlvpn-buffer.o:/home/mohammad/repos/MLVPN/src/mlvpn.h:133: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:455: mlvpn] Error 1
make[2]: Leaving directory '/home/mohammad/repos/MLVPN/src'
make[1]: *** [Makefile:455: all-recursive] Error 1
make[1]: Leaving directory '/home/mohammad/repos/MLVPN'
make: *** [Makefile:375: all] Error 2
gcc version is 10.1.0
Should be fixed in master, thank you for the report