Last active
September 20, 2018 13:01
-
-
Save tosik/0a921e16a6163b4bb777f4fe670c1ad7 to your computer and use it in GitHub Desktop.
gettext windows compilation error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -O http://public.p-knowledge.co.jp/gnu/gettext/gettext-0.19.8.1.tar.gz | |
tar -zxvf gettext-0.19.8.1.tar.gz | |
(cd gettext-0.19.8.1 && ./configure && make && make install) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-09-20T12:27:21.0932779Z libtool: compile: gcc -c -DLOCALEDIR=/usr/local/share/locale -DLOCALE_ALIAS_PATH=/usr/local/share/locale -DLIBDIR=/usr/local/lib -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=/usr/local/lib -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -fvisibility=hidden ./localealias.c -DDLL_EXPORT -DPIC -o .libs/localealias.o | |
2018-09-20T12:27:21.1509590Z ./localealias.c: In function '_nl_expand_alias': | |
2018-09-20T12:27:21.1513543Z <command-line>:0:19: error: 'C' undeclared (first use in this function) | |
2018-09-20T12:27:21.1513798Z ./localealias.c:166:25: note: in expansion of macro 'LOCALE_ALIAS_PATH' | |
2018-09-20T12:27:21.1514047Z locale_alias_path = LOCALE_ALIAS_PATH; | |
2018-09-20T12:27:21.1514256Z ^ | |
2018-09-20T12:27:21.1514557Z <command-line>:0:19: note: each undeclared identifier is reported only once for each function it appears in | |
2018-09-20T12:27:21.1515007Z ./localealias.c:166:25: note: in expansion of macro 'LOCALE_ALIAS_PATH' | |
2018-09-20T12:27:21.1515229Z locale_alias_path = LOCALE_ALIAS_PATH; | |
2018-09-20T12:27:21.1515426Z ^ | |
2018-09-20T12:27:21.1515628Z <command-line>:0:20: error: expected ';' before ':' token | |
2018-09-20T12:27:21.1515840Z ./localealias.c:166:25: note: in expansion of macro 'LOCALE_ALIAS_PATH' | |
2018-09-20T12:27:21.1516040Z locale_alias_path = LOCALE_ALIAS_PATH; | |
2018-09-20T12:27:21.1516238Z ^ | |
2018-09-20T12:27:21.1654604Z Makefile:269: recipe for target 'localealias.lo' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-DLOCALE_ALIAS_PATH=/usr/local/share/locale
が windows で
C
になってる?よくわからない。