[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gettext 0.17 build problem with libcroco
From: |
Paul Eggert |
Subject: |
gettext 0.17 build problem with libcroco |
Date: |
Wed, 07 Nov 2007 15:48:09 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
I get the following build failure on Solaris 10 (sparc) with GCC 4.2.2:
/bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl
-I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
-DLIBXML_STATIC -I../intl -I./libcroco -D_REENTRANT -g -O2 -c -o
term-styled-ostream.lo term-styled-ostream.c
gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\"
-DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1
-DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -D_REENTRANT -g
-O2 -c term-styled-ostream.c -fPIC -DPIC -o .libs/term-styled-ostream.o
In file included from ./libcroco/cr-input.h:29,
from ./libcroco/cr-parser.h:28,
from ./libcroco/cr-om-parser.h:31,
from term-styled-ostream.oo.c:25:
./libcroco/cr-utils.h:43: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'enum'
...
make[4]: *** [term-styled-ostream.lo] Error 1
make[4]: Leaving directory
`/var/run/rpc_door/eggert/gettext-0.17/gettext-tools/gnulib-lib'
It appears that the code depends on having something like this in an include
file somewhere:
#ifdef __cplusplus
# define G_BEGIN_DECLS extern "C" {
# define G_END_DECLS }
#else
# define G_BEGIN_DECLS
# define G_END_DECLS
#endif
But there isn't any include file like that.
gnulib-local/lib/glibconfig.in.h and
gettext-tools/gnulib-lib/glibconfig.in.h are templates for that sort
of thing, but at the point of that compilation they haven't been
turned into .h files yet, and they aren't being included either.
For reference, I attach the complete output of "configure" and "make".
log
Description: log of \"configure\" and \"make\" on Solaris 10 with GCC 4.2.2
- gettext 0.17 build problem with libcroco,
Paul Eggert <=