llvm-link says that those input files (*.o) were generated with a different LLVM version (5 vs 4). How were they created? If you generate them using the same emcc, they should work, but if you generate them using clang directly or another emcc (different version or different setup) it might be incompatible.
On Sat, Mar 10, 2018 at 12:32 AM, Ahmad Hosseinzadeh <[email protected]> wrote: > I run Ubuntu 17.10.1 on Virtual Box (all requirements like make, > emscripten, java, llvm5.0.0 installed). > When I run run make -f Makefile.emcc command, It shows the follwing error: > error: Invalid Value (Producer" LLVM5.0.0 Reader: LLVM 4.0.1) > I've also sent an screenshot. would you please help? > > Thanks, > Ahmad > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
