bug-gnu-utils
[Top][All Lists]
Advanced

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

gettext HAVE_INTMAX_T issue on NetBSD 1.5


From: Hauke Fath
Subject: gettext HAVE_INTMAX_T issue on NetBSD 1.5
Date: Sun, 6 Feb 2011 18:28:48 +0100
User-agent: Eudora Light 3.1.3 (Macintosh)

All,

trying to build gettext 0.18.1.1 on NetBSD 1.5, I tripped over

<snip>
[...]
/bin/ksh ../libtool  --tag=CC --mode=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  ./printf.c
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 ./printf.c  -fPIC -DPIC -o .libs/printf.o
printf-parse.c: In function `printf_parse':
In file included from ./printf.c:85:
printf-parse.c:353: `intmax_t' undeclared (first use in this function)
printf-parse.c:353: (Each undeclared identifier is reported only once
printf-parse.c:353: for each function it appears in.)
*** Error code 1

Stop.
bmake: stopped in
/amd/pizza/home/hauke/src/m68k-gettext/nbsd15-m68k-gettext-0.18.1.1/gettext-runt
ime/intl
*** Error code 1
</snip>

-- the configure scripts sets

./gettext-tools/config.h:702:/* #undef HAVE_INTMAX_T */

correctly, but gettext-runtime/intl/printf-parse.c:353 ff. uses intmax_t
without making sure it is available.

Any quick workaround?

        hauke


--
"It's never straight up and down"     (DEVO)





reply via email to

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