1 |
Hi Stephen! |
2 |
|
3 |
I guess you installed a cross-compiler using crossdev (thus you should |
4 |
be able to call your cross-compiler using |
5 |
armv5tel-softfloat-linux-gnueabi-gcc). |
6 |
|
7 |
Now if you install and setup crossdev-wrappers (emerge |
8 |
crossdev-wrappers) and run emerge-wrapper --init, you'll get a directory |
9 |
under /usr and a wrapper for emerge |
10 |
(emerge-armv5tel-softfloat-linux-gnueabi) which you can use to |
11 |
"cross-emerge" stuff. |
12 |
|
13 |
On 15.06.2009 11:35, Stephen Feyrer wrote: |
14 |
> Hi again |
15 |
> |
16 |
> Bah Hum-Bug! make failed. I guess some of those tests are important. |
17 |
> |
18 |
> I'm interested in crossdev wrappers but how can I make it apply to my |
19 |
> current problem? |
20 |
> |
21 |
> -- |
22 |
> Boldly going forwards... |
23 |
> |
24 |
> Stephen. |
25 |
> |
26 |
> Stephen Feyrer wrote: |
27 |
> |
28 |
>> Hi Sven. |
29 |
>> |
30 |
> |
31 |
> |
32 |
>> I had get some other cached values: |
33 |
>> |
34 |
>> i_cv_epoll_works=no i_cv_inotify_works=no i_cv_posix_fallocate_works=no |
35 |
>> i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_signed_time_t=yes |
36 |
>> i_cv_mmap_plays_with_write=yes i_cv_fd_passing=yes |
37 |
>> i_cv_c99_vsnprintf=yes lib_cv_va_copy=yes lib_cv___va_copy=yes |
38 |
>> lib_cv_va_val_copy=yes ./configure --prefix=/opt |
39 |
>> --host=armv5tel-softfloat-linux-gnueabi |
40 |
>> |
41 |
> |
42 |
> |
43 |
>> :-) I'm now running make. |
44 |
>> |
45 |
> |
46 |
> |
47 |
>> Sven Rebhan wrote: |
48 |
>> |
49 |
>>> 2009/6/15 Stephen Feyrer<steve@××××××××.uk>: |
50 |
>>> |
51 |
> |
52 |
> |
53 |
>>> Hello Stephen, |
54 |
>>> |
55 |
>>>> checking whether we can use epoll... configure: error: in |
56 |
>>>> `/root/dovecot/dovecot-1-2-6c0fb914e03e': |
57 |
>>>> configure: error: cannot run test program while cross compiling |
58 |
>>>> See `config.log' for more details. |
59 |
>>>> |
60 |
> |
61 |
> |
62 |
>>> I would strongly suggest to use crossdev-wrappers for this kind of |
63 |
>>> jobs, as it automatically cares about this kind of problems. |
64 |
>>> |
65 |
> |
66 |
> |
67 |
>>> However, you might want to fix this problem yourself, so here we go. When |
68 |
>>> cross-compiling, target programs can not be executed as they are |
69 |
>>> probably compiled for an incompatible architecture (as the error |
70 |
>>> states). |
71 |
>>> |
72 |
> |
73 |
> |
74 |
>>> Hence, you have to provide the result of the program run |
75 |
>>> yourself using autoconf-cache values. Try to do the following: |
76 |
>>> |
77 |
> |
78 |
> |
79 |
>>> i_cv_epoll_works=yes ./configure --prefix=/opt |
80 |
>>> --host=armv5tel-softfloat-linux-gnueabi |
81 |
>>> |
82 |
> |
83 |
> |
84 |
>>> Please check if epoll really works in your setup and change the value |
85 |
>>> to "no" if it doesn't. |
86 |
>>> |
87 |
> |
88 |
> |
89 |
>>> Have fun! |
90 |
>>> |
91 |
> |
92 |
> |
93 |
>>> Sven |
94 |
>>> |
95 |
> |
96 |
> |
97 |
>> Thanks. |
98 |
>> |
99 |
> |
100 |
> |
101 |
>> -- |
102 |
>> Stephen |
103 |
>> |
104 |
> |
105 |
> |
106 |
> |