Francesco Pedron
03/07/2022, 4:48 PMThe C:\Users\Francesco\.konan\dependencies\llvm-11.1.0-windows-x64-essentials/bin/clang++ command returned non-zero exit code: 1.
output:
lld-link: error: undefined symbol: CanalGetDllVersion
>>> referenced by Z:\BuildAgent\work\6326934d18cfe24e\kotlin\libraries\stdlib\src\kotlin\util\Result.kt:0
>>> C:\Users\FRANCE~1\AppData\Local\Temp\konan_temp5544792713254776830\result.o:(libusbtocan_CanalGetDllVersion_wrapper14)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
FAILURE: Build failed with an exception.
Idea is able to resolve libusbtocan methods, so it looks like the linker (?) should be able to resolve that symbol.
Do you have any hint? Thanks.msink
03/09/2022, 12:21 PMCanalGetDllVersion
I presume it is something from https://www.8devices.com/products/usb2can
Downloaded from that page drivers - "CANAL DLL" and "testApplication"; on quick glance I see that in test it defined as _stdcall
and so mangled as _CanalGetDllVersion@0
, and in zip from drivers - not mangled.Francesco Pedron
05/09/2022, 9:05 AM