Gentoo Archives: gentoo-embedded

From: Stephen Feyrer <steve@××××××××.uk>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
Date: Mon, 15 Jun 2009 08:56:33
Message-Id: 4A360CBC.40604@toth.org.uk
In Reply to: Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi by Sven Rebhan
1 Hi Sven.
2
3 I had get some other cached values:
4
5 i_cv_epoll_works=no i_cv_inotify_works=no i_cv_posix_fallocate_works=no
6 i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_signed_time_t=yes
7 i_cv_mmap_plays_with_write=yes i_cv_fd_passing=yes
8 i_cv_c99_vsnprintf=yes lib_cv_va_copy=yes lib_cv___va_copy=yes
9 lib_cv_va_val_copy=yes ./configure --prefix=/opt
10 --host=armv5tel-softfloat-linux-gnueabi
11
12 :-) I'm now running make.
13
14
15 Sven Rebhan wrote:
16 > 2009/6/15 Stephen Feyrer <steve@××××××××.uk>:
17
18 > Hello Stephen,
19 >> checking whether we can use epoll... configure: error: in
20 >> `/root/dovecot/dovecot-1-2-6c0fb914e03e':
21 >> configure: error: cannot run test program while cross compiling
22 >> See `config.log' for more details.
23
24 > I would strongly suggest to use crossdev-wrappers for this kind of
25 > jobs, as it automatically cares about this kind of problems.
26
27 > However, you might want to fix this problem yourself, so here we go. When
28 > cross-compiling, target programs can not be executed as they are
29 > probably compiled for an incompatible architecture (as the error
30 > states).
31
32 > Hence, you have to provide the result of the program run
33 > yourself using autoconf-cache values. Try to do the following:
34
35 > i_cv_epoll_works=yes ./configure --prefix=/opt
36 > --host=armv5tel-softfloat-linux-gnueabi
37
38 > Please check if epoll really works in your setup and change the value
39 > to "no" if it doesn't.
40
41
42 > Have fun!
43
44 > Sven
45
46 Thanks.
47
48
49 --
50 Stephen

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies