http://bugs.openembedded.org/show_bug.cgi?id=1109

           Summary: openssh: error: cannot run test program while cross
                    compiling
           Product: Openembedded
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


See bottom email for solution of problem:
(needs fix for most ix86 files in oe site dir)

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]>


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to