D:\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
e:/go/src/github.com/go-vgo/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/bin/ld.exe: unrecognized option '--high-entropy-va'
e:/go/src/github.com/go-vgo/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/bin/ld.exe: use the --help option for usage information
collect2.exe: error: ld returned 1 exit status
gcc正常編譯C檔案沒問題
github.com/mattn/go-sqlite3 參考這個就會報錯
uj5u.com熱心網友回復:
錯誤提示描述的挺清楚的呀你的mingw自帶的ld命令不支持--high-entropy-va選項,下載安裝新一點版本的ld
參考以下
https://www.mail-archive.com/[email protected]/msg38473.html
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/246664.html
標籤:go語言
上一篇:Python初學者問題
