Sungsoo Kim
2006-Mar-03 15:20 UTC
[Xapian-devel] xapian-0.9.4 queryparser build errors after applying utf-8 patch
I have encountered the following build errors after applying
xapian-qp-utf8-0.9.2.patch.
There is no build error before the patch.
- CentOS 4.2 64 bit version (RHEL 4.0.2 compatible)
- AMD Opteron dual processor
Can anybody tell me what I am missing?
Thanks!
Sungsoo Kim
--------------------------------------------------
[root at saturn queryparser]# make
make all-am
make[1]: Entering directory
`/usr/src/redhat/BUILD/xapian-core-0.9.4/queryparser'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../include -I../common -I../api -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wall -W -Wredundant-decls -Wundef -Wpointer-arith
-Wcast-qual -Wcast-align -Wno-multichar -Wno-long-long -fno-gnu-keywords -O2 -g
-pipe -m64 -MT queryparser_internal.lo -MD -MP -MF
".deps/queryparser_internal.Tpo" -c -o queryparser_internal.lo
queryparser_internal.cc; \
then mv -f ".deps/queryparser_internal.Tpo"
".deps/queryparser_internal.Plo"; else rm -f
".deps/queryparser_internal.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../common -I../api
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -Wredundant-decls
-Wundef -Wpointer-arith -Wcast-qual -Wcast-align -Wno-multichar -Wno-long-long
-fno-gnu-keywords -O2 -g -pipe -m64 -MT queryparser_internal.lo -MD -MP -MF
.deps/queryparser_internal.Tpo -c queryparser_internal.cc -fPIC -DPIC -o
.libs/queryparser_internal.o
In file included from /usr/include/glib-2.0/glib/gquark.h:30,
from /usr/include/glib-2.0/glib/gerror.h:24,
from /usr/include/glib-2.0/glib/gunicode.h:25,
from accentnormalisingitor.h:22,
from
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:24:
/usr/include/glib-2.0/glib/gtypes.h:30:24: glibconfig.h: No such file or
directory
In file included from /usr/include/glib-2.0/glib/gquark.h:30,
from /usr/include/glib-2.0/glib/gerror.h:24,
from /usr/include/glib-2.0/glib/gunicode.h:25,
from accentnormalisingitor.h:22,
from
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:24:
/usr/include/glib-2.0/glib/gtypes.h:41: error: expected constructor, destructor,
or type conversion before "typedef"
/usr/include/glib-2.0/glib/gtypes.h:41: error: expected `,' or `;'
before "typedef"
/usr/include/glib-2.0/glib/gtypes.h:341:5: warning: "G_BYTE_ORDER" is
not defined
/usr/include/glib-2.0/glib/gtypes.h:361:7: warning: "G_BYTE_ORDER" is
not defined
/usr/include/glib-2.0/glib/gtypes.h:382:2: #error unknown ENDIAN type
In file included from /usr/include/glib-2.0/glib/gerror.h:24,
from /usr/include/glib-2.0/glib/gunicode.h:25,
from accentnormalisingitor.h:22,
from
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:24:
/usr/include/glib-2.0/glib/gtypes.h:393: error: `G_END_DECLS' does not name
a type
/usr/include/glib-2.0/glib/gquark.h:38: error: `GQuark' does not name a type
/usr/include/glib-2.0/glib/gquark.h:39: error: `GQuark' does not name a type
/usr/include/glib-2.0/glib/gquark.h:40: error: `GQuark' does not name a type
/usr/include/glib-2.0/glib/gquark.h:41: error: `G_CONST_RETURN' does not
name a type
In file included from /usr/include/glib-2.0/glib/gunicode.h:25,
from accentnormalisingitor.h:22,
from
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:24:
/usr/include/glib-2.0/glib/gquark.h:43: error: `G_END_DECLS' does not name a
type
/usr/include/glib-2.0/glib/gerror.h:32: error: `GQuark' does not name a type
/usr/include/glib-2.0/glib/gerror.h:34: error: ISO C++ forbids declaration of
`gchar' with no type
/usr/include/glib-2.0/glib/gerror.h:34: error: expected `;' before
'*' token
/usr/include/glib-2.0/glib/gerror.h:37: error: expected constructor, destructor,
or type conversion before '*' token
/usr/include/glib-2.0/glib/gerror.h:37: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gerror.h:42: error: expected constructor, destructor,
or type conversion before '*' token
/usr/include/glib-2.0/glib/gerror.h:42: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gerror.h:46: error: variable or field
`g_error_free' declared void
/usr/include/glib-2.0/glib/gerror.h:46: error: `GError' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:46: error: `error' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:47: error: expected constructor, destructor,
or type conversion before '*' token
/usr/include/glib-2.0/glib/gerror.h:47: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gerror.h:49: error: expected `,' or `...'
before '*' token
/usr/include/glib-2.0/glib/gerror.h:51: error: ISO C++ forbids declaration of
`GError' with no type
/usr/include/glib-2.0/glib/gerror.h:56: error: variable or field
`g_set_error' declared void
/usr/include/glib-2.0/glib/gerror.h:56: error: `GError' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:56: error: `err' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:57: error: `GQuark' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:58: error: expected primary-expression
before "code"
/usr/include/glib-2.0/glib/gerror.h:59: error: expected primary-expression
before "const"
/usr/include/glib-2.0/glib/gerror.h:60: error: expected primary-expression
before '...' token
/usr/include/glib-2.0/glib/gerror.h:60: error: initializer expression list
treated as compound expression
/usr/include/glib-2.0/glib/gerror.h:60: error: expected `,' or `;'
before "G_GNUC_PRINTF"
/usr/include/glib-2.0/glib/gerror.h:64: error: variable or field
`g_propagate_error' declared void
/usr/include/glib-2.0/glib/gerror.h:64: error: `GError' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:64: error: `dest' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:65: error: `GError' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:65: error: `src' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:65: error: initializer expression list
treated as compound expression
/usr/include/glib-2.0/glib/gerror.h:68: error: variable or field
`g_clear_error' declared void
/usr/include/glib-2.0/glib/gerror.h:68: error: `GError' was not declared in
this scope
/usr/include/glib-2.0/glib/gerror.h:68: error: `err' was not declared in
this scope
In file included from accentnormalisingitor.h:22,
from
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:24:
/usr/include/glib-2.0/glib/gerror.h:71: error: `G_END_DECLS' does not name a
type
/usr/include/glib-2.0/glib/gunicode.h:31: error: `guint16' does not name a
type
/usr/include/glib-2.0/glib/gunicode.h:114: error: `G_CONST_RETURN' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:118: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:118: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:119: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:119: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:120: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:120: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:121: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:121: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:122: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:122: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:123: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:123: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:124: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:124: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:125: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:125: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:126: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:126: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:127: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:127: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:128: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:128: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:129: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:129: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:130: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:130: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:131: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:131: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:135: error: `gunichar' does not name a
type
/usr/include/glib-2.0/glib/gunicode.h:136: error: `gunichar' does not name a
type
/usr/include/glib-2.0/glib/gunicode.h:137: error: `gunichar' does not name a
type
/usr/include/glib-2.0/glib/gunicode.h:141: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:141: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:143: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:143: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:146: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:146: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:149: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:149: error: expected `,' or `;'
before "G_GNUC_CONST"
/usr/include/glib-2.0/glib/gunicode.h:155: error: variable or field
`g_unicode_canonical_ordering' declared void
/usr/include/glib-2.0/glib/gunicode.h:155: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:155: error: `string' was not declared
in this scope
/usr/include/glib-2.0/glib/gunicode.h:156: error: `gsize' was not declared
in this scope
/usr/include/glib-2.0/glib/gunicode.h:156: error: initializer expression list
treated as compound expression
/usr/include/glib-2.0/glib/gunicode.h:161: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:161: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:166: error: expected init-declarator
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:166: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:170: error: `gunichar' does not name a
type
/usr/include/glib-2.0/glib/gunicode.h:171: error: `gunichar' does not name a
type
/usr/include/glib-2.0/glib/gunicode.h:174: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:174: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:176: error: expected `,' or `...'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:177: error: ISO C++ forbids declaration of
`gchar' with no type
/usr/include/glib-2.0/glib/gunicode.h:178: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:178: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:179: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:179: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:181: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:181: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:184: error: expected `,' or `...'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:185: error: ISO C++ forbids declaration of
`gchar' with no type
/usr/include/glib-2.0/glib/gunicode.h:188: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:188: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:194: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:194: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:197: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:197: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:200: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:200: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:203: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:203: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:208: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:208: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:213: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:213: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:216: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:216: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:221: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:221: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:226: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:226: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:231: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:231: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:241: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:242: error: `gchar' was not declared
in this scope
/usr/include/glib-2.0/glib/gunicode.h:242: error: `outbuf' was not declared
in this scope
/usr/include/glib-2.0/glib/gunicode.h:242: error: initializer expression list
treated as compound expression
/usr/include/glib-2.0/glib/gunicode.h:248: error: expected `,' or `...'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:250: error: ISO C++ forbids declaration of
`gchar' with no type
/usr/include/glib-2.0/glib/gunicode.h:253: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:255: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:255: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:257: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:257: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:259: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:259: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:273: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:273: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:277: error: expected `,' or `...'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:278: error: ISO C++ forbids declaration of
`gchar' with no type
/usr/include/glib-2.0/glib/gunicode.h:279: error: expected constructor,
destructor, or type conversion before '*' token
/usr/include/glib-2.0/glib/gunicode.h:279: error: expected `,' or `;'
before '*' token
/usr/include/glib-2.0/glib/gunicode.h:282: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:283: error: `gunichar' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:283: error: `mirrored_ch' was not
declared in this scope
/usr/include/glib-2.0/glib/gunicode.h:283: error: initializer expression list
treated as compound expression
In file included from
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/string:45,
from accentnormalisingitor.h:24,
from
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:24:
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/x86_64-redhat-linux/bits/c++config.h:57:
error: expected constructor, destructor, or type conversion before
"namespace"
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/x86_64-redhat-linux/bits/c++config.h:57:
error: expected `,' or `;' before "namespace"
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/x86_64-redhat-linux/bits/c++config.h:61:
error: expected namespace-name before ';' token
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/x86_64-redhat-linux/bits/c++config.h:61:
error: `<type error>' is not a namespace
In file included from
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:24:
accentnormalisingitor.h:29: error: `gunichar' does not name a type
accentnormalisingitor.h:36: error: `char_type' does not name a type
accentnormalisingitor.h:38: error: expected `)' before "ch_"
accentnormalisingitor.h:39: error: ISO C++ forbids declaration of
`char_type' with no type
accentnormalisingitor.h:39: error: expected `;' before "operator"
accentnormalisingitor.h:40: error: expected `;' before '}' token
accentnormalisingitor.h:44: error: ISO C++ forbids declaration of `gchar'
with no type
accentnormalisingitor.h:44: error: expected `;' before '*' token
accentnormalisingitor.h:45: error: ISO C++ forbids declaration of `gchar'
with no type
accentnormalisingitor.h:45: error: expected `;' before '*' token
accentnormalisingitor.h:47: error: `char_type' does not name a type
accentnormalisingitor.h:72: error: ISO C++ forbids declaration of
`char_type' with no type
accentnormalisingitor.h:72: error: expected `;' before "operator"
accentnormalisingitor.h:75: error: expected `;' before
"AccentNormalisingItor"
accentnormalisingitor.h: In constructor
`AccentNormalisingItor::AccentNormalisingItor()':
accentnormalisingitor.h:52: error: class `AccentNormalisingItor' does not
have any field named `itor'
accentnormalisingitor.h:52: error: class `AccentNormalisingItor' does not
have any field named `queued'
accentnormalisingitor.h: In constructor
`AccentNormalisingItor::AccentNormalisingItor(const char*)':
accentnormalisingitor.h:54: error: class `AccentNormalisingItor' does not
have any field named `itor'
accentnormalisingitor.h:54: error: class `AccentNormalisingItor' does not
have any field named `end'
accentnormalisingitor.h:54: error: class `AccentNormalisingItor' does not
have any field named `queued'
accentnormalisingitor.h: In constructor
`AccentNormalisingItor::AccentNormalisingItor(const char*, const char*)':
accentnormalisingitor.h:56: error: class `AccentNormalisingItor' does not
have any field named `itor'
accentnormalisingitor.h:56: error: class `AccentNormalisingItor' does not
have any field named `end'
accentnormalisingitor.h:56: error: class `AccentNormalisingItor' does not
have any field named `queued'
accentnormalisingitor.h: In member function `bool
AccentNormalisingItor::operator==(const AccentNormalisingItor&) const':
accentnormalisingitor.h:67: error: `queued' undeclared (first use this
function)
accentnormalisingitor.h:67: error: (Each undeclared identifier is reported only
once for each function it appears in.)
accentnormalisingitor.h:67: error: 'const class AccentNormalisingItor'
has no member named 'queued'
accentnormalisingitor.h:67: error: `itor' undeclared (first use this
function)
accentnormalisingitor.h:67: error: 'const class AccentNormalisingItor'
has no member named 'itor'
accentnormalisingitor.h: In member function `AccentNormalisingItor&
AccentNormalisingItor::operator++()':
accentnormalisingitor.h:76: error: `g_utf8_skip' undeclared (first use this
function)
accentnormalisingitor.h:76: error: `itor' undeclared (first use this
function)
accentnormalisingitor.h:77: error: `end' undeclared (first use this
function)
accentnormalisingitor.h: In member function `CharWrapper
AccentNormalisingItor::operator++(int)':
accentnormalisingitor.h:85: error: `char_type' undeclared (first use this
function)
accentnormalisingitor.h:85: error: expected `;' before "tmp"
accentnormalisingitor.h:87: error: `tmp' undeclared (first use this
function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:
At global scope:
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:40:
error: `U_isupper' declared as an `inline' variable
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:40:
error: `gunichar' was not declared in this scope
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:40:
error: expected `,' or `;' before '{' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:45:
error: `U_isspace' declared as an `inline' variable
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:45:
error: `gunichar' was not declared in this scope
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:45:
error: expected `,' or `;' before '{' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:50:
error: `U_isnotspace' declared as an `inline' variable
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:50:
error: `gunichar' was not declared in this scope
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:50:
error: expected `,' or `;' before '{' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:55:
error: `U_isalnum' declared as an `inline' variable
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:55:
error: `gunichar' was not declared in this scope
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:55:
error: expected `,' or `;' before '{' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:60:
error: `U_isnotalnum' declared as an `inline' variable
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:60:
error: `gunichar' was not declared in this scope
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:60:
error: expected `,' or `;' before '{' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:65:
error: `U_issign' declared as an `inline' variable
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:65:
error: `gunichar' was not declared in this scope
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:65:
error: expected `,' or `;' before '{' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:70:
error: `G_unichar_isnotalnum' declared as an `inline' variable
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:70:
error: `gunichar' was not declared in this scope
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:70:
error: expected `,' or `;' before '{' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:
In function `std::string downcase_term(const std::string&)':
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:161:
error: `gchar' undeclared (first use this function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:161:
error: `r' undeclared (first use this function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:162:
error: ISO C++ forbids declaration of `type name' with no type
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:162:
error: expected `>' before "gchar"
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:162:
error: expected `(' before "gchar"
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:162:
error: expected primary-expression before '>' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:
At global scope:
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:170:
error: `is_phrase_generator' declared as an `inline' variable
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:170:
error: `gunichar' was not declared in this scope
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:171:
error: expected `,' or `;' before '{' token
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:179:
error: `gunichar' has not been declared
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:180:
error: ISO C++ forbids declaration of `ch' with no type
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:
In function `bool prefix_needs_colon(const std::string&, int)':
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:181:
error: `U_isupper' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:
In member function `Xapian::Query
Xapian::QueryParser::Internal::parse_query(const std::string&, unsigned
int)':
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:194:
error: `gchar' undeclared (first use this function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:194:
error: expected `;' before "ubuf"
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:210:
error: `gunichar' undeclared (first use this function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:210:
error: expected `;' before "newprev"
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:213:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:213:
error: `U_isspace' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:214:
error: `newprev' undeclared (first use this function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:220:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:220:
error: `g_unichar_isalnum' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:221:
error: expected `;' before "prev"
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:222:
error: expected `;' before "ch"
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:223:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:224:
error: `ch' undeclared (first use this function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:235:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:239:
error: no match for 'operator*' in
'*(&it)->AccentNormalisingItor::operator++(0)'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:256:
error: `prev' undeclared (first use this function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:260:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:260:
error: `U_isspace' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:260:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:260:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:264:
error: no match for 'operator*' in
'*(&it)->AccentNormalisingItor::operator++(0)'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:280:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:282:
error: no match for 'operator*' in
'*(&it)->AccentNormalisingItor::operator++(0)'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:309:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:310:
error: expected `;' before "ch"
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:311:
error: `g_unichar_isalnum' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:316:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:317:
error: `ubuf' undeclared (first use this function)
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:317:
error: no match for 'operator*' in
'*(&p)->AccentNormalisingItor::operator++(0)'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:317:
error: `g_unichar_to_utf8' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:323:
error: `g_unichar_isalnum' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:326:
error: `g_unichar_isalnum' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:342:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:344:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:344:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:345:
error: no match for 'operator*' in
'*(&it)->AccentNormalisingItor::operator++(0)'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:345:
error: `g_unichar_to_utf8' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:361:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:361:
error: `U_isupper' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:365:
error: no match for 'operator*' in
'*(&p)->AccentNormalisingItor::operator++(0)'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:365:
error: `g_unichar_to_utf8' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:366:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:366:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:366:
error: `U_isupper' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:372:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:372:
error: `g_unichar_isalnum' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:382:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:382:
error: `g_unichar_isalnum' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:385:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:388:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:388:
error: `g_unichar_isalnum' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:390:
error: no match for 'operator*' in
'*(&it)->AccentNormalisingItor::operator++(0)'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:390:
error: `g_unichar_to_utf8' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:392:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:392:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:392:
error: `U_issign' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:395:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:398:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:408:
error: no match for 'operator*' in
'*(&p)->AccentNormalisingItor::operator++(0)'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:408:
error: `g_unichar_to_utf8' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:409:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:409:
error: `U_issign' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:411:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:411:
error: `g_unichar_isalnum' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:428:
error: `U_isupper' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:471:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:478:
error: no match for 'operator*' in '*p'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:478:
error: `U_isspace' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:484:
error: `U_isupper' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:494:
error: `U_isupper' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:516:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:518:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:532:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:532:
error: `is_phrase_generator' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:536:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:536:
error: `is_phrase_generator' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:539:
error: no match for 'operator*' in '*it'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:539:
error: `g_unichar_isalnum' cannot be used as a function
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/bits/stl_algo.h:
In function `_InputIterator std::find_if(_InputIterator, _InputIterator,
_Predicate, std::input_iterator_tag) [with _InputIterator =
AccentNormalisingItor, _Predicate = bool]':
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/bits/stl_algo.h:336:
instantiated from `_InputIterator std::find_if(_InputIterator, _InputIterator,
_Predicate) [with _InputIterator = AccentNormalisingItor, _Predicate =
bool]'
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:216:
instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/bits/stl_algo.h:187:
error: no match for 'operator*' in '*__first'
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++/3.4.4/bits/stl_algo.h:187:
error: `__pred' cannot be used as a function
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:
At global scope:
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:55:
warning: 'U_isalnum' defined but not used
/u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:60:
warning: 'U_isnotalnum' defined but not used
make[1]: *** [queryparser_internal.lo] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/xapian-core-0.9.4/queryparser'
make: *** [all] Error 2
Maybe Matching Threads
- build error : xapian-core-0.9.4_svn6707 with UTF-8 patch
- Ruuid had non-zero exit status (PR#8965)
- [PATCH] Add set_max_wildcard_expansion method to the queryparser.
- hypens in words + NEAR + 3 terms + AND_MAYBE => crash
- Xapian core build failure under gcc 2.95