[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:31905] llvm on x86



加藤泰文です。

32bit版の方で clang コマンドを使おうとするとエラーになるのですが、原因
は何でしょう?

以下は firefox をビルドしようとした際のエラーです。

configure:3394: clang -o conftest -isystem /usr/include -m32 -isystem /usr/include -m32 -Wl,--as-needed conftest.c  1>&5
clang: error while loading shared libraries: libclangBasic.so: cannot open shared object file: No such file or directory
configure: failed program was:

#line 3389 "configure"
#include "confdefs.h"

main(){return(0);}
configure: error: installation or configuration problem: C compiler cannot create executables.
*** Fix above errors and then restart with\
               "make -f client.mk build"
make[2]: *** [configure] エラー 1

64bit の方も "main(){return(0);}" だけのプログラムを clang コマンドで
コンパイルしようとすると同じようなエラーになるのですが、なぜか firefox
のビルドはエラーになりません。

-- 
==============================================
((((    加藤泰文
○-○                karma @ jazz.email.ne.jp
==============================================
 (Web Page) http://www.ten-forward.ws/
==============================================


Follow-Ups
[plamo:31906] Re: llvm on x86, KATOH Yasufumi

[検索ページ] [メール一覧]
Plamo ML 公開システム