bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] [gettext-0.18.1.1+2012-01-26] : generation failure because


From: Urbain EGIS
Subject: [bug-gettext] [gettext-0.18.1.1+2012-01-26] : generation failure because of undeclared 'uintmax_t' ...
Date: Tue, 8 Oct 2013 11:17:23 +0200

Hi All.

I have recently setup Gstreamer-SDK and started 'Cerbero bootstrap' as a command. However, for some, build comes to fail this way :

address@hidden /usr/home/urbain.egis/cerbero/sources/build-tools/gettext-0.18.1.1+2012-01-26/gettext-runtime/intl
$ i686-w64-mingw32-gcc -c -DLOCALEDIR=\"/C/MinGW/msys/1.0/home/urbain.egis/cerbero/build-tools/share/locale\" -DL
OCALE_ALIAS_PATH=\"/C/MinGW/msys/1.0/home/urbain.egis/cerbero/build-tools/share/locale\" -DLIBDIR=\"/C/MinGW/msys/1.0/home/urbain.egis/ce
rbero/build-tools/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/C/MinG
W/msys/1.0/home/urbain.egis/cerbero/build-tools/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=l
ibintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -DWINVER=0x0501 -fvisibility=hidden ./loadmsgca
t.c  -DDLL_EXPORT -DPIC -o .libs/loadmsgcat.o
./loadmsgcat.c: In function 'get_sysdep_segment_value':
./loadmsgcat.c:733:10: error: 'uintmax_t' undeclared (first use in this function)
./loadmsgcat.c:733:10: note: each undeclared identifier is reported only once for each function it appears in

Looking at the source code of loadmsgcat.c :

#if defined HAVE_INTTYPES_H || defined _LIBC
# include <inttypes.h>    //'uintmax_t' has been declared there
#endif

I'd like to know the reason why <inttypes.h> is not included by compilation. 
Probably because HAVE_INTTYPES_H has been undefined soemwhere else. 
But Where ? And what for ? A question of environment ? Which one...

Thank in advance. 
Best Regards.

Egis

PS : I could force       # include <inttypes.h>   regardless of condtional HAVE_INTTYPES_H and get further ut it's not proper nor safe.

reply via email to

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