在 2019/1/30 上午8:45, Bruce Cartland 写道:
> The exact same build with the mingw32 toolchain, works.
> 
> Errors:
> 
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1/../../../../lib\libpsl.a(libpsl_la-psl.o):(.text+0x122b):
> undefined reference to `__imp_uninorm_nfkc'
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1/../../../../lib\libpsl.a(libpsl_la-psl.o):(.text+0x12d8):
> undefined reference to `__imp_uninorm_nfkc'
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1/../../../../lib\libidn2.a(lookup.o):(.text+0x51a):
> undefined reference to `__imp_uninorm_nfc'
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1/../../../../lib\libidn2.a(idna.o):(.text+0xaa):
> undefined reference to `__imp_uninorm_nfc'
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1/../../../../lib\libidn2.a(idna.o):(.text+0x356):
> undefined reference to `__imp_UC_CATEGORY_M'
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1/../../../../lib\libidn2.a(idna.o):(.text+0x388):
> undefined reference to `__imp_uninorm_nfc
> 

Are there any other errors or warnings? Please provide the full log if
possible.

> Command:
>  /C/msys64/mingw64/bin/gcc.exe  -O2  -Wl,--allow-multiple-definition
> -shared -o libmybnet.dll -Wl,--out-implib,libmybnet.dll.a
> -Wl,--major-image-version,3,--minor-image-version,0 -Wl,--whole-archive
> CMakeFiles/mybnet.dir/objects.a -Wl,--no-whole-archive
> ../mybase/libmybase.a -Wl,-Bstatic -lcurl -lssl -lcrypto -lxml2
> -ljansson -Wl,-Bdynamic -static-libgcc -Wl,-Bstatic -lpsl -lidn2
> -lnghttp2 -lcrypt32 -lunistring -lssh2 -lbrotlidec-static
> -lbrotlicommon-static -lz -llzma -lintl -liconv -lwldap32 -lwsock32
> -lws2_32 -lgdi32 -lcomdlg32 -lkernel32 -luser32 -lgdi32 -lwinspool
> -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
> 
> Any pointers?
> 

I don't see any problems in this command line.

> (PS: thanks for the great ecosystem).
> 
> 


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to