首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >由于缺少icu4c,构建findBasename失败

由于缺少icu4c,构建findBasename失败
EN

Stack Overflow用户
提问于 2013-04-22 09:03:42
回答 1查看 664关注 0票数 0

我试图将icu4c 51.1与Emscripten (clang)交叉编译

代码语言:javascript
复制
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

它很好地编译了大部分源代码,但是在

代码语言:javascript
复制
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构建的,而工具是用另一个编译器构建的呢?

EN

回答 1

Stack Overflow用户

发布于 2013-04-26 01:09:54

听起来好像找不到../lib中的ICU工具工具库--可能尝试在icupkg上运行ldd或等效的

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16143161

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档