0

icu4c 51.1Emscripten ( clang )でクロスコンパイルしようとしています。

emconfigure source/configure --host=i386-pc-linux-gnu --prefix=${myprefix} --enable-static --disable-shared --disable-dyload --disable-renaming CXXFLAGS='-DU_USING_ICU_NAMESPACE=0' CPPFLAGS='-DU_DISABLE_RENAMING=1'
emmake make
emmake make install

ほとんどのソースを正常にコンパイルしますが、失敗します

Unpacking ../source/data/in/icudt51l.dat and generating out/tmp/icudata.lst (list of data files)
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/icupkg -d ./out/build/icudt51l --list -x \* ../source/data/in/icudt51l.dat -o out/tmp/icudata.lst
run-detectors: warning: unable to exec /usr/bin/lli-2.8: No such file or directory
run-detectors: warning: unable to exec /usr/bin/lli-2.9: No such file or directory
LLVM ERROR: Program used external function 'findBasename' which could not be resolved!
make[1]: *** [out/tmp/icudata.lst] Error 1
make[1]: Leaving directory `/home/andreas/.emscripten-libs/sources/icu4c/51.1/data'
make: *** [all-recursive] Error 2

だから私は、それがどこを見つけようとしているのか、findBasenameそしてこのデータのコンパイルが何であるかについて疑問に思っています。

編集:

エラー メッセージはicupkg、この場合は意味をなさない clang でビルドされたものです。ライブラリはclangでビルドされているが、ツールは別のコンパイラでビルドされていることをどのように指定できますか?

4

1 に答える 1