[LLVMdev] LLVMHello example fails with "undefined symbol"
Anatol Pomozov
anatol.pomozov at gmail.com
Thu Nov 18 15:38:44 PST 2010
Hi,
I am trying to learn LLVM by following this article
http://llvm.org/docs/WritingAnLLVMPass.html
I checked 2.8 version from svn, built it and now I am trying to run
Hello world example as
$ opt -load ./Release/lib/LLVMHello.so -analyze
but unfortunately it fails:
Error opening './Release/lib/LLVMHello.so':
./Release/lib/LLVMHello.so: undefined symbol:
_ZNK4llvm12FunctionPass17createPrinterPassERNS_11raw_ostreamERKSs
-load request ignored.
Is it a known problem? How I should fix it?
More information about the llvm-dev
mailing list