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

Attachments

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

Replies

Subject Author
Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi Christoph Spielmann <spielc@×××××.com>