Re: Problem compiling libgsf under MSYS2

Answering to my own email.
I was this patch has been committed:

Le 19/01/2021 à 17:38, Frederic Parrenin via gnumeric-list a écrit :
Dear all,

I am trying to compile Gnumeric under MSYS2.
First step is to compile libgsf.

But I get the following error message (see below).
Any idea what is going on?

Thanks and all the best,



$ make
make  all-recursive
make[1]: Entering directory '/home/parre/libgsf-LIBGSF_1_14_47/libgsf-LIBGSF_1_14_47'
Making all in po
make[2]: Entering directory '/home/parre/libgsf-LIBGSF_1_14_47/libgsf-LIBGSF_1_14_47/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/parre/libgsf-LIBGSF_1_14_47/libgsf-LIBGSF_1_14_47/po'
Making all in gsf
make[2]: Entering directory '/home/parre/libgsf-LIBGSF_1_14_47/libgsf-LIBGSF_1_14_47/gsf'
  CC       gsf-utils.lo
  CC       gsf-priv.lo
  CC       gsf-libxml.lo
  CC       gsf-doc-meta-data.lo
  CC       gsf-docprop-vector.lo
  CC       gsf-msole-utils.lo
  CC       gsf-open-pkg-utils.lo
  CC       gsf-opendoc-utils.lo
  CC       gsf-timestamp.lo
  CC       gsf-zip-utils.lo
  CC       gsf-input.lo
  CC       gsf-input-bzip.lo
  CC       gsf-input-gzip.lo
  CC       gsf-input-http.lo
  CC       gsf-input-iochannel.lo
  CC       gsf-input-memory.lo
  CC       gsf-input-proxy.lo
  CC       gsf-input-stdio.lo
  CC       gsf-input-textline.lo
  CC       gsf-infile.lo
  CC       gsf-infile-msole.lo
  CC       gsf-infile-msvba.lo
  CC       gsf-infile-stdio.lo
  CC       gsf-infile-tar.lo
  CC       gsf-infile-zip.lo
  CC       gsf-output.lo
  CC       gsf-output-bzip.lo
  CC       gsf-output-csv.lo
  CC       gsf-output-gzip.lo
  CC       gsf-output-iconv.lo
  CC       gsf-output-iochannel.lo
  CC       gsf-output-memory.lo
  CC       gsf-output-stdio.lo
  CC       gsf-outfile.lo
  CC       gsf-outfile-msole.lo
  CC       gsf-outfile-stdio.lo
  CC       gsf-outfile-zip.lo
  CC       gsf-shared-memory.lo
  CC       gsf-structured-blob.lo
  CC       gsf-blob.lo
  CC       gsf-clip-data.lo
  CC       gsf-input-gio.lo
  CC       gsf-output-gio.lo
  CC       version.lo
hdrs='gsf.h gsf-fwd.h gsf-utils.h gsf-libxml.h gsf-impl-utils.h gsf-doc-meta-data.h gsf-docprop-vector.h gsf-msole-utils.h gsf-open-pkg-utils.h gsf-opendoc-utils.h gsf-timestamp.h gsf-input.h gsf-input-impl.h gsf-input-bzip.h gsf-input-gzip.h gsf-input-http.h gsf-input-iochannel.h gsf-input-memory.h gsf-input-proxy.h gsf-input-stdio.h gsf-input-textline.h gsf-infile.h gsf-infile-impl.h gsf-infile-msole.h gsf-infile-msvba.h gsf-infile-stdio.h gsf-infile-tar.h gsf-infile-zip.h gsf-output.h gsf-output-impl.h gsf-output-bzip.h gsf-output-csv.h gsf-output-gzip.h gsf-output-iconv.h gsf-output-iochannel.h gsf-output-memory.h gsf-output-stdio.h gsf-outfile.h gsf-outfile-impl.h gsf-outfile-msole.h gsf-outfile-stdio.h gsf-outfile-zip.h gsf-shared-memory.h gsf-structured-blob.h gsf-meta-names.h gsf-blob.h gsf-clip-data.h gsf-input-gio.h gsf-output-gio.h'; \
hdrs_list=''; \
for hdr in $hdrs; do \
  if test -f ./$hdr; then \
    hdrs_list="$hdrs_list ./$hdr"; \
  else \
    hdrs_list="$hdrs_list $hdr"; \
  fi; \
done; \
cat ../gsf-config.h $hdrs_list | \
        sed -e 's/^#[ \t]*include[ \t]\+.*$//g' | \
        gcc -E -I.. -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include/glib-2.0 -IC:/msys64/mingw64/lib/glib-2.0/include -pthread -mms-bitfields -IC:/msys64/mingw64/include/libxml2 -DGSFLOCALEDIR=\"/mingw64/share/locale\" -DGLIB_CHECK_VERSION\(x,y,z\) -P - > xgen-libdef.1 && \
echo EXPORTS> xgen-libdef.2 && \
perl ../ \
        xgen-libdef.1 >> xgen-libdef.2 \
&& (cmp -s xgen-libdef.2 lib.def || \
        cp xgen-libdef.2 lib.def) \
&& rm -f xgen-libdef.1 xgen-libdef.2 \
&& echo timestamp > stamp-lib.def
libtool:   error: more than one -exported-symbols argument is not allowed
make[2]: *** [Makefile:665:] Error 1
make[2]: Leaving directory '/home/parre/libgsf-LIBGSF_1_14_47/libgsf-LIBGSF_1_14_47/gsf'
make[1]: *** [Makefile:531: all-recursive] Error 1
make[1]: Leaving directory '/home/parre/libgsf-LIBGSF_1_14_47/libgsf-LIBGSF_1_14_47'
make: *** [Makefile:434: all] Error 2

gnumeric-list mailing list
gnumeric-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]