esseks / monicelli

An esoteric programming language, come se fosse antani.

Repository from Github https://github.comesseks/monicelliRepository from Github https://github.comesseks/monicelli

Can't link due to ' undefined reference to symbol'.

Andreabont opened this issue · comments

Hi, i can't compile due to an error on the linking step:

[ 7%] Linking CXX executable mcc
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/mcc.dir/BitcodeEmitter.cpp.o: undefined reference to symbol '_ZN4llvm28createBasicAliasAnalysisPassEv'
/usr/lib64/libLLVMAnalysis.so.3.7: error adding symbols: DSO missing from command line

Ps: I have applied the patch for use bison 2.7

Thank you

I had problems compiling too, I suggest you to download the project from here https://github.com/simonelai/monicelli and use Vagrant. More infos here: https://github.com/esseks/monicelli/pull/25

It seems you are linking against the incorrect version of LLVM, we were on 3.4 when the issue was first opened, and I see a 3.7 in the error message. The latest release is built against LLVM 6.0, would you mind trying again and reporting?

Closing due to inactivity and because I believe this has been fixed. Please reopen if not.