Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在mac机器上,make遇错 #18

Open
luckypoem opened this issue Nov 18, 2019 · 2 comments
Open

在mac机器上,make遇错 #18

luckypoem opened this issue Nov 18, 2019 · 2 comments

Comments

@luckypoem
Copy link

hello.

git clone https://github.com/wangyu-/tinyPortMapper/ tinyPortMapper-by-wangyu-
cd tinyPortMapper-by-wangyu-
make
显示:
...
ld: library not found for -lcrt0.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1
yudeMacBook-Air:tinyPortMapper-by-wangyu- brite$ which clang
/usr/local/opt/llvm/bin/clang
yudeMacBook-Air:tinyPortMapper-by-wangyu- brite$

怎么解决?

@soffchen
Copy link

soffchen commented Dec 12, 2020

make mac

@luckypoem
Copy link
Author

@soffchen
谢谢。成功生成tinymapper,
sudo ./tinymapper -l 127.0.0.1:53 -r 8.8.8.8:53 -t -u
不过我觉得这类dns proxy的意义好像不大。都是把127.0.0.1:53转发到8.8.8.8:53,我觉得这跟直连8.8.8.8:53没什么区别。你怎么看?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants