This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
gettext compilation error (1)
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: gettext compilation error (1)
- From: Bruno Haible <haible at ilog dot fr>
- Date: Tue, 25 Apr 2000 13:49:00 +0200 (MET DST)
Hi Ulrich,
Trying to compile glibc's intl package outside glibc.
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../../intl -I../../lib -g -O2 ../../intl/bindtextdom.c
In file included from ../../intl/gettextP.h:31,
from ../../intl/bindtextdom.c:48:
../../intl/loadinfo.h:93: parse error before `internal_function'
../../intl/loadinfo.h:93: warning: data definition has no type or storage class
Can you please apply the patch below.
2000-04-23 Bruno Haible <clisp.cons.org>
* intl/loadinfo.h (internal_function): Define if not already defined.
*** intl/loadinfo.h.bak Mon Jan 24 14:24:28 2000
--- intl/loadinfo.h Sun Apr 23 18:01:14 2000
***************
*** 28,33 ****
--- 28,37 ----
# endif
#endif
+ #ifndef internal_function
+ # define internal_function
+ #endif
+
/* Encoding of locale name parts. */
#define CEN_REVISION 1
#define CEN_SPONSOR 2