problem compiling Gnumeric on MSYS2
Frederic Parrenin via gnumeric-list <[email protected]> Wed, 20 Jan 2021 10:20:22 +0100
| Newsgroups | gmane.comp.gnome.apps.gnumeric |
|---|---|
| Message-ID | <[email protected]> |
Dear all, Libgsf and goffice now compile, but I have a problem with gnumeric. See the output of the 'make' command below. Any idea what is going on? Thanks and all the best, Frédéric -------------- $ make make all-recursive make[1]: Entering directory '/home/parre/gnumeric' Making all in . make[2]: Entering directory '/home/parre/gnumeric' LC_ALL=C /usr/bin/intltool-merge -d -u -c ./po/.intltool-merge-cache ./po gnumeric.desktop.in gnumeric.desktop.tmp Generating and caching the translation database Merging translations into gnumeric.desktop.tmp. sed -e 's/F_OR_U/U/' <gnumeric.desktop.tmp >gnumeric.desktop.tmp2 sed -e 's/BUGZILLAVERSION/1.12.49/' <gnumeric.desktop.tmp2 >gnumeric.desktop rm -f gnumeric.desktop.tmp gnumeric.desktop.tmp2 LC_ALL=C /usr/bin/intltool-merge -x -u -c ./po/.intltool-merge-cache ./po gnumeric.appdata.xml.in gnumeric.appdata.xml Found cached translation database Merging translations into gnumeric.appdata.xml. CREATED gnumeric.appdata.xml cp libspreadsheet.pc libspreadsheet-1.12.pc make[2]: Leaving directory '/home/parre/gnumeric' Making all in po make[2]: Entering directory '/home/parre/gnumeric/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/parre/gnumeric/po' Making all in po-functions make[2]: Entering directory '/home/parre/gnumeric/po-functions' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/parre/gnumeric/po-functions' Making all in src make[2]: Entering directory '/home/parre/gnumeric/src' (echo '/* This file has been automatically generated. Do not edit. */' && \ echo '#include <gnm-marshalers.h>' && \ glib-genmarshal.exe --prefix=gnm_ --body gnm-marshalers.list ) >gnm-marshalers.c INFO: Reading gnm-marshalers.list... glib-genmarshal.exe --prefix=gnm_ --header gnm-marshalers.list >gnm-marshalers.h INFO: Reading gnm-marshalers.list... GEN gnmresources.c GEN gnmresources.h creating gnumeric-paths.h make all-am make[3]: Entering directory '/home/parre/gnumeric/src' CC io-context-gtk.o CC main-application.o main-application.c:17: warning: "_WIN32_WINNT" redefined 17 | #define _WIN32_WINNT 0x0501 | In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/corecrt.h:10, from C:/msys64/mingw64/x86_64-w64-mingw32/include/crtdefs.h:10, from C:/msys64/mingw64/x86_64-w64-mingw32/include/stddef.h:7, from C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/10.2.0/include/stddef.h:1, from C:/msys64/mingw64/include/glib-2.0/glib/gmacros.h:38, from C:/msys64/mingw64/lib/glib-2.0/include/glibconfig.h:9, from C:/msys64/mingw64/include/glib-2.0/glib/gtypes.h:32, from C:/msys64/mingw64/include/glib-2.0/glib/galloca.h:32, from C:/msys64/mingw64/include/glib-2.0/glib.h:30, from C:/msys64/mingw64/include/glib-2.0/glib/gi18n.h:21, from main-application.c:13: C:/msys64/mingw64/x86_64-w64-mingw32/include/_mingw.h:233: note: this is the location of the previous definition 233 | #define _WIN32_WINNT 0x601 | main-application.c: In function 'gnumeric_arg_parse': main-application.c:117:2: error: implicit declaration of function 'g_option_context_set_delocalize'; did you mean 'g_option_context_set_description'? [-Werror=implicit-function-declaration] 117 | g_option_context_set_delocalize (ocontext, FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | g_option_context_set_description main-application.c:117:2: error: nested extern declaration of 'g_option_context_set_delocalize' [-Werror=nested-externs] main-application.c: At top level: main-application.c:141:2: warning: #warning "REMOVE REMOVE REMOVE" [-Wcpp] 141 | #warning "REMOVE REMOVE REMOVE" | ^~~~~~~ cc1.exe: some warnings being treated as errors make[3]: *** [Makefile:2326: main-application.o] Error 1 make[3]: Leaving directory '/home/parre/gnumeric/src' make[2]: *** [Makefile:1655: all] Error 2 make[2]: Leaving directory '/home/parre/gnumeric/src' make[1]: *** [Makefile:661: all-recursive] Error 1 make[1]: Leaving directory '/home/parre/gnumeric' make: *** [Makefile:520: all] Error 2 _______________________________________________ gnumeric-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnumeric-list