s-simoncelli commented on issue #14354:
URL: https://github.com/apache/arrow/issues/14354#issuecomment-1275616561

   I did try using both the shared and static version, but I always get the 
same error.  Unfortunately adding the compile definition didn't help.
   
   Using MSYS2 throws more errors:
   
       FAILED: test_project.exe 
       cmd.exe /C "cd . && 
C:\Users\netce\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\222.4167.35\bin\mingw\bin\g++.exe
 -g  CMakeFiles/test_project.dir/main.cpp.obj -o test_project.exe 
-Wl,--out-implib,libtest_project.dll.a 
-Wl,--major-image-version,0,--minor-image-version,0  
C:/msys64/mingw64/lib/libarrow.a  -lkernel32 -luser32 -lgdi32 -lwinspool 
-lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
       
C:\Users\netce\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\222.4167.35\bin\mingw\bin/ld.exe:
 
C:/msys64/mingw64/lib/libarrow.a(unity_5_cxx.cxx.obj):(.rdata$.refptr.__emutls_v._ZSt11__once_call[.refptr.__emutls_v._ZSt11__once_call]+0x0):
 undefined reference to `__emutls_v._ZSt11__once_call'
       
C:\Users\netce\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\222.4167.35\bin\mingw\bin/ld.exe:
 
C:/msys64/mingw64/lib/libarrow.a(unity_5_cxx.cxx.obj):(.rdata$.refptr.__emutls_v._ZSt15__once_callable[.refptr.__emutls_v._ZSt15__once_callable]+0x0):
 undefined reference to `__emutls_v._ZSt15__once_callable'
       
C:\Users\netce\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\222.4167.35\bin\mingw\bin/ld.exe:
 C:/msys64/mingw64/lib/libarrow.a(unity_13_cxx.cxx.obj):(.text+0xde5): 
undefined reference to `inflateEnd'
       ....
       collect2.exe: error: ld returned 1 exit status
       ninja: build stopped: subcommand failed.
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to