Last active
November 26, 2019 07:36
-
-
Save optman/2a374a749007eff63e9929cb0af79c10 to your computer and use it in GitHub Desktop.
build chinadns and minivtun for edge router x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman pull docker.io/dockcross/linux-mipsel | |
podman run -ti --rm -v `pwd`:/work docker.io/dockcross/linux-mipsel bash | |
git clone chinadns, libressl, minivutn .... | |
chinadns | |
./configure --host mipsel-linux-gnu- | |
make | |
libressl | |
./configure --host mipsel-linux-gnu | |
make install | |
minivtun | |
modify Makefile | |
CC = mipsel-linux-gnu-gcc | |
append flag “-lpthread” | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment