交叉编译ssh到v3s上,configure openssh时出错,求助 / 全志 SOC / WhyCan Forum(哇酷开发者社区)

您所在的位置:网站首页 交叉编译openssh 交叉编译ssh到v3s上,configure openssh时出错,求助 / 全志 SOC / WhyCan Forum(哇酷开发者社区)

交叉编译ssh到v3s上,configure openssh时出错,求助 / 全志 SOC / WhyCan Forum(哇酷开发者社区)

2023-02-21 03:36| 来源: 网络整理| 查看: 265

我按照网上交叉编译的教程,到了

交叉编译openssh/***以下为教程*****/编译openssh会引用上面编译的zlib和openssl的安装目录,如下。

$ cd ../openssh-6.6p1 $ ./configure --host=arm-none-linux-gnueabi --with-libs --with-zlib=/home/veryarm/ssh/zlib.install --with-ssl-dir=/home/veryarm/ssh/openssl.install --disable-etc-default-login CC=arm-none-linux-gnueabi-gcc AR=arm-none-linux-gnueabi-ar $ make

/***以下我的命令****/

./configure --host=arm-linux-gnueabihf --with-libs --with-zlib=/home/zqh/ssh/zlib.install --with-ssl-dir=/home/zqh/ssh/openssl.install --disable-etc-default-login CC=arm-linux-gnueabihf-gcc AR=arm-linux-gnueabihf-ar

报错为

configure: warning: CC=arm-linux-gnueabihf-gcc: invalid host type configure: warning: AR=arm-linux-gnueabihf-ar./configure: invalid host type configure: error: can only configure for one host and one target at a time

这个错误该如何解决,本人刚接触linux,求助.....



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3