bug-gettext
[Top][All Lists]
Advanced

[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: Michele Locati
Subject: Re: [bug-gettext] Can't compile on Windows: multiple definition of relocate2
Date: Mon, 29 Apr 2019 15:56:54 +0200

Thank you, Bruno: compiling with libiconv 1.15 and with the
5a652b9e4d357d12ab7e85fd041064dbda626413 commit did the trick.

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

You can find the full build log at https://pastebin.com/PegJ9ntH

--
Michele

Il giorno ven 26 apr 2019 alle ore 21:48 Bruno Haible
<address@hidden> ha scritto:
>
> Hi Michele,
>
> > /home/m/build-gettext-windows/static-32/compiled/gettext/lib/libiconv.a(relocatable.o):
> > In function `relocate2':
> > /home/m/build-gettext-windows/static-32/source/libiconv-1.15/lib/relocatable.c:583:
> > multiple definition of `relocate2'
>
> libiconv.a should not export the symbol 'relocate2'. Probably you are using a
> libiconv 1.15, reconfigured with a more recent gnulib.
>
> Instead, please use libiconv 1.16. It fixes this problem.
>
> > /home/m/build-gettext-windows/static-32/configured/gettext-0.20-rc1/gettext-tools/intl/.libs/libintl.a(relocatable.o):
> > In function `relocate2':
> > /home/m/build-gettext-windows/static-32/source/gettext-0.20-rc1/gettext-tools/../gettext-runtime/intl/relocatable.c:582:
> > multiple definition of `relocate2'
>
> libintl.a should not export the symbol 'relocate2' either. This is now fixed
> through
> https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=5a652b9e4d357d12ab7e85fd041064dbda626413
>
> Thanks for the report.
>
> Bruno
>
>



reply via email to

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