[Buildroot] How to cross compile openssh for arm

Jinag Robert cretaceousstone at yahoo.com.cn
Thu Aug 16 03:55:06 UTC 2007

Hello  All,

I'm trying  to  build  openssh  for  arm  platform, but failed. 

[root at armqa buildroot]#make openssh

      ./configure \
        --target=arm-linux \
        --host=arm-linux \
        --build=i386-pc-linux-gnu \
        --prefix=/usr \
        --exec-prefix=/usr \
        --bindir=/usr/bin \
        --sbindir=/usr/sbin \
        --libdir=/lib \
        --libexecdir=/usr/sbin \
        --sysconfdir=/etc \
        --datadir=/usr/share \
        --localstatedir=/var \
        --mandir=/usr/man \
        --infodir=/usr/info \
        --includedir=/opt/926t/buildroot/build_arm/staging_dir/usr/include \
        --disable-lastlog --disable-utmp \
        --disable-utmpx --disable-wtmp --disable-wtmpx \
        --without-x \
        --disable-nls \
checking for arm-linux-gcc... /usr/local/arm/4.1.1-920t/bin/arm-linux-gcc -Os -pipe  -I/opt/926t/buildroot/build_arm/staging_dir/include -I/opt/926t/buildroot/build_arm/staging_dir/usr/include -I/usr/local/arm/4.1.1-920t/arm-linux/include
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [/opt/926t/buildroot/build_arm/openssh-3.9p1/.configured] Error 77

Any help?


Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.

More information about the buildroot mailing list