[Users] Building CM on Windows 11 with MSys2 MinGW
Enan Ajmain
3nan.ajmain at gmail.com
Fri Nov 25 07:48:16 CET 2022
On Thu, 24 Nov 2022 23:49:01 -0700
Jonathan Boeing <jonathan at claws-mail.org> wrote:
> Whats the configure output from the lines:
>
> checking for libgcc
> checking for libstdc++-6.dll
> checking for libwinpthread
From the output of `$ ./autogen.sh --build-w64`:
checking for libgcc... /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libgcc_s_seh-1.dll
checking for libstdc++... /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libstdc++-6.dll
checking for libwinpthread... /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll
> In the top level Makefile, what are the values of:
>
> gcc_dir
> libgcc_dll
> libstdcpp_dll
> libwinpthread_dir
> libwinpthread_dll
From ~/projects/claws-mail-win32-4.1.1-1/Makefile:
gcc_dir = /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32
libgcc_dll = libgcc_s_seh-1.dll
libstdcpp_dll = libstdc++-6.dll
libwinpthread_dir = /usr/x86_64-w64-mingw32/lib
libwinpthread_dll = libwinpthread-1.dll
> What's the full command line when it tries to link pgpcore.la? You
> can get it with:
>
> cd src/playground/build/claws_mail-4.1.1-build/src/plugins/pgpcore/
> make V=1
$ cd src/playground/build/claws_mail-4.1.1-build/src/plugins/pgpcore/
$ make V=1
/bin/bash ../../../libtool --tag=CC --mode=link x86_64-w64-mingw32-gcc -Wall -Wno-pointer-sign -mms-bitfields -O2 -pipe -ggdb -mms-bitfields -Wl,.libs/version.o -no-undefined -avoid-version -module -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/lib -mwindows -Wl,--export-all-symbols -o pgpcore.la -rpath /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/claws_mail-4.1.1/lib/claws-mail/plugins pgpcore_la-autocompletion.lo pgpcore_la-passphrase.lo pgpcore_la-pgp_utils.lo pgpcore_la-pgp_viewer.lo pgpcore_la-plugin.lo pgpcore_la-prefs_gpg.lo pgpcore_la-select-keys.lo pgpcore_la-sgpgme.lo -L../../../src -lclaws -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gtk-3.24.34/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/pango-1.50.11/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/harfbuzz-5.3.1/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/atk-2.38.0/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/cairo-1.17.4/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gdk_pixbuf-2.42.10/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/glib-2.72.4/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/cairo-1.17.4/lib -lgtk-3 -lgdk-3 -lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid -lwinmm -ldwmapi -lsetupapi -lcfgmgr32 -lhid -lwinspool -lcomctl32 -lcomdlg32 -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lgpg-error -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/enchant-2.3.3/lib -lenchant-2 -lpthread -lws2_32 -lregex -lm -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libetpan-1.9.4/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/lib -letpan -lz -lgnutls -liconv -lpthread -lws2_32 -lcurl -lz -lexpat -lsasl2
libtool: link: rm -fr .libs/pgpcore.dll.a
libtool: link: x86_64-w64-mingw32-gcc -shared .libs/pgpcore_la-autocompletion.o .libs/pgpcore_la-passphrase.o .libs/pgpcore_la-pgp_utils.o .libs/pgpcore_la-pgp_viewer.o .libs/pgpcore_la-plugin.o .libs/pgpcore_la-prefs_gpg.o .libs/pgpcore_la-select-keys.o .libs/pgpcore_la-sgpgme.o -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/lib -L../../../src -lclaws -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gtk-3.24.34/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/pango-1.50.11/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/harfbuzz-5.3.1/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/atk-2.38.0/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/cairo-1.17.4/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gdk_pixbuf-2.42.10/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/glib-2.72.4/lib -lgtk-3 -lgdk-3 -limm32 -lshell32 -lole32 -lwinmm -ldwmapi -lsetupapi -lcfgmgr32 -lhid -lwinspool -lcomctl32 -lcomdlg32 -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/cairo-1.17.4/lib/libcairo-gobject.dll.a -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/pixman-0.42.2/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/fontconfig-2.14.1/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/freetype-2.12.1/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/zlib-1.2.13/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libpng-1.6.38/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libxml2-2.9.12/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gettext-0.21/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libiconv-1.17/lib -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/cairo-1.17.4/lib/libcairo.dll.a -lpixman-1 /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/fontconfig-2.14.1/lib/libfontconfig.dll.a /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libxml2-2.9.12/lib/libxml2.dll.a /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/freetype-2.12.1/lib/libfreetype.dll.a /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libpng-1.6.38/lib/libpng16.dll.a -lgdi32 -lmsimg32 -L/usr/lib/x86_64-linux-gnu /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gpgme-1.18.0/lib/libgpgme.dll.a -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libassuan-2.5.5-41-g870fdcf/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libgpg_error-1.46/lib /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libassuan-2.5.5-41-g870fdcf/lib/libassuan.dll.a /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libgpg_error-1.46/lib/libgpg-error.dll.a -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/enchant-2.3.3/lib /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/enchant-2.3.3/lib/libenchant-2.dll.a -lgmodule-2.0 -lglib-2.0 /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/regex-20220819/lib/libregex.dll.a -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libetpan-1.9.4/lib /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libetpan-1.9.4/lib/libetpan.dll.a -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gnutls-3.7.8/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/p11_kit-0.24.1/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libtasn1-4.19.0/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/nettle-3.8.1/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/cyrus_sasl-2.1.28/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/curl-7.86.0/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gmp-6.2.1/lib -L/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/expat-2.5.0/lib -lpthread /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/curl-7.86.0/lib/libcurl.dll.a -lnormaliz -lpsl -lbcrypt /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gnutls-3.7.8/lib/libgnutls.dll.a /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gettext-0.21/lib/libintl.dll.a /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libiconv-1.17/lib/libiconv.dll.a -lp11-kit -ladvapi32 -lcrypt32 /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/libtasn1-4.19.0/lib/libtasn1.dll.a -lnettle -lhogweed /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/gmp-6.2.1/lib/libgmp.dll.a -lwldap32 -lz /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/expat-2.5.0/lib/libexpat.dll.a /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/install/pkgs/cyrus_sasl-2.1.28/lib/libsasl2.dll.a -lws2_32 -mms-bitfields -O2 -ggdb -mms-bitfields -Wl,.libs/version.o -mwindows -Wl,--export-all-symbols -Wl,-luuid -pthread -o .libs/pgpcore.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/pgpcore.dll.a
/usr/bin/x86_64-w64-mingw32-ld: .libs/pgpcore_la-pgp_viewer.o: in function `pgpview_show_mime_part':
/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/build/claws_mail-4.1.1-build/src/plugins/pgpcore/../../../../claws_mail-4.1.1/src/plugins/pgpcore/pgp_viewer.c:259: undefined reference to `__imp_pthread_create'
/usr/bin/x86_64-w64-mingw32-ld: /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/build/claws_mail-4.1.1-build/src/plugins/pgpcore/../../../../claws_mail-4.1.1/src/plugins/pgpcore/pgp_viewer.c:270: undefined reference to `__imp_pthread_join'
/usr/bin/x86_64-w64-mingw32-ld: .libs/pgpcore_la-sgpgme.o: in function `sgpgme_create_secret_key':
/home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/build/claws_mail-4.1.1-build/src/plugins/pgpcore/../../../../claws_mail-4.1.1/src/plugins/pgpcore/sgpgme.c:1264: undefined reference to `__imp_pthread_create'
/usr/bin/x86_64-w64-mingw32-ld: /home/enan/projects/claws-mail-win32-4.1.1-1/src/playground/build/claws_mail-4.1.1-build/src/plugins/pgpcore/../../../../claws_mail-4.1.1/src/plugins/pgpcore/sgpgme.c:1275: undefined reference to `__imp_pthread_join'
collect2: error: ld returned 1 exit status
make: *** [Makefile:642: pgpcore.la] Error 1
--
Enan
3nan.ajmain at gmail.com
https://git.sr.ht/~enan/
https://www.github.com/3N4N
More information about the Users
mailing list