LLVMHello example fails with "undefined symbol"

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?

Same issue here. Did you find any solution to this? Did I miss something?

Jan

Hi Anatol, does the hello plugin in llvm-2.8/lib/Transforms/Hello work? The
online docs refer to the upcoming 2.9 release of LLVM, so may not work correctly
with LLVM 2.8.

Ciao, Duncan.