[uClibc]Openssh problem even with latest (9.1.2003) buildroot -Makefile

Erik Andersen andersen at codepoet.org
Thu Jan 9 15:22:11 UTC 2003


On Thu Jan 09, 2003 at 02:04:40PM +0100, De Schrijver Peter wrote:
> Hi all,
> 
> I just tried the new Makefile for buildroot (nice to see some libs get
> compiled in).
> 
> Still I have the problem that openssh does not compile:
> (debian woody)
> 
> checking for gcc...
> /usr/src/buildroot/build/staging_dir/bin/i386-uclibc-gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... configure: error: cannot run C
> compiled programs.
> If you meant to cross compile, use `--host'.
> make: *** [/usr/src/buildroot/build/openssh-3.4p1/.configured] Error 1
> 
> Why ?
> 
> Without openssh (just deleted it from the Makefile) buildroot compiled
> O.K. a couple of days ago.

The short answer, is that openssh has a really poorly done
configure script that makes it difficult[1] to cross compile.
The top-level README describes one method to make openssh build
as long as you are building on a system of the same architecture
as the target system (i.e. x86 targeting x86).  There is another
way I know of that can actually be used to cross-compile the
thing, but I have not thus far implemented it (as it is a
horrible evil disgusting hack),

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list