[uClibc]openssh

Claus Rosenberger Claus.Rosenberger at rocnet.de
Tue Sep 24 13:26:19 UTC 2002


this is the message :

checking whether struct dirent allocates space for d_name... configure:
error: cannot run test program while cross compiling

that looks like your description of the problem

these is the script part

if test "$cross_compiling" = yes; then
  {{echo "blabla...." >&5
    echo "blabla...." >&2;}
   { (exit 1); exit 1; }; }

.....


should i remark the exit 1 statements ?



> On Tue, 24 Sep 2002, Claus Rosenberger wrote:
>
>> hi
>>
>> i try to compile openssh with the gcc-toolchain. openssh always stops
>> while configuring because of using a cross-compiler. i think it's a
>> problem with openssh. does anybody compiled openssh successfully ?
>
> Why is it stopping? I've found with some packages you can easily
> work around these things. I can't remember the exact problem but
> a package will try and run a program to see if a certain system
> function needs 1 argument or 2. It may run it to see in what order the
> arguments need to be. You can't do this when you cross-compile. You can
> always edit the configure script and set the answer by
> yourself.
>
> --
> Joel Coltoff
>
> We often think that when we have completed our study of one we know all
> about two, because "two" is "one and one." We forget that we still have
> to make a study of "and."
>     -- Sir Arthur Eddington






More information about the uClibc mailing list