Undefined symbol with the basic hello world pass

Hi guys,

I had a pass written which was working fine earlier. I just tried to reuse the pass, and now I see the following problem.

sandeep@ubuntu:~/llvm-3.2.src/lib/Transforms/Hello$ opt -load …/…/…/Release+Asserts/lib/Hello.so -help | grep hello
Error opening ‘…/…/…/Release+Asserts/lib/Hello.so’: …/…/…/Release+Asserts/lib/Hello.so: undefined symbol: _ZN4llvm12FunctionPass16doInitializationERNS_6ModuleE
-load request ignored.

To see if there is any problem with my pass, I replaced it with the simple hello world pass from the
below LLVM tutorial but I still got the same issue.


Can someone please help me with it? I can’t figure out the issue here.

Thanks and regards,

Can someone please provide some suggestions? I am stuck in my project because of this issue.

Thanks and regards,