You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/10/07 16:38:32 UTC

[GitHub] [arrow] wesm commented on pull request #8158: ARROW-7215: [C++][Gandiva] Implement castVARCHAR(numeric_type) functions

wesm commented on pull request #8158:
URL: https://github.com/apache/arrow/pull/8158#issuecomment-705056610


   ```
   INK: command "C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\gandiva-internals-test.rsp /out:release\gandiva-internals-test.exe /implib:release\gandiva-internals-test.lib /pdb:release\gandiva-internals-test.pdb /version:0.0 /machine:x64 /NODEFAULTLIB:LIBCMT /INCREMENTAL:NO /subsystem:console /MANIFEST /MANIFESTFILE:release\gandiva-internals-test.exe.manifest" failed (exit code 1120) with the following output:
   LLVMSupport.lib(regcomp.c.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
   unity_2_cxx.cxx.obj : error LNK2001: unresolved external symbol gdv_fn_castVARCHAR_int32_int64
   unity_2_cxx.cxx.obj : error LNK2001: unresolved external symbol gdv_fn_castVARCHAR_int64_int64
   unity_2_cxx.cxx.obj : error LNK2001: unresolved external symbol gdv_fn_castVARCHAR_float32_int64
   unity_2_cxx.cxx.obj : error LNK2001: unresolved external symbol gdv_fn_castVARCHAR_float64_int64
   release\gandiva-internals-test.exe : fatal error LNK1120: 4 unresolved externals
   ```
   
   Either you need to statically-link these symbols (or include them with the .cc files / object code for the unit test) or add an appropriate export annotation for the functions so they will link from the DLL


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org