llvm-bounces at cs.uiuc.edu wrote:>
> ------------------------------------------------------------------------
>
> Subject:
> Fw: (by sospeng at tom.com)something is wrong , when compiling llvm on
debian
> From:
> "4" <sospeng at tom.com>
> Date:
> Mon, 29 Aug 2005 20:05:46 +0800 (CST)
> To:
> llvmdev at cs.uiuc.edu
>
> To:
> llvmdev at cs.uiuc.edu
>
It looks like the core LLVM library (LLVMCore.o) isn't getting built for
some reason. Subsequent attempts to link the LLVM tools fail because
they all rely on LLVMCore.o.
I'm not sure why this is happening. Can you tell us the names of your
LLVM source and LLVM object directories?
Also, can you re-run your build with "gmake VERBOSE=1 tools-only" and
send us the output? That might give us a clue as to why LLVMCore.o
(llvm/lib/VMCore) isn't building.
-- John T.
>
> I wonder if llvm can be compiled on debian.
> I use cfrontend-1.5.i686-redhat-linux-gnu.tar.gz to be compiled on
> debian.But there is something wrong .
> the detail is below:
> make[2]: Entering directory `/home/fpeng/llvm/lib/Linker'
> llvm[2]: Compiling LinkArchives.cpp for Debug build
> llvm[2]: Compiling LinkItems.cpp for Debug build
> llvm[2]: Compiling LinkModules.cpp for Debug build
> llvm[2]: Compiling Linker.cpp for Debug build
> llvm[2]: Building Debug Archive Library libLLVMLinker.a
> make[2]: Leaving directory `/home/fpeng/llvm/lib/Linker'
> make[1]: Target `all' not remade because of errors.
> make[1]: Leaving directory `/home/fpeng/llvm/lib'
> make: *** [all] Error 1
> make[1]: Entering directory `/home/fpeng/llvm/examples'
> make[2]: Entering directory `/home/fpeng/llvm/examples/Fibonacci'
> llvm[2]: Compiling fibonacci.cpp for Debug build
> make[2]: *** No rule to make target
> `/home/fpeng/llvm/Debug/lib/LLVMCore.o', needed by
> `/home/fpeng/llvm/Debug/examples/Fibonacci'.
> make[2]: Target `all' not remade because of errors.
> make[2]: Leaving directory `/home/fpeng/llvm/examples/Fibonacci'
> make[1]: *** [Fibonacci/.makeall] Error 2
> make[2]: Entering directory `/home/fpeng/llvm/examples/HowToUseJIT'
> llvm[2]: Compiling HowToUseJIT.cpp for Debug build
> make[2]: *** No rule to make target
> `/home/fpeng/llvm/Debug/lib/LLVMCore.o', needed by
> `/home/fpeng/llvm/Debug/examples/HowToUseJIT'.
> make[2]: Target `all' not remade because of errors.
> make[2]: Leaving directory `/home/fpeng/llvm/examples/HowToUseJIT'
> make[1]: *** [HowToUseJIT/.makeall] Error 2
> make[2]: Entering directory `/home/fpeng/llvm/examples/ModuleMaker'
> llvm[2]: Compiling ModuleMaker.cpp for Debug build
> make[2]: *** No rule to make target
> `/home/fpeng/llvm/Debug/lib/LLVMCore.o', needed by
> `/home/fpeng/llvm/Debug/examples/ModuleMaker'.
> make[2]: Target `all' not remade because of errors.
> make[2]: Leaving directory `/home/fpeng/llvm/examples/ModuleMaker'
> make[1]: *** [ModuleMaker/.makeall] Error 2
> make[2]: Entering directory `/home/fpeng/llvm/examples/BFtoLLVM'
> llvm[2]: Compiling BFtoLLVM.cpp for Debug build
> llvm[2]: Linking Debug executable BFtoLLVM
> llvm[2]: ======= Finished Linking Debug Executable BFtoLLVM
> make[2]: Leaving directory `/home/fpeng/llvm/examples/BFtoLLVM'
> make[1]: Target `all' not remade because of errors.
> make[1]: Leaving directory `/home/fpeng/llvm/examples'
> make: *** [all] Error 1
> can anyone tell me where is wrong .
> All of my tool version are meeting the requestion.
>
>
>
>
>
>
> ==============================================> 快来和我一起享受TOM免费邮箱吧!
看看除了1.5G,还有什么?
> <http://bjcgi.163.net/cgi-bin/newreg.cgi? rf=050602>
>
> 共同体验超大容量!超强防御!专业杀毒!专业防垃圾!
> <http://bjcgi.163.net/cgi-bin/newreg.cgi? rf=050602>
>
> 明星送祝福(http://sr.tom.com): 周杰伦
> <http://sr.tom.com/send.php?id=330&type=2> 蔡依林
> <http://sr.tom.com/send.php?id=315&type=2> 王力宏
> <http://sr.tom.com/send.php?id=257&type=2> 田震
> <http://sr.tom.com/send.php?id=247&type=2> 代您送去生日祝福
>
> 万首金曲免费送(http://mm.tom.com/ivr/) : 你到底爱谁
> <http://fs.tom.com/sms/ivr_song_step0.php?
> var=1&id=37987&user_id=3&code_id=iw4001&> 千年之恋
> <http://fs.tom.com/sms/ivr_song_step0.php?
> var=1&id=38205&user_id=3&code_id=iw4001&> 我是真的爱你
> <http://fs.tom.com/sms/ivr_song_step0.php?
> var=1&id=37938&user_id=3&code_id=is0001&> 一辈子做你的女孩
> <http://fs.tom.com/sms/ivr_song_step0.php?
> var=1&id=1431&user_id=3&code_id=iw4001&>
>
> 全部彩铃免费送(http://mm.tom.com/cailing/): 我发财了发财了
> <http://fs.tom.com/sms/cailing_step0.php?
>
var=1&id=462&songtype=1&user_id=3&code_id=000000&songprovince=甘肃&>
你
> 喜欢我就说嘛 <http://fs.tom.com/sms/cailing_step0.php?
>
var=1&id=300&songtype=1&user_id=3&code_id=000000&songprovince=北京&>
两
> 只蝴蝶 <http://fs.tom.com/sms/cailing_step0.php?
>
var=1&id=1345&songtype=0&user_id=3&code_id=&songprovince=北京&>
冲动的
> 惩罚 <http://fs.tom.com/sms/cailing_step0.php?
>
var=1&id=376&songtype=0&user_id=3&code_id=&songprovince=北京&>
> ==============================================>
--
John T. Criswell
Research Programmer
University of Illinois at Urbana-Champaign
"It's today!" said Piglet. "My favorite day," said Pooh.