Tíquete #5627

Cross-Compiling anthy fails (ver 5900)
: 2005-02-25 02:40 Última Atualização: 2006-06-14 19:43

Relator:
(Anônimo)
Dono:
(Nenhum)
Tipo:
Estado:
Aberto
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Nenhum
Arquivo:
Nenhum

Details

anthy-devの皆様、

ドイツからの Leggewie・Rolf と申しますが、よろしくお願
い致します。bug report は日本語でちょっと難しすぎますの
で、申し訳ございませんが、英語で続きます。回答は日本語
でもけっこうです。

I am trying to compile anthy on opembedded.org. The bb
file is at
http://home.arcor.de/leggewie/oe/anthy_5900.bb. It
fails cross-compilation because the source wants to
execute lt-mkanthydic which is compiled as an arm binary.

| Making all in mkanthydic
| make[2]: Entering directory
`/home/leggewie/openzaurus/build/tmp/work/anthy-5900-r0/anthy-5900/mkanthydic'
| ./mkanthydic: line 105:
/home/leggewie/openzaurus/build/tmp/work/anthy-5900-r0/anthy-5900/mkanthydic/.libs/lt-mkanthydic:
cannot execute binary file
| ./mkanthydic: line 105:
/home/leggewie/openzaurus/build/tmp/work/anthy-5900-r0/anthy-5900/mkanthydic/.libs/lt-mkanthydic:
Success
| make[2]: *** [anthy.dic] Error 1

The reason was quickly found with

Rie:~# file
/home/leggewie/openzaurus/build/tmp/work/anthy-5900-r0/anthy-5900/mkanthydic/.libs/lt-mkanthydic
/home/leggewie/openzaurus/build/tmp/work/anthy-5900-r0/anthy-5900/mkanthydic/.libs/lt-mkanthydic:
ELF 32-bit LSB executable, ARM, version 1 (ARM), for
GNU/Linux
2.4.0, dynamically linked (uses shared libs), not stripped

Of course, the ARM binary won't run on the x386 build host.

There is some very good information from the OE
developpers on what issues frequently prevent
compilation on OE available at
http://openembedded.org/cgi-bin/moin.cgi/Buildsystems_2fRulesOfThumb

もし質問があれば遠慮しないで下さい。

Best regards

Rolf

Ticket History (3/5 Histories)

2005-03-02 22:32 Updated by: yusuke
Comentário
Logged In: YES
user_id=110

anthyを使っていただき、どうもありがとうございます。

直しかたを調べてみたのですが、良い方法が見付かりませんでした。

とりあえず、mkanthydicコマンドが生成するanthy.dicというファ
イルは、
どのアーキテクチャで作っても同じものになりますので、anthy.dicを
別に用意することで、Anthyを動作させることができます。

以上、よろしくお願いします。
2006-01-29 08:19 Updated by: None
Comentário
Logged In: NO

実は、今cross-compileも出来ます。http://gakusei.sf.netを見い
てください。もし、openembeddedをセットアップするなら問題があ
ればいつでも連絡をどうぞ。
2006-06-14 19:43 Updated by: None
Comentário
Logged In: NO

順調は http://sourceforge.net/tracker/index.php?func=
detail&aid=1417662&group_id=141800&atid=750689 から御覧下さい。
2009-05-28 01:10 Updated by: None
Comentário

I'm sorry that I don't understand Japanese, but what is the outcome of this thread? I have the same problem now four years later with the latest 9100h release. I can't seem to post on Anthy as it keeps asking me to log in and I have registered and logged in many times using different browsers and settings and nothing works.

Here is my configure and it does show me that it is cross compiling ...

./configure --enable-shared \

--host=i686-pc-linux-gnu \ --target=armv5tl-montavista-linuxeabi \ --build=armv5tl-montavista-linuxeabi \ build_alias=armv5tl-montavista-linuxeabi \ host_alias=i686-pc-linux-gnu \ target_alias=armv5tl-montavista-linuxeabi \ CC=arm_v5t_le-gcc \ CXX=arm_v5t_le-g++ \ CFLAGS=-O2 \ CPPFLAGS=-O2 \ CPPFLAGS=-I/opt/montavista/pro/devkit/arm/v5t_le/target/usr/include \ CPPFLAGS=-I/opt/montavista/pro/devkit/arm/v5t_le/include \ CPPFLAGS=-I/opt/montavista/pro/include \ CPPFLAGS=-I/opt/montavista/common/include \ LDFLAGS=-L/opt/montavista/pro/devkit/arm/v5t_le/target/lib \ LDFLAGS=-L/opt/montavista/pro/devkit/arm/v5t_le/lib \ LDFLAGS=-L/opt/montavista/common/lib \ LDFLAGS=-L/opt/montavista/pro/lib

Any help is greatly appreciated. Have a good day.

Cheers, Pete

2009-05-28 01:42 Updated by: None
Comentário

It would have helped if you had included some contact information. Google for "Rolf Leggewie" and send me a mail.

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login