交叉编译配置
1 | export CGO_ENABLED=1 |
错误详情
1 | sqlite3-binding.c:32753:42: error: use of undeclared identifier 'pread64' |
问题
Mac未安装linux的交叉编译器
。解决方法,安装linux的交叉编译器
下载地址
Compiling for Linux 32 and Linux 64 on MacOS X
修改交叉编译配置
1 | export CGO_ENABLED=1 |
1 | export CGO_ENABLED=1 |
1 | sqlite3-binding.c:32753:42: error: use of undeclared identifier 'pread64' |
Mac未安装linux的交叉编译器
。解决方法,安装linux的交叉编译器
Compiling for Linux 32 and Linux 64 on MacOS X
1 | export CGO_ENABLED=1 |
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment