我试图将icu4c 51.1与Emscripten (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,以及这个数据编译是关于什么的。
编辑:
错误消息来自使用clang构建的icupkg,在这种情况下这是没有意义的。我如何具体说明库是用clang构建的,而工具是用另一个编译器构建的呢?
发布于 2013-04-26 01:09:54
听起来好像找不到../lib中的ICU工具工具库--可能尝试在icupkg上运行ldd或等效的
https://stackoverflow.com/questions/16143161
复制相似问题