[llvm-dev] opt: symbol lookup error:

meng qingkun via llvm-dev llvm-dev at lists.llvm.org
Wed May 18 02:23:39 PDT 2016


Hello,


I am a newbie of llvm. I want to learn how to use llvm pass, but when I test the tutorial hello pass, the following error comes up.


opt: symbol lookup error: /home/mqk/software/llvm/llvm-3.4/Release+Asserts/lib/LLVMHello.so: undefined symbol: _ZN4llvm9Statistic17RegisterStatisticEv


I have read the answer suplied by "Arnamoy Bhattacharyya arnamoy at ualberta.ca <mailto:llvm-dev%40lists.llvm.org?Subject=Re%3A%20%5BLLVMdev%5D%20%22symbol%20lookup%20error%22%20while%20running%20a%20Simple%20Loop%20Pass&In-Reply-To=%3CCALu0%2BSnY0Piz03oa8mwjbv5qspt-oGetHdrPJMVDiaU3iKKNPw%40mail.gmail.com%3E> " and I have also built llvm in one and only directory, but the problem remains. Could anybody help me fix this? thank you very much!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160518/941d470b/attachment.html>


More information about the llvm-dev mailing list