bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] Compile fails under msys2


From: Daniel Kasak
Subject: [bug-gettext] Compile fails under msys2
Date: Tue, 20 Dec 2016 16:02:08 +1100

Hi all. Firstly, apologies if I have the wrong list - this is the only
gettext -related list I could find.

I'm attempting to build under windows, using msys2. I need to build an
entire stack ( gtk+ and some extra stuff ). I haven't gotten very far
yet :/

With gettext-0.19.8 I get:

libtool: link: g++ -D__STDC_LIMIT_MACROS -g -O2
-Wl,--disable-auto-import -o .libs/xgettext.exe
../woe32dll/xgettext-c++xgettext.o xgettext-x$
../woe32dll/xgettext-c++xgettext.o: In function `main':
C:\gtk-windows-nov-2016\source\gettext-0.19.8\gettext-tools\src/../woe32dll/../src/xgettext.c:656:
undefined reference to `__imp_sentence_end$
C:\gtk-windows-nov-2016\source\gettext-0.19.8\gettext-tools\src/../woe32dll/../src/xgettext.c:658:
undefined reference to `__imp_sentence_end$
collect2.exe: error: ld returned 1 exit status
make[5]: *** [Makefile:2808: xgettext.exe] Error 1
make[5]: Leaving directory
'/c/gtk-windows-nov-2016/source/gettext-0.19.8/gettext-tools/src'
make[4]: *** [Makefile:2556: all] Error 2
make[4]: Leaving directory
'/c/gtk-windows-nov-2016/source/gettext-0.19.8/gettext-tools/src'
make[3]: *** [Makefile:2026: all-recursive] Error 1
make[3]: Leaving directory
'/c/gtk-windows-nov-2016/source/gettext-0.19.8/gettext-tools'
make[2]: *** [Makefile:1892: all] Error 2
make[2]: Leaving directory
'/c/gtk-windows-nov-2016/source/gettext-0.19.8/gettext-tools'
make[1]: *** [Makefile:413: all-recursive] Error 1
make[1]: Leaving directory '/c/gtk-windows-nov-2016/source/gettext-0.19.8'
make: *** [Makefile:369: all] Error 2

---

With gettext-0.19.2 ( which I was previously able to build under msys
... ie not* msys2 ), I get:

libtool: link: g++ -D__STDC_LIMIT_MACROS -g -O2
-Wl,--disable-auto-import -o .libs/msguniq.exe
../woe32dll/msguniq-c++msguniq.o gettext.res  $
gcc -DLOCALEDIR=\"/c/Strawberry/c/share/locale\"
-DBISON_LOCALEDIR=\"\"
-DLOCALE_ALIAS_PATH=\"/c/Strawberry/c/share/locale\" -DUSEJAVA=0 -DUS$
gcc -DLOCALEDIR=\"/c/Strawberry/c/share/locale\"
-DBISON_LOCALEDIR=\"\"
-DLOCALE_ALIAS_PATH=\"/c/Strawberry/c/share/locale\" -DUSEJAVA=0 -DUS$
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2
-Wl,--disable-auto-import -o recode-sr-latin.exe
recode_sr_latin-recode-sr-latin.o re$
libtool: link: gcc -g -O2 -Wl,--disable-auto-import -o
.libs/recode-sr-latin.exe recode_sr_latin-recode-sr-latin.o
recode_sr_latin-filter-sr-$
collect2.exe: error: ld returned 5 exit status
make[5]: *** [Makefile:2464: recode-sr-latin.exe] Error 1
make[5]: Leaving directory
'/c/gtk-windows-nov-2016/source/gettext-0.19.2/gettext-tools/src'
make[4]: *** [Makefile:2225: all] Error 2
make[4]: Leaving directory
'/c/gtk-windows-nov-2016/source/gettext-0.19.2/gettext-tools/src'
make[3]: *** [Makefile:1716: all-recursive] Error 1
make[3]: Leaving directory
'/c/gtk-windows-nov-2016/source/gettext-0.19.2/gettext-tools'
make[2]: *** [Makefile:1581: all] Error 2
make[2]: Leaving directory
'/c/gtk-windows-nov-2016/source/gettext-0.19.2/gettext-tools'
make[1]: *** [Makefile:368: all-recursive] Error 1
make[1]: Leaving directory '/c/gtk-windows-nov-2016/source/gettext-0.19.2'
make: *** [Makefile:323: all] Error 2

---

I'm trying msys2 instead of msys because apparently some include files
were changed in mingw that broke compiling of a bunch of libs ( most
of which I need ).

Any ideas?

Dan



reply via email to

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