karelklic / canal

Abstract interpreter for real-world application programs
https://github.com/karelklic/canal/wiki
Other
32 stars 3 forks source link

Build error on Ubuntu 12.10 #171

Closed esennesh closed 11 years ago

esennesh commented 11 years ago

esennesh@lap282:~/Documents/ניתוח וסינטזיה של תוכנה/canal-2$ make [ 51%] Built target canal Linking CXX executable canal CMakeFiles/canal-tool.dir/Canal.cpp.o:(.rodata._ZTIN5Canal12StringStreamE[_ZTIN5Canal12StringStreamE]+0x10): undefined reference to typeinfo for llvm::raw_string_ostream' CMakeFiles/canal-tool.dir/CommandInfo.cpp.o:(.rodata._ZTI20FunctionDetailedInfo[_ZTI20FunctionDetailedInfo]+0x10): undefined reference totypeinfo for llvm::FunctionPass' CMakeFiles/canal-tool.dir/CommandInfo.cpp.o:(.rodata._ZTI12FunctionInfo[_ZTI12FunctionInfo]+0x10): undefined reference to `typeinfo for llvm::FunctionPass' collect2: error: ld returned 1 exit status make[2]: * [tool/canal] Error 1 make[1]: * [tool/CMakeFiles/canal-tool.dir/all] Error 2 make: *\ [all] Error 2

karelklic commented 11 years ago

Hi Eli,

we fixed such an issue in the master git repository after releasing Canal 2, so I assume this happens in the Canal 2 release. Is this assumption correct?

I tried to build master git repository on Ubuntu 12.10 and it worked for me. One of the tests is failing, but this happens on all systems ;)

karelklic commented 11 years ago

Master git repo seems ok on ubuntu 12.10.