dnsproxy
dnsproxy copied to clipboard
树莓派编译报错
树莓派3B+,编译时报下面的错,老哥怎么解决呢?
root@raspberrypi:/usr/src/aaa/src/github.com/ARwMq9b6/dnsproxy/cmd/dnsproxy# export GOPATH=/usr/src/aaa root@raspberrypi:/usr/src/aaa/src/github.com/ARwMq9b6/dnsproxy/cmd/dnsproxy# make env GOOS=linux GOARCH=arm go build -o target/dnsproxy
github.com/ARwMq9b6/dnsproxy
../../proxyserve.go:283: r.req.URL.Hostname undefined (type *url.URL has no field or method Hostname) ../../proxyserve.go:287: r.req.URL.Hostname undefined (type *url.URL has no field or method Hostname) Makefile:19: recipe for target 'target/dnsproxy' failed make: *** [target/dnsproxy] Error 2 root@raspberrypi:/usr/src/aaa/src/github.com/ARwMq9b6/dnsproxy/cmd/dnsproxy#