I am getting an undefined reference to Function::viewCFG()
I have a function list iterator F and I am trying to get the CFG through
other function calls through the F pointer are working.
- I have included the libraries: pthread, ffi, dl, m, LLVMAsmParse, LLVMCore, LLVMSupport, LLVMSystem.
- I have dot and gv in my path, and I have reconfigured and rebuilt LLVM after using:
.$/configure --srcdir=/home/zaid/llvm/llvm/ --disable-optimized --enable-debug-runtime
which ended with
llvm: ***** Completed Debug Build
llvm: ***** Note: Debug build can be 10 times slower than an
llvm: ***** optimized build. Use make ENABLE_OPTIMIZED=1 to
llvm: ***** make an optimized build. Alternatively you can
llvm: ***** configure with --enable-optimized.
+ Done nedit configure
restarted and tried again and it still doesn't work, same problem.
Any ideas ?