zehome / MLVPN

Multi-link VPN (ADSL/SDSL/xDSL/Network aggregation / bonding)
http://www.mlvpn.fr/
BSD 2-Clause "Simplified" License
521 stars 129 forks source link

can't build on archlinux #137

Closed moham96 closed 3 years ago

moham96 commented 3 years ago

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

zehome commented 3 years ago

Should be fixed in master, thank you for the report