visual studio - How to locate and display symbols when using /GL? -
we catching linker error:
2>cryptlib.lib(x64dll.obj) : error lnk2001: unresolved external symbol "unsigned __int64 * cryptopp::rdtable::te" (?te@rdtable@cryptopp@@3pa_ka) 2>x64\output\debug\cryptest.exe : fatal error lnk1120: 1 unresolved externals
the missing symbol located in rijndael.cpp
, , its used in x64dll.asm
so:
include ksamd64.inc externdef ?te@rdtable@cryptopp@@3pa_ka:far externdef ?g_cachelinesize@cryptopp@@3ia:far externdef ?sha256_k@cryptopp@@3qbib:far ...
the source files compiled /gl
, can't use dumpbin /symbols
on rijndael.obj
inspect object files see what's going on configuration. see dumpbin's /symbol documentation , why dumpbin telling me there no comdats in binaries...?.
microsoft's documentation tells can't use, fails tell should use in situation.
how locate , display symbols in object files when compiling /gl
?
if run link /lib /ltcg /out:output.lib rijndael.obj
should produce static library actual compiled code. can run dumpbin /all output.lib
see symbols. dumpbin /symbols output.lib
not work me.
you may need adjust link
line include additional flags passed when link. e.g., /libpath
entries , like.
Comments
Post a Comment