linker - w64-Mingw LLVMSupport.a : undefined reference to __imp_* -



linker - w64-Mingw LLVMSupport.a : undefined reference to __imp_* -

quite weird bug trying link llvmsupport :

c:/projects/builds/llvm-3.3/lib/../lib/libllvmsupport.a(signals.cpp.obj):signals.cpp:(.text+0x524): undefined reference `__imp_symsetoptions' c:/projects/builds/llvm-3.3/lib/../lib/libllvmsupport.a(signals.cpp.obj):signals.cpp:(.text+0x542): undefined reference `__imp_syminitialize' c:/projects/builds/llvm-3.3/lib/../lib/libllvmsupport.a(signals.cpp.obj):signals.cpp:(.text+0x576): undefined reference `__imp_symgetmodulebase64' c:/projects/builds/llvm-3.3/lib/../lib/libllvmsupport.a(signals.cpp.obj):signals.cpp:(.text+0x582): undefined reference `__imp_symfunctiontableaccess64' c:/projects/builds/llvm-3.3/lib/../lib/libllvmsupport.a(signals.cpp.obj):signals.cpp:(.text+0x5a1): undefined reference `__imp_stackwalk64' c:/projects/builds/llvm-3.3/lib/../lib/libllvmsupport.a(signals.cpp.obj):signals.cpp:(.text+0x644): undefined reference `__imp_symgetmodulebase64' c:/projects/builds/llvm-3.3/lib/../lib/libllvmsupport.a(signals.cpp.obj):signals.cpp:(.text+0x6f4): undefined reference `__imp_symgetsymfromaddr64' c:/projects/builds/llvm-3.3/lib/../lib/libllvmsupport.a(signals.cpp.obj):signals.cpp:(.text+0x7d9): undefined reference `__imp_symgetlinefromaddr64'

there functions similar names in dbghelp.dll http://msdn.microsoft.com/en-us/library/windows/desktop/ms681327%28v=vs.85%29.aspx

but linking lib doesn't prepare it.

i've been on problem while... how prepare ?

note : i've compiled llvm cmake + mingw64 in 64 bits seh patch forcefulness right eh method test.

then can't find these symbols used...

mingw comes own implementation, add together -limagehlp @ end (the order matters) of command

linker static-libraries llvm

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -