Skip to content

Instantly share code, notes, and snippets.

@tdkuehnel
Created July 10, 2019 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdkuehnel/783303730d74fee05292baa758f23178 to your computer and use it in GitHub Desktop.
Save tdkuehnel/783303730d74fee05292baa758f23178 to your computer and use it in GitHub Desktop.
Fail to cross-compile (MXE) gtk+3 app against gtk+-3.22.7
make all-recursive
make[1]: Entering directory '/home/tdkuehnel/CIRCLEOFTRUST/nct/ncotclient'
Making all in src
make[2]: Entering directory '/home/tdkuehnel/CIRCLEOFTRUST/nct/ncotclient/src'
/bin/sh ../libtool --tag=CC --mode=link i686-w64-mingw32.static-gcc -I/opt/mxe/usr/i686-w64-mingw32.static/include/gtk-3.0 -I/opt/mxe/usr/i686-w64-mingw32.static/include/harfbuzz -I/opt/mxe/usr/i686-w64-mingw32.static/include/pango-1.0 -I/opt/mxe/usr/i686-w64-mingw32.static/include/cairo -I/opt/mxe/usr/i686-w64-mingw32.static/include/pixman-1 -I/opt/mxe/usr/i686-w64-mingw32.static/include/freetype2 -I/opt/mxe/usr/i686-w64-mingw32.static/include/gdk-pixbuf-2.0 -I/opt/mxe/usr/i686-w64-mingw32.static/include/libpng16 -I/opt/mxe/usr/i686-w64-mingw32.static/include/atk-1.0 -DEPOXY_STATIC -I/opt/mxe/usr/i686-w64-mingw32.static/include/glib-2.0 -I/opt/mxe/usr/i686-w64-mingw32.static/lib/glib-2.0/include -mms-bitfields -DPCRE_STATIC -I/opt/mxe/usr/i686-w64-mingw32.static/include/libxml2 -DLIBXML_STATIC -g -O2 -o gtk3test.exe gtk3test-gtk3test.o -lgtk-3 -lwinspool -lcomctl32 -lcomdlg32 -lgdk-3 -limm32 -lshell32 -Wl,-luuid -ldwmapi -lsetupapi -lcfgmgr32 -lpangocairo-1.0 -lpangoft2-1.0 -lpangowin32-1.0 -lpango-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -ldnsapi -liphlpapi -latk-1.0 -lepoxy -lgmodule-2.0 -lxml2 -lharfbuzz -lcairo -lgobject-2.0 -lfontconfig -lfreetype -lm -lusp10 -lmsimg32 -lgdi32 -lpixman-1 -lexpat -lbz2 -lharfbuzz_too -lfreetype_too -lglib-2.0 -ltiff -lpng16 -ljpeg -L/opt/mxe/usr/i686-w64-mingw32.static/lib/../lib -lffi -lole32 -lwinmm -lshlwapi -lpcre -lintl -lz -llzma -liconv -lws2_32
libtool: link: i686-w64-mingw32.static-gcc -I/opt/mxe/usr/i686-w64-mingw32.static/include/gtk-3.0 -I/opt/mxe/usr/i686-w64-mingw32.static/include/harfbuzz -I/opt/mxe/usr/i686-w64-mingw32.static/include/pango-1.0 -I/opt/mxe/usr/i686-w64-mingw32.static/include/cairo -I/opt/mxe/usr/i686-w64-mingw32.static/include/pixman-1 -I/opt/mxe/usr/i686-w64-mingw32.static/include/freetype2 -I/opt/mxe/usr/i686-w64-mingw32.static/include/gdk-pixbuf-2.0 -I/opt/mxe/usr/i686-w64-mingw32.static/include/libpng16 -I/opt/mxe/usr/i686-w64-mingw32.static/include/atk-1.0 -DEPOXY_STATIC -I/opt/mxe/usr/i686-w64-mingw32.static/include/glib-2.0 -I/opt/mxe/usr/i686-w64-mingw32.static/lib/glib-2.0/include -mms-bitfields -DPCRE_STATIC -I/opt/mxe/usr/i686-w64-mingw32.static/include/libxml2 -DLIBXML_STATIC -g -O2 -o .libs/gtk3test.exe gtk3test-gtk3test.o -Wl,-luuid /opt/mxe/usr/i686-w64-mingw32.static/lib/libgtk-3.a -L/opt/mxe/usr/i686-w64-mingw32.static/lib -L/opt/mxe/usr/i686-w64-mingw32.static/lib/../lib -lwinspool -lcomctl32 -lcomdlg32 /opt/mxe/usr/i686-w64-mingw32.static/lib/libgdk-3.a -limm32 -lshell32 -ldwmapi -lsetupapi -lcfgmgr32 /opt/mxe/usr/i686-w64-mingw32.static/lib/libpangocairo-1.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libpangoft2-1.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libpangowin32-1.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libpango-1.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libgthread-2.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libcairo-gobject.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libgdk_pixbuf-2.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libgio-2.0.a -ldnsapi -liphlpapi /opt/mxe/usr/i686-w64-mingw32.static/lib/libatk-1.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libepoxy.a -lopengl32 /opt/mxe/usr/i686-w64-mingw32.static/lib/libgmodule-2.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libxml2.a -L/opt/mxe/usr/i686-w64-mingw32.static/lib/lib /opt/mxe/usr/i686-w64-mingw32.static/lib/libharfbuzz.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libcairo.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libgobject-2.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libfontconfig.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libfreetype.a -lusp10 -lmsimg32 -lgdi32 /opt/mxe/usr/i686-w64-mingw32.static/lib/libpixman-1.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libexpat.a -lbz2 -lharfbuzz_too -lfreetype_too /opt/mxe/usr/i686-w64-mingw32.static/lib/libglib-2.0.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libtiff.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libpng16.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libjpeg.a /opt/mxe/usr/i686-w64-mingw32.static/lib/../lib/libffi.a -lole32 -lwinmm -lshlwapi /opt/mxe/usr/i686-w64-mingw32.static/lib/libpcre.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libintl.a -lz /opt/mxe/usr/i686-w64-mingw32.static/lib/liblzma.a /opt/mxe/usr/i686-w64-mingw32.static/lib/libiconv.a -lws2_32 -pthread
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgtk-3.a(libgtk_3_la-gtkprintoperation-win32.o): In function `iprintdialogcallback_queryinterface':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkprintoperation-win32.c:1266: undefined reference to `IID_IUnknown'
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgtk-3.a(libgtk_3_la-gtkfilechoosernativewin32.o): In function `get_shell_item_for_uri':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:371: undefined reference to `IID_IShellItem'
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgtk-3.a(libgtk_3_la-gtkfilechoosernativewin32.o): In function `ifiledialogevents_OnFolderChange':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:185: undefined reference to `IID_IOleWindow'
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgtk-3.a(libgtk_3_la-gtkfilechoosernativewin32.o): In function `ifiledialogevents_QueryInterface':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:143: undefined reference to `IID_IUnknown'
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgtk-3.a(libgtk_3_la-gtkfilechoosernativewin32.o): In function `filechooser_win32_thread':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:411: undefined reference to `IID_IFileOpenDialog'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:411: undefined reference to `CLSID_FileOpenDialog'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:465: undefined reference to `IID_IFileDialog2'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:489: undefined reference to `IID_IFileSaveDialog'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:545: undefined reference to `IID_IFileOpenDialog'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:407: undefined reference to `IID_IFileSaveDialog'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gtk/gtkfilechoosernativewin32.c:407: undefined reference to `CLSID_FileSaveDialog'
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgdk-3.a(gdkdnd-win32.o): In function `idropsource_queryinterface':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:555: undefined reference to `IID_IUnknown'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:555: undefined reference to `IID_IUnknown'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:562: undefined reference to `IID_IDropSource'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:562: undefined reference to `IID_IDropSource'
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgdk-3.a(gdkdnd-win32.o): In function `ienumformatetc_queryinterface':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:1008: undefined reference to `IID_IUnknown'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:1008: undefined reference to `IID_IUnknown'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:1015: undefined reference to `IID_IEnumFORMATETC'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:1015: undefined reference to `IID_IEnumFORMATETC'
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgdk-3.a(gdkdnd-win32.o): In function `idataobject_queryinterface':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:763: undefined reference to `IID_IUnknown'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:763: undefined reference to `IID_IUnknown'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:770: undefined reference to `IID_IDataObject'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:770: undefined reference to `IID_IDataObject'
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgdk-3.a(gdkdnd-win32.o): In function `idroptarget_queryinterface':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:291: undefined reference to `IID_IUnknown'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:291: undefined reference to `IID_IUnknown'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:298: undefined reference to `IID_IDropTarget'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:298: undefined reference to `IID_IDropTarget'
/opt/mxe/usr/i686-w64-mingw32.static/lib/libgdk-3.a(gdkdnd-win32.o): In function `resolve_link':
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:1325: undefined reference to `IID_IShellLinkW'
/opt/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.7/gdk/win32/gdkdnd-win32.c:1336: undefined reference to `IID_IPersistFile'
collect2: error: ld returned 1 exit status
Makefile:460: recipe for target 'gtk3test.exe' failed
make[2]: *** [gtk3test.exe] Error 1
make[2]: Leaving directory '/home/tdkuehnel/CIRCLEOFTRUST/nct/ncotclient/src'
Makefile:456: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tdkuehnel/CIRCLEOFTRUST/nct/ncotclient'
Makefile:367: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment