[Please send replies to llvmdev too] akramul azim <bijoy123_8 at yahoo.com> writes:> When using cmake and use make command to build, i get the following error: > > Scanning dependencies of target LLVMHello > [ 40%] Building CXX object lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello. > pp.o > Linking CXX shared module ../../LLVMHello.dll > CMakeFiles/LLVMHello.dir/Hello.cpp.o:Hello.cpp:(.text+0x1cf): undefined referen > e to `llvm::errs()'[snip]> Can u please tell me what should I do?Building dlls is not supported by the LLVM cmake build on Windows. By default, static libraries are generated. Did you explicitly asked for dynamic libraries? What was your cmake command? What LLVM version are you trying to compile?
> Building dlls is not supported by the LLVM cmake build on Windows. By > default, static libraries are generated. Did you explicitly asked for > dynamic libraries? What was your cmake command? What LLVM version are > you trying to compile?It seems from the first e-mail that 2.7 is the version in question -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University