esseks / monicelli

An esoteric programming language, come se fosse antani.
GNU General Public License v3.0
1.32k stars 52 forks source link

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

Closed Andreabont closed 4 years ago

Andreabont commented 8 years ago

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

GTP95 commented 8 years ago

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

esseks commented 5 years ago

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?

esseks commented 4 years ago

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