From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MG6Iv-0002CZ-OB for garchives@archives.gentoo.org; Mon, 15 Jun 2009 07:08:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72F15E02C7; Mon, 15 Jun 2009 07:08:28 +0000 (UTC) Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by pigeon.gentoo.org (Postfix) with ESMTP id 30FB2E02C7 for ; Mon, 15 Jun 2009 07:08:28 +0000 (UTC) Received: by bwz23 with SMTP id 23so2775255bwz.34 for ; Mon, 15 Jun 2009 00:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=3eUs/D0ancDqVbIusN47OFTqKmgEavai6ROF+d+9nwM=; b=OhOPnujCRPF8DPSrBfddzYWtac4FC7Eoh25unKf4+J+SSV3yN9SU6F54jqDAHGuLGM bB/SR4lkv/ICSCAqgm0I32lyKg3XW+eq71MuZ0wCAHd7xrCX90YAJR3hci75k6eW6brV txn3Zsf4BXW5iVJtNkybBbFTZLM1InCakbiuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cTljYaY404X/N/OAiL1myfp3TOpwtMS4qpKDPrLPF0fK7OUtTApYTYD3aWsXbWbeC+ w73Bmej3zck5Tg0nmUvb6Jvt93gCI+BfPMWFVDDq/Xz4O0M+HdPqBY2DsnQCvvSRUYdV 01jE0ULGzGvZG6vEwuvr7xnXutCkhvHoU5wpo= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.103.129 with SMTP id k1mr6701980bko.22.1245049707479; Mon, 15 Jun 2009 00:08:27 -0700 (PDT) In-Reply-To: <4A357C21.7040506@toth.org.uk> References: <4A357C21.7040506@toth.org.uk> Date: Mon, 15 Jun 2009 09:08:27 +0200 Message-ID: <3dc1583f0906150008x61e443f9v2675f1e820d2310@mail.gmail.com> Subject: Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi From: Sven Rebhan To: gentoo-embedded@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 7805fafd-fbd8-42a0-adbb-42fd9327bb0d X-Archives-Hash: eb1bc847b816048bd90a99f58b536499 2009/6/15 Stephen Feyrer : 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