Hi,<br><br>    I have managed to install LLVM on my system following the documentation given on the site. But I am facing issues when trying to run some of the example transforms which are distributed as part of the installation.<br>
<br><br>Below is the error message :<br><br><i>Error opening '/home/sandy/llvm/src/Debug/lib/LLVMHello.so': /home/sandy/llvm/src/Debug/lib/LLVMHello.so: undefined symbol:  _ZNK4llvm12FunctionPass17createPrinterPassERNS_11raw_ostreamERKSs</i><br>
<i>  -load request ignored.<br>opt: Unknown command line argument '-Hello'.  Try: 'opt -help'</i><br><br><br>I get the same error message when I try to load any of the generated shared objects (<i>FunctionPass</i> in the error message becomes <i>ModulePass</i> as is defined in the code).<br>
I have tried installing llvm multiple times but it has not helped.<br><br>Please help me fix this.<br><br>Regards,<br>Sandeep<br>