Does anybody know how I can cross compile OpenSSH for ARM?
This is what I have done:
First I've downloaded Zlib source code, untarred it, built it and installed it using the following command lines:
# ./configure --prefix=/usr/local/cross/arm
# make
# make install
But then when I try to compile OpenSSH for the ARM target board, it gives the error "zlib missing" during the ./configure
process:
# sudo LDFLAGS=-L/usr/local/cross/arm/lib CC=arm-none-linux-gnueabi-gcc PATH=$PATH:/home/arishop/arm-tool-chain/arm-fsl-linux-gnueabi/bin/ ./configure --host=arm-linux --with-zlib=/usr/local/cross/arm/ --prefix=/usr/local/cross/arm/openssh
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…