On Mon, Jun 19, 2006 at 10:23:58PM +0200, Christopher Lang wrote:
> 
> Folks,
> 
> did anybody manage to (cross-)build openssh recently with another arch than 
> i386? I am building for i386 and I get this error:
> 
> ----------
> 
> | checking whether struct dirent allocates space for d_name... configure: 
> error: cannot run test program while cross compiling

Looking at the openssh configure script I see that "checking whether
struct dirent allocates space for d_name" is set via
ac_cv_have_space_d_name_in_struct_dirent and a quick check shows that
this isn't being set for i386:

 [nynaeve][12:08PM]/data/oe/org.openembedded.dev/site%> grep 
ac_cv_have_space_d_name_in_struct_dirent *
 
armeb-linux:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
armeb-linux-uclibc:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
arm-linux:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
arm-linux-gnueabi:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
arm-linux-uclibc:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
i486-linux:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
i686-linux:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
i686-linux-uclibc:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
mipsel-linux:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_have_space_d_name_in_struct_dirent=yes}
 
mipsel-linux-uclibc:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_have_space_d_name_in_struct_dirent=yes}
 
powerpc-linux:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
powerpc-linux:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_have_space_d_name_in_struct_dirent='no'}
 
sh3-linux:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
sh4-linux:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 
sh4-linux-uclibc:ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 [nynaeve][12:09PM]/data/oe/org.openembedded.dev/site%>

So if you edit site/i386-linux and copy the ssh entries from one of
the other entries (site/i486-linux for example) and it should then
build.

-- 
 Jamie Lenehan <[EMAIL PROTECTED]>
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to