public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sven Rebhan <odinshorse@googlemail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
Date: Mon, 15 Jun 2009 09:08:27 +0200	[thread overview]
Message-ID: <3dc1583f0906150008x61e443f9v2675f1e820d2310@mail.gmail.com> (raw)
In-Reply-To: <4A357C21.7040506@toth.org.uk>

2009/6/15 Stephen Feyrer <steve@toth.org.uk>:

Hello Stephen,
> checking whether we can use epoll... configure: error: in
> `/root/dovecot/dovecot-1-2-6c0fb914e03e':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details.

I would strongly suggest to use crossdev-wrappers for this kind of
jobs, as it automatically cares about this kind of problems. However,
you might want to fix this problem yourself, so here we go. When
cross-compiling, target programs can not be executed as they are
probably compiled for an incompatible architecture (as the error
states). Hence, you have to provide the result of the program run
yourself using autoconf-cache values. Try to do the following:

i_cv_epoll_works=yes ./configure --prefix=/opt
--host=armv5tel-softfloat-linux-gnueabi

Please check if epoll really works in your setup and change the value
to "no" if it doesn't.

Have fun!

    Sven



  reply	other threads:[~2009-06-15  7:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-14 22:39 [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi Stephen Feyrer
2009-06-15  7:08 ` Sven Rebhan [this message]
2009-06-15  8:56   ` Stephen Feyrer
2009-06-15  9:05     ` Sven Rebhan
2009-06-15  9:35     ` Stephen Feyrer
2009-06-15  9:50       ` Christoph Spielmann
2009-06-15 10:20         ` Stephen Feyrer
2009-06-15 11:14           ` Sven Rebhan
2009-06-15 11:58             ` Stephen Feyrer
2009-06-15 12:15               ` Stephen Feyrer
2009-06-15 12:36                 ` Stephen Feyrer
2009-06-15 13:38                   ` Ned Ludd
2009-07-20 23:00 ` Stephen Feyrer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3dc1583f0906150008x61e443f9v2675f1e820d2310@mail.gmail.com \
    --to=odinshorse@googlemail.com \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox