Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux ./ssh-keygen:1:./ssh-keygen:Syntax-error:word-unexpected(expected)())_Linux_Ssh_Cross Compiling - Fatal编程技术网

Linux ./ssh-keygen:1:./ssh-keygen:Syntax-error:word-unexpected(expected)())

Linux ./ssh-keygen:1:./ssh-keygen:Syntax-error:word-unexpected(expected)()),linux,ssh,cross-compiling,Linux,Ssh,Cross Compiling,我使用openssh-6.4p1来支持ssh和sftp,sdk是ipnc_rdk_dm36x_5.1,编译器是arm arago linux gnueabi- 当我使用下面的命令配置openssh时 ./configure --prefix=$(TARGET_FS)/usr --with-libs --with-zlib=$(TARGET_FS)/usr --with-ssl-dir=$(TARGET_FS)/usr --disable-strip --disable-etc-default

我使用openssh-6.4p1来支持ssh和sftp,sdk是ipnc_rdk_dm36x_5.1,编译器是arm arago linux gnueabi- 当我使用下面的命令配置openssh时

./configure --prefix=$(TARGET_FS)/usr --with-libs 
--with-zlib=$(TARGET_FS)/usr --with-ssl-dir=$(TARGET_FS)/usr 
--disable-strip --disable-etc-default-login CC=$(BUILD_TOOL_PREFIX)gcc 
AR=$(BUILD_TOOL_PREFIX)ar LD=$(BUILD_TOOL_PREFIX)gcc RANLIB=$(BUILD_TOOL_PREFIX)ranlib --host=arm-linux-gnueabi
然后编译和安装

当我安装时,我得到以下错误

./ssh-keygen: 1: ./ssh-keygen: Syntax error: word unexpected (expecting ")")
./ssh-keygen: 1: ./ssh-keygen: Syntax error: word unexpected (expecting ")")
谁能帮我一下吗

提前谢谢