mingw-cross-env-list
[Top][All Lists]
Advanced

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

Re: [Mingw-cross-env-list] Building libgpg_error fails


From: Theuns Heydenrych
Subject: Re: [Mingw-cross-env-list] Building libgpg_error fails
Date: Sun, 10 May 2015 09:34:44 +0000

I saw this mail in the github issues https://github.com/mxe/mxe/issues/677 and did a fresh pull of the repo and build gdal and libgpg_error build succesfully.

But libgcrypt failed to build.
With the following log:

[using autodetected 6 job(s)]
make[1]: Entering directory `/home/dev/mxe'
uname -a
Linux dellr410 3.2.0-76-generic #111-Ubuntu SMP Tue Jan 13 22:16:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
git show-branch --list --reflog=1
  [refs/heads/address@hidden (3 minutes ago) pull: Fast-forward
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:        12.04
Codename:       precise
rm -rf   '/home/dev/mxe/tmp-libgcrypt-x86_64-w64-mingw32.shared'
mkdir -p '/home/dev/mxe/tmp-libgcrypt-x86_64-w64-mingw32.shared'
cd '/home/dev/mxe/tmp-libgcrypt-x86_64-w64-mingw32.shared' &&    tar xjf '/home/dev/mxe/pkg/libgcrypt-1.6.3.tar.bz2'
cd '/home/dev/mxe/tmp-libgcrypt-x86_64-w64-mingw32.shared/libgcrypt-1.6.3'
(cd '/home/dev/mxe/tmp-libgcrypt-x86_64-w64-mingw32.shared/libgcrypt-1.6.3' && patch -p1 -u) < ./src/libgcrypt-1-fixes.patch
patching file acinclude.m4
patching file mpi/generic/mpi-asm-defs.h
patching file mpi/mpi-internal.h
patching file random/rndw32.c
patching file src/libgcrypt.def
cd '/home/dev/mxe/tmp-libgcrypt-x86_64-w64-mingw32.shared/libgcrypt-1.6.3' && autoreconf -fi
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/config.guess'
libtoolize: copying file `build-aux/config.sub'
libtoolize: copying file `build-aux/install-sh'
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
configure.ac:77: option `serial-tests' not recognized
autoreconf: automake failed with exit status: 1
make[1]: *** [build-only-libgcrypt_x86_64-w64-mingw32.shared] Error 1
make[1]: Leaving directory `/home/dev/mxe'

real    0m16.266s
user    0m14.109s
sys     0m0.388s



On Sun, 10 May 2015 at 11:13 Theuns Heydenrych <address@hidden> wrote:
Hi 
I am trying to build the whole mxe.
libgpg_error fails to build and this library have a huge dependency list down stream.
And i would like to build gdal and qt in particular.

Help would be greatly appreciated, thank you in advance.

sudo make show-deps-libgpg_error
[using autodetected 6 job(s)]
libgpg_error upstream dependencies:
 pkgconf binutils gcc-gmp gcc-isl gcc-mpfr gcc-mpc mingw-w64 gcc libiconv gettext 

libgpg_error downstream dependents:
 cegui cgal curl dcmtk gdal gsoap libaacs libarchive libevent libgcrypt libgsasl liboauth libssh2 libwebsockets libxslt netcdf opencsg openscenegraph openssl pcl poco poppler postgresql qjson qscintilla2 qt qt3d qt5 qtactiveqt qtbase qtconnectivity qtdeclarative qtenginio qtgraphicaleffects qtimageformats qtlocation qtmultimedia qtquick1 qtquickcontrols qtscript qtsensors qtserialport qtserialport_qt4 qtservice qtsvg qtsystems qttools qttranslations qtwebchannel qtwebengine qtwebkit qtwebsockets qtwinextras qtxlsxwriter qtxmlpatterns qwt qwt_qt4 qwtplot3d sdl_rwhttp vmime vtk vtk6 wt xerces xmlrpc-c xmlwrapp



Below is the log output for libgpg_error.

[using autodetected 6 job(s)]
make[1]: Entering directory `/home/dev/mxe'
uname -a
Linux dellr410 3.2.0-76-generic #111-Ubuntu SMP Tue Jan 13 22:16:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
git show-branch --list --reflog=1
  [refs/heads/address@hidden (18 hours ago) clone: from https://github.com/mxe/mxe.git
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
rm -rf   '/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared'
mkdir -p '/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared'
cd '/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared' &&    tar xjf '/home/dev/mxe/pkg/libgpg-error-1.19.tar.bz2'
cd '/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19'
cd '/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src/syscfg' && ln -s lock-obj-pub.mingw32.h lock-obj-pub.mingw32.static.h
cd '/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src/syscfg' && ln -s lock-obj-pub.mingw32.h lock-obj-pub.mingw32.shared.h
cd '/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19' && ./configure --host='x86_64-w64-mingw32.shared' --build='x86_64-unknown-linux-gnu' --prefix='/home/dev/mxe/usr/x86_64-w64-mingw32.shared'  --disable-static --enable-shared  --disable-nls --disable-languages
configure: loading site script /home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/build-aux/missing: Unknown `--is-lightweight' option
Try `/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/build-aux/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for x86_64-w64-mingw32.shared-strip... x86_64-w64-mingw32.shared-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... x86_64-w64-mingw32.shared
configure: autobuild project... libgpg-error
configure: autobuild revision... 1.19
configure: autobuild hostname... dellr410
configure: autobuild timestamp... 20150510-104448
checking for x86_64-w64-mingw32.shared-gcc... x86_64-w64-mingw32.shared-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32.shared-gcc accepts -g... yes
checking for x86_64-w64-mingw32.shared-gcc option to accept ISO C89... none needed
checking whether x86_64-w64-mingw32.shared-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-w64-mingw32.shared-gcc... gcc3
checking how to run the C preprocessor... x86_64-w64-mingw32.shared-gcc -E
checking for gawk... (cached) mawk
checking for x86_64-w64-mingw32.shared-ar... x86_64-w64-mingw32.shared-ar
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-w64-mingw32.shared-gcc... /home/dev/mxe/usr/bin/x86_64-w64-mingw32.shared-ld
checking if the linker (/home/dev/mxe/usr/bin/x86_64-w64-mingw32.shared-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /home/dev/mxe/usr/bin/x86_64-w64-mingw32.shared-nm -B
checking the name lister (/home/dev/mxe/usr/bin/x86_64-w64-mingw32.shared-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-w64-mingw32.shared format... func_convert_file_nix_to_w32
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/dev/mxe/usr/bin/x86_64-w64-mingw32.shared-ld option to reload object files... -r
checking for x86_64-w64-mingw32.shared-objdump... x86_64-w64-mingw32.shared-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32.shared-dlltool... x86_64-w64-mingw32.shared-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32.shared-ar... (cached) x86_64-w64-mingw32.shared-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32.shared-strip... (cached) x86_64-w64-mingw32.shared-strip
checking for x86_64-w64-mingw32.shared-ranlib... x86_64-w64-mingw32.shared-ranlib
checking command to parse /home/dev/mxe/usr/bin/x86_64-w64-mingw32.shared-nm -B output from x86_64-w64-mingw32.shared-gcc object... ok
checking for sysroot... no
checking for x86_64-w64-mingw32.shared-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for x86_64-w64-mingw32.shared-as... x86_64-w64-mingw32.shared-as
checking for x86_64-w64-mingw32.shared-dlltool... (cached) x86_64-w64-mingw32.shared-dlltool
checking for x86_64-w64-mingw32.shared-objdump... (cached) x86_64-w64-mingw32.shared-objdump
checking for objdir... .libs
checking if x86_64-w64-mingw32.shared-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32.shared-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32.shared-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32.shared-gcc static flag -static works... yes
checking if x86_64-w64-mingw32.shared-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32.shared-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32.shared-gcc linker (/home/dev/mxe/usr/bin/x86_64-w64-mingw32.shared-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-w64-mingw32.shared-windres... x86_64-w64-mingw32.shared-windres
checking for cc for build... cc
checking whether NLS is requested... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by x86_64-w64-mingw32.shared-gcc... /home/dev/mxe/usr/bin/x86_64-w64-mingw32.shared-ld
checking if the linker (/home/dev/mxe/usr/bin/x86_64-w64-mingw32.shared-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether to use NLS... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking whether strerror_r is declared... no
checking for strerror_r... no
checking whether strerror_r returns char *... no
checking for strerror_r... (cached) no
configure: WARNING: Without strerror_r, gpg_strerror_r might not be thread-safe
checking for flockfile... no
checking for vasprintf... yes
checking for an ANSI C-conforming const... yes
checking size of int... 4
checking size of long... 4
checking size of long long... 8
configure: checking for cc features
checking if gcc ignores unknown -Wno-* options... yes
checking if gcc supports -Wpointer-arith... yes
checking whether the GCC style aligned attribute is supported... yes
checking whether the visibility attribute is supported... no
checking for unsigned long long int... yes
configure: checking system features for estream-printf
checking for stdint.h... (cached) yes
checking for long long int... yes
checking for long double... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for ptrdiff_t... yes
checking size of unsigned long... 4
checking size of void *... 8
checking for nl_langinfo and THOUSANDS_SEP... no
configure: checking system features for estream
checking for memrchr... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating lang/Makefile
config.status: creating lang/cl/Makefile
config.status: creating lang/cl/gpg-error.asd
config.status: creating src/versioninfo.rc
config.status: creating src/gpg-error.w32-manifest
config.status: creating src/gpg-error-config
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

        libgpg-error-1.19 prepared for make

        Revision: d77c33a  (55164)
        Platform: x86_64-w64-mingw32.shared

sed -i 's/-lgpg-error/-lgpg-error -lintl -liconv/;' '/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src/gpg-error-config'
make -C '/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src' -j '6' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
make[2]: Entering directory `/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src'
mawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
mawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
mawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
./err-sources.h.in >err-sources-sym.h
mawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
./err-codes.h.in >err-codes-sym.h
mawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
-v prefix=GPG_ERR_ -v namespace=errnos_ \
./errnos.in >errnos-sym.h
cc -g -O0 -I. -I. -o mkheader ./mkheader.c
x86_64-w64-mingw32.shared-gcc -E   -P _mkerrcodes.h | grep GPG_ERR_ | \
               mawk -f ./mkerrcodes.awk >mkerrcodes.h
cat ./gpg-error.def.in >_gpg-error.def.h
echo "/*dummy*/" > mkw32errmap.map.c
x86_64-w64-mingw32.shared-gcc -E -I. -I..   _gpg-error.def.h | \
 grep -v '^#' >gpg-error.def
rm _gpg-error.def.h
if test -f lock-obj-pub.native.h; then rm lock-obj-pub.native.h; fi
./mkheader mingw32.shared x86_64-w64-mingw32.shared  ./gpg-error.h.in \
                   ../config.h 1.19 0x011300 >gpg-error.h
./gpg-error.h.in:320: note: including './syscfg/lock-obj-pub.mingw32.shared.h'
rm _mkerrcodes.h
cc -I. -I. -o mkerrcodes ./mkerrcodes.c
./mkerrcodes | mawk -f ./mkerrcodes2.awk >code-from-errno.h
make  all-am
make[3]: Entering directory `/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src'
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-w32-gettext.lo -MD -MP -MF .deps/libgpg_error_la-w32-gettext.Tpo -c -o libgpg_error_la-w32-gettext.lo `test -f 'w32-gettext.c' || echo './'`w32-gettext.c
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-w32-lock.lo -MD -MP -MF .deps/libgpg_error_la-w32-lock.Tpo -c -o libgpg_error_la-w32-lock.lo `test -f 'w32-lock.c' || echo './'`w32-lock.c
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-w32-thread.lo -MD -MP -MF .deps/libgpg_error_la-w32-thread.Tpo -c -o libgpg_error_la-w32-thread.lo `test -f 'w32-thread.c' || echo './'`w32-thread.c
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-init.lo -MD -MP -MF .deps/libgpg_error_la-init.Tpo -c -o libgpg_error_la-init.lo `test -f 'init.c' || echo './'`init.c
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-version.lo -MD -MP -MF .deps/libgpg_error_la-version.Tpo -c -o libgpg_error_la-version.lo `test -f 'version.c' || echo './'`version.c
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-estream.lo -MD -MP -MF .deps/libgpg_error_la-estream.Tpo -c -o libgpg_error_la-estream.lo `test -f 'estream.c' || echo './'`estream.c
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-w32-lock.lo -MD -MP -MF .deps/libgpg_error_la-w32-lock.Tpo -c w32-lock.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-w32-lock.o
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-w32-thread.lo -MD -MP -MF .deps/libgpg_error_la-w32-thread.Tpo -c w32-thread.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-w32-thread.o
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-version.lo -MD -MP -MF .deps/libgpg_error_la-version.Tpo -c version.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-version.o
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-estream.lo -MD -MP -MF .deps/libgpg_error_la-estream.Tpo -c estream.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-estream.o
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-w32-gettext.lo -MD -MP -MF .deps/libgpg_error_la-w32-gettext.Tpo -c w32-gettext.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-w32-gettext.o
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-init.lo -MD -MP -MF .deps/libgpg_error_la-init.Tpo -c init.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-init.o
mv -f .deps/libgpg_error_la-version.Tpo .deps/libgpg_error_la-version.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-estream-printf.lo -MD -MP -MF .deps/libgpg_error_la-estream-printf.Tpo -c -o libgpg_error_la-estream-printf.lo `test -f 'estream-printf.c' || echo './'`estream-printf.c
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-estream-printf.lo -MD -MP -MF .deps/libgpg_error_la-estream-printf.Tpo -c estream-printf.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-estream-printf.o
mv -f .deps/libgpg_error_la-w32-thread.Tpo .deps/libgpg_error_la-w32-thread.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-strsource.lo -MD -MP -MF .deps/libgpg_error_la-strsource.Tpo -c -o libgpg_error_la-strsource.lo `test -f 'strsource.c' || echo './'`strsource.c
mv -f .deps/libgpg_error_la-w32-lock.Tpo .deps/libgpg_error_la-w32-lock.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-strerror.lo -MD -MP -MF .deps/libgpg_error_la-strerror.Tpo -c -o libgpg_error_la-strerror.lo `test -f 'strerror.c' || echo './'`strerror.c
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-strsource.lo -MD -MP -MF .deps/libgpg_error_la-strsource.Tpo -c strsource.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-strsource.o
strsource.c: In function '_gpg_strsource':
strsource.c:36:10: warning: implicit declaration of function 'dgettext' [-Wimplicit-function-declaration]
   return dgettext (PACKAGE, msgstr + msgidx[msgidxof (source)]);
          ^
strsource.c:36:10: warning: incompatible implicit declaration of built-in function 'dgettext'
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-strerror.lo -MD -MP -MF .deps/libgpg_error_la-strerror.Tpo -c strerror.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-strerror.o
mv -f .deps/libgpg_error_la-strsource.Tpo .deps/libgpg_error_la-strsource.Plo
mv -f .deps/libgpg_error_la-estream-printf.Tpo .deps/libgpg_error_la-estream-printf.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-code-to-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-to-errno.Tpo -c -o libgpg_error_la-code-to-errno.lo `test -f 'code-to-errno.c' || echo './'`code-to-errno.c
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-from-errno.Tpo -c -o libgpg_error_la-code-from-errno.lo `test -f 'code-from-errno.c' || echo './'`code-from-errno.c
strerror.c: In function '_gpg_strerror':
strerror.c:50:10: warning: implicit declaration of function 'dgettext' [-Wimplicit-function-declaration]
   return dgettext (PACKAGE, msgstr + msgidx[msgidxof (code)]);
          ^
strerror.c:50:10: warning: incompatible implicit declaration of built-in function 'dgettext'
strerror.c: In function '_gpg_strerror_r':
strerror.c:161:12: warning: incompatible implicit declaration of built-in function 'dgettext'
   errstr = dgettext (PACKAGE, msgstr + msgidx[msgidxof (code)]);
            ^
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-code-to-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-to-errno.Tpo -c code-to-errno.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-code-to-errno.o
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-from-errno.Tpo -c code-from-errno.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-code-from-errno.o
mv -f .deps/libgpg_error_la-strerror.Tpo .deps/libgpg_error_la-strerror.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"    -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-visibility.lo -MD -MP -MF .deps/libgpg_error_la-visibility.Tpo -c -o libgpg_error_la-visibility.lo `test -f 'visibility.c' || echo './'`visibility.c
libtool: compile:  x86_64-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-visibility.lo -MD -MP -MF .deps/libgpg_error_la-visibility.Tpo -c visibility.c  -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-visibility.o
mv -f .deps/libgpg_error_la-code-from-errno.Tpo .deps/libgpg_error_la-code-from-errno.Plo
/bin/bash ../libtool --mode=compile --tag=RC x86_64-w64-mingw32.shared-windres -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\"   -i "versioninfo.rc" -o "versioninfo.lo"
libtool: compile:  x86_64-w64-mingw32.shared-windres -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/dev/mxe/usr/x86_64-w64-mingw32.shared/share/locale\" -i versioninfo.rc  -o .libs/versioninfo.o
init.c: In function 'real_init':
init.c:79:7: warning: implicit declaration of function 'bindtextdomain' [-Wimplicit-function-declaration]
       bindtextdomain (PACKAGE, locale_dir);
       ^
estream.c:99:0: warning: "S_IRGRP" redefined
 # define S_IRGRP S_IRUSR
 ^
In file included from estream.c:72:0:
/home/dev/mxe/usr/x86_64-w64-mingw32.shared/include/sys/stat.h:155:0: note: this is the location of the previous definition
 #define S_IRGRP    (S_IRUSR >> 3)
 ^
estream.c:100:0: warning: "S_IROTH" redefined
 # define S_IROTH S_IRUSR
 ^
In file included from estream.c:72:0:
/home/dev/mxe/usr/x86_64-w64-mingw32.shared/include/sys/stat.h:160:0: note: this is the location of the previous definition
 #define S_IROTH    (S_IRGRP >> 3)
 ^
estream.c:101:0: warning: "S_IWGRP" redefined
 # define S_IWGRP S_IWUSR
 ^
In file included from estream.c:72:0:
/home/dev/mxe/usr/x86_64-w64-mingw32.shared/include/sys/stat.h:156:0: note: this is the location of the previous definition
 #define S_IWGRP    (S_IWUSR >> 3)
 ^
estream.c:102:0: warning: "S_IWOTH" redefined
 # define S_IWOTH S_IWUSR
 ^
In file included from estream.c:72:0:
/home/dev/mxe/usr/x86_64-w64-mingw32.shared/include/sys/stat.h:161:0: note: this is the location of the previous definition
 #define S_IWOTH    (S_IWGRP >> 3)
 ^
estream.c:103:0: warning: "S_IXGRP" redefined
 # define S_IXGRP S_IXUSR
 ^
In file included from estream.c:72:0:
/home/dev/mxe/usr/x86_64-w64-mingw32.shared/include/sys/stat.h:157:0: note: this is the location of the previous definition
 #define S_IXGRP    (S_IXUSR >> 3)
 ^
estream.c:104:0: warning: "S_IXOTH" redefined
 # define S_IXOTH S_IXUSR
 ^
In file included from estream.c:72:0:
/home/dev/mxe/usr/x86_64-w64-mingw32.shared/include/sys/stat.h:162:0: note: this is the location of the previous definition
 #define S_IXOTH    (S_IXGRP >> 3)
 ^
estream.c: In function 'es_func_fd_read':
estream.c:118:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 # define IS_INVALID_FD(a)    ((void*)(a) == (void*)(-1)) /* ?? FIXME.  */
                               ^
estream.c:906:12: note: in expansion of macro 'IS_INVALID_FD'
   else if (IS_INVALID_FD (file_cookie->fd))
            ^
estream.c: In function 'es_func_fd_write':
estream.c:118:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 # define IS_INVALID_FD(a)    ((void*)(a) == (void*)(-1)) /* ?? FIXME.  */
                               ^
estream.c:934:7: note: in expansion of macro 'IS_INVALID_FD'
   if (IS_INVALID_FD (file_cookie->fd))
       ^
estream.c: In function 'es_func_fd_seek':
estream.c:118:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 # define IS_INVALID_FD(a)    ((void*)(a) == (void*)(-1)) /* ?? FIXME.  */
                               ^
estream.c:963:7: note: in expansion of macro 'IS_INVALID_FD'
   if (IS_INVALID_FD (file_cookie->fd))
       ^
estream.c: In function 'es_func_fd_destroy':
estream.c:118:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 # define IS_INVALID_FD(a)    ((void*)(a) == (void*)(-1)) /* ?? FIXME.  */
                               ^
estream.c:996:11: note: in expansion of macro 'IS_INVALID_FD'
       if (IS_INVALID_FD (fd_cookie->fd))
           ^
estream.c: In function 'tmpfd':
estream.c:4171:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
           int fd = _open_osfhandle ((long)file, 0);
                                     ^
mv -f .deps/libgpg_error_la-visibility.Tpo .deps/libgpg_error_la-visibility.Plo
mv -f .deps/libgpg_error_la-init.Tpo .deps/libgpg_error_la-init.Plo
mv -f .deps/libgpg_error_la-w32-gettext.Tpo .deps/libgpg_error_la-w32-gettext.Plo
mv -f .deps/libgpg_error_la-code-to-errno.Tpo .deps/libgpg_error_la-code-to-errno.Plo
mv -f .deps/libgpg_error_la-estream.Tpo .deps/libgpg_error_la-estream.Plo
/bin/bash ../libtool  --tag=CC   --mode=link x86_64-w64-mingw32.shared-gcc  -g -O2 -Wall -Wpointer-arith -Wno-psabi -no-undefined -export-symbols gpg-error.def  -XCClinker -static-libgcc -version-info 15:0:15  -o libgpg-error.la -rpath /home/dev/mxe/usr/x86_64-w64-mingw32.shared/lib libgpg_error_la-w32-gettext.lo libgpg_error_la-w32-lock.lo libgpg_error_la-w32-thread.lo libgpg_error_la-init.lo libgpg_error_la-version.lo libgpg_error_la-estream.lo libgpg_error_la-estream-printf.lo libgpg_error_la-strsource.lo libgpg_error_la-strerror.lo libgpg_error_la-code-to-errno.lo libgpg_error_la-code-from-errno.lo libgpg_error_la-visibility.lo  versioninfo.lo   
libtool: link: if test "x`/bin/sed \"/^;/d; /^[ ]*$/d\" gpg-error.def | /bin/sed 1q`" = xEXPORTS; then cp gpg-error.def .libs/libgpg-error6-0.dll.def; else echo EXPORTS > .libs/libgpg-error6-0.dll.def; cat gpg-error.def >> .libs/libgpg-error6-0.dll.def; fi
libtool: link:  x86_64-w64-mingw32.shared-gcc -shared .libs/libgpg-error6-0.dll.def  .libs/libgpg_error_la-w32-gettext.o .libs/libgpg_error_la-w32-lock.o .libs/libgpg_error_la-w32-thread.o .libs/libgpg_error_la-init.o .libs/libgpg_error_la-version.o .libs/libgpg_error_la-estream.o .libs/libgpg_error_la-estream-printf.o .libs/libgpg_error_la-strsource.o .libs/libgpg_error_la-strerror.o .libs/libgpg_error_la-code-to-errno.o .libs/libgpg_error_la-code-from-errno.o .libs/libgpg_error_la-visibility.o .libs/versioninfo.o    -O2 -static-libgcc   -o .libs/libgpg-error6-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libgpg-error.dll.a
.libs/libgpg_error_la-init.o: In function `real_init':
/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src/init.c:79: undefined reference to `bindtextdomain'
.libs/libgpg_error_la-strsource.o: In function `_gpg_strsource':
/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src/strsource.c:36: undefined reference to `dgettext'
.libs/libgpg_error_la-strerror.o: In function `_gpg_strerror_r':
/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src/strerror.c:161: undefined reference to `dgettext'
.libs/libgpg_error_la-strerror.o: In function `_gpg_strerror':
/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src/strerror.c:50: undefined reference to `dgettext'
collect2: error: ld returned 1 exit status
make[3]: *** [libgpg-error.la] Error 1
make[3]: Leaving directory `/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/dev/mxe/tmp-libgpg_error-x86_64-w64-mingw32.shared/libgpg-error-1.19/src'
make[1]: *** [build-only-libgpg_error_x86_64-w64-mingw32.shared] Error 2
make[1]: Leaving directory `/home/dev/mxe'

real 0m14.378s
user 0m15.737s
sys 0m2.268s

reply via email to

[Prev in Thread] Current Thread [Next in Thread]