[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Can't compile on Windows: multiple definition of reloc
From: |
Bruno Haible |
Subject: |
Re: [bug-gettext] Can't compile on Windows: multiple definition of relocate2 |
Date: |
Mon, 29 Apr 2019 18:01:21 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
Hi Michele,
> BTW, now I have another issue:
>
> i686-w64-mingw32.shared-gcc -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -I.
> -I/home/m/build-gettext-windows/shared-32/source/gettext-0.20-rc1/gettext-tools/gnulib-tests
> -I.. -DIN_GETTEXT_TOOLS_GNULIB_TESTS=1 -I.
> -I/home/m/build-gettext-windows/shared-32/source/gettext-0.20-rc1/gettext-tools/gnulib-tests
> -I..
> -I/home/m/build-gettext-windows/shared-32/source/gettext-0.20-rc1/gettext-tools/gnulib-tests/..
> -I../gnulib-lib
> -I/home/m/build-gettext-windows/shared-32/source/gettext-0.20-rc1/gettext-tools/gnulib-tests/../gnulib-lib
> -I../intl -I/home/m/build-gettext-windows/shared-32/compiled/gettext/include
> -g -O2 -c -o pthread_sigmask.o
> /home/m/build-gettext-windows/shared-32/source/gettext-0.20-rc1/gettext-tools/gnulib-tests/pthread_sigmask.c
> In file included from
> /home/m/mxe/usr/i686-w64-mingw32.shared/include/signal.h:10:0,
> from ../gnulib-lib/signal.h:52,
> from
> /home/m/build-gettext-windows/shared-32/source/gettext-0.20-rc1/gettext-tools/gnulib-tests/pthread_sigmask.c:20:
> /home/m/build-gettext-windows/shared-32/source/gettext-0.20-rc1/gettext-tools/gnulib-tests/pthread_sigmask.c:34:1:
> error: expected identifier or '(' before numeric constant
> pthread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask)
> ^
> Makefile:5287: recipe for target 'pthread_sigmask.o' failed
This has recently been discussed on the gnulib list:
https://lists.gnu.org/archive/html/bug-gnulib/2019-04/msg00028.html
https://lists.gnu.org/archive/html/bug-gnulib/2019-04/msg00029.html
https://lists.gnu.org/archive/html/bug-gnulib/2019-04/msg00035.html
But no fix was provided. If you are in a position to provide a solid fix,
it will be welcome.
Bruno