I downloaded OOO320_m19 and am trying to build it, for X86, on Ubuntu 9.04.
I am using a very simple configuration
./configure --enable-symbols --enable-debug --disable-mozilla
The build fails compiling ICU. A sample of the errors is below.
GCC version is 4.2.4.
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from CoverageTables.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for ContextualSubstSubtables.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from ContextualSubstSubtables.cpp:6:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for ClassDefinitionTables.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from ClassDefinitionTables.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for CanonShaping.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from CanonShaping.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for CanonData.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from CanonData.cpp:11:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for ArabicShaping.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from ArabicShaping.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for AnchorTables.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from AnchorTables.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for AlternateSubstSubtables.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from AlternateSubstSubtables.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for TrimmedArrayProcessor.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from TrimmedArrayProcessor.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for SubtableProcessor.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from SubtableProcessor.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for StateTableProcessor.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from StateTableProcessor.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for SingleTableProcessor.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from SingleTableProcessor.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for SimpleArrayProcessor.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from SimpleArrayProcessor.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for SegmentSingleProcessor.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from SegmentSingleProcessor.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for SegmentArrayProcessor.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from SegmentArrayProcessor.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for NonContextualGlyphSubstProc.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from NonContextualGlyphSubstProc.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for MorphTables.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from MorphTables.cpp:9:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for LookupTables.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LookupTables.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for LigatureSubstProc.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LigatureSubstProc.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for IndicRearrangementProcessor.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from IndicRearrangementProcessor.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for ContextualGlyphSubstProc.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from ContextualGlyphSubstProc.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for LayoutEngine.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LayoutEngine.cpp:8:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
In file included from /usr/include/libio.h:62,
from /usr/include/stdio.h:75,
from KernTable.h:19,
from LayoutEngine.cpp:34:
/usr/include/sys/cdefs.h:46:44: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:50:44: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:135:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:148:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:206:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:215:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:224:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:233:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:245:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:255:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:264:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:272:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:286:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:294:43: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:312:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:321:20: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:326:20: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:333:19: error: missing binary operator before token "("
generating dependency information for IndicLayoutEngine.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from IndicLayoutEngine.cpp:8:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for HanLayoutEngine.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from HanLayoutEngine.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for GXLayoutEngine.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from GXLayoutEngine.cpp:8:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for ArabicLayoutEngine.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from ArabicLayoutEngine.cpp:8:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for ThaiStateTables.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from ThaiStateTables.cpp:11:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for ThaiShaping.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from ThaiShaping.cpp:7:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for ThaiLayoutEngine.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from ThaiLayoutEngine.cpp:8:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
In file included from /usr/include/libio.h:62,
from /usr/include/stdio.h:75,
from KernTable.h:19,
from ThaiLayoutEngine.cpp:14:
/usr/include/sys/cdefs.h:46:44: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:50:44: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:135:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:148:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:206:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:215:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:224:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:233:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:245:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:255:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:264:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:272:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:286:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:294:43: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:312:19: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:321:20: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:326:20: error: missing binary operator before token "("
/usr/include/sys/cdefs.h:333:19: error: missing binary operator before token "("
generating dependency information for OpenTypeLayoutEngine.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from OpenTypeLayoutEngine.cpp:8:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
generating dependency information for LEFontInstance.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LEFontInstance.cpp:14:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
/usr/local/bin/g++ -D_REENTRANT -I. -I./.. -I../common -I./unicode
-DU_LAYOUT_IMPLEMENTATION -O -mtune=pentiumpro -fvisibility=hidden
-c -o LEFontInstance.ao LEFontInstance.cpp
In file included from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LEFontInstance.cpp:14:
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
In file included from ./features.h:16,
from /usr/include/sys/types.h:27,
from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LEFontInstance.cpp:14:
./OpenTypeTables.h:21: error: expected constructor, destructor, or
type conversion before 'typedef'
./OpenTypeTables.h:22: error: 'le_uint8' does not name a type
./OpenTypeTables.h:23: error: 'le_uint32' does not name a type
./OpenTypeTables.h:26: error: 'le_uint32' does not name a type
./OpenTypeTables.h:32: error: 'ATag' does not name a type
./OpenTypeTables.h:33: error: 'Offset' does not name a type
./OpenTypeTables.h:38: error: 'TTGlyphID' does not name a type
./OpenTypeTables.h:39: error: 'TTGlyphID' does not name a type
./OpenTypeTables.h:40: error: 'le_int16' does not name a type
./OpenTypeTables.h:45: error: 'LETag' does not name a type
./OpenTypeTables.h:46: error: 'FeatureMask' does not name a type
./OpenTypeTables.h:49: error: 'U_NAMESPACE_END' does not name a type
In file included from /usr/include/sys/types.h:27,
from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LEFontInstance.cpp:14:
./features.h:28: error: 'Offset' does not name a type
./features.h:29: error: 'le_uint16' does not name a type
./features.h:30: error: 'le_uint16' does not name a type
./features.h:35: error: 'le_uint16' does not name a type
./features.h:36: error: 'FeatureRecord' does not name a type
./features.h:38: error: expected ';' before '(' token
./features.h:40: error: expected ';' before '(' token
./features.h:43: error: 'U_NAMESPACE_END' does not name a type
In file included from /usr/include/sys/types.h:133,
from ../common/unicode/platform.h:89,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LEFontInstance.cpp:14:
/usr/include/time.h:77: error: expected constructor, destructor, or
type conversion before 'typedef'
/usr/include/time.h:93: error: expected constructor, destructor, or
type conversion before 'typedef'
In file included from /usr/include/inttypes.h:28,
from ../common/unicode/platform.h:111,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LEFontInstance.cpp:14:
/usr/include/stdint.h:49: error: expected constructor, destructor, or
type conversion before 'typedef'
In file included from ../common/unicode/platform.h:111,
from ../common/unicode/umachine.h:49,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LEFontInstance.cpp:14:
/usr/include/inttypes.h:288: error: expected constructor, destructor,
or type conversion before 'typedef'
/usr/include/inttypes.h:292: error: expected constructor, destructor,
or type conversion before ';' token
/usr/include/inttypes.h:298: error: expected initializer before '__THROW'
/usr/include/inttypes.h:301: error: 'imaxdiv_t' does not name a type
/usr/include/inttypes.h:306: error: expected initializer before '__THROW'
/usr/include/inttypes.h:310: error: expected initializer before '__THROW'
/usr/include/inttypes.h:315: error: expected initializer before '__THROW'
/usr/include/inttypes.h:320: error: expected initializer before '__THROW'
In file included from ../common/unicode/umachine.h:56,
from ../common/unicode/utypes.h:36,
from LETypes.h:14,
from LEFontInstance.cpp:14:
/usr/lib/gcc/i486-linux-gnu/4.2.4/include/stddef.h:152: error:
expected constructor, destructor, or type conversion before 'typedef'
In file included from ../common/unicode/utf.h:221,
from ../common/unicode/utypes.h:37,
from LETypes.h:14,
from LEFontInstance.cpp:14:
../common/unicode/utf8.h:55: error: 'uint8_t' does not name a type
../common/unicode/utf8.h:76: error: expected ',' or '...' before '*' token
../common/unicode/utf8.h:76: error: ISO C++ forbids declaration of
'uint8_t' with no type
../common/unicode/utf8.h:83: warning: 'utf8_appendCharSafeBody_4_0'
initialized and declared 'extern'
../common/unicode/utf8.h:83: error: 'uint8_t' was not declared in this scope
../common/unicode/utf8.h:83: error: 's' was not declared in this scope
../common/unicode/utf8.h:83: error: expected primary-expression before 'i'
../common/unicode/utf8.h:83: error: expected primary-expression before 'length'
../common/unicode/utf8.h:83: error: expected primary-expression before 'c'
../common/unicode/utf8.h:83: error: expected primary-expression before '*' token
../common/unicode/utf8.h:83: error: 'pIsError' was not declared in this scope
../common/unicode/utf8.h:83: error: initializer expression list
treated as compound expression
../common/unicode/utf8.h:90: error: expected ',' or '...' before '*' token
../common/unicode/utf8.h:90: error: ISO C++ forbids declaration of
'uint8_t' with no type
../common/unicode/utf8.h:97: error: expected ',' or '...' before '*' token
../common/unicode/utf8.h:97: error: ISO C++ forbids declaration of
'uint8_t' with no type
In file included from ../common/unicode/utypes.h:38,
from LETypes.h:14,
from LEFontInstance.cpp:14:
../common/unicode/uversion.h:124: error: 'uint8_t' does not name a type
../common/unicode/uversion.h:206: warning: 'u_versionFromString_4_0'
initialized and declared 'extern'
../common/unicode/uversion.h:206: error: variable or field
'u_versionFromString_4_0' declared void
../common/unicode/uversion.h:206: error: 'UVersionInfo' was not
declared in this scope
../common/unicode/uversion.h:206: error: expected primary-expression
before 'const'
../common/unicode/uversion.h:221: warning: 'u_versionToString_4_0'
initialized and declared 'extern'
../common/unicode/uversion.h:221: error: variable or field
'u_versionToString_4_0' declared void
../common/unicode/uversion.h:221: error: 'UVersionInfo' was not
declared in this scope
../common/unicode/uversion.h:221: error: expected primary-expression
before 'char'
../common/unicode/uversion.h:232: warning: 'u_getVersion_4_0'
initialized and declared 'extern'
../common/unicode/uversion.h:232: error: variable or field
'u_getVersion_4_0' declared void
../common/unicode/uversion.h:232: error: 'UVersionInfo' was not
declared in this scope
In file included from ../common/cmemory.h:28,
from LETypes.h:21,
from LEFontInstance.cpp:14:
/usr/include/string.h:28: error: '__BEGIN_DECLS' does not name a type
In file included from ../common/cmemory.h:28,
from LETypes.h:21,
from LEFontInstance.cpp:14:
/usr/include/string.h:44: error: expected initializer before '__THROW'
/usr/include/string.h:45: error: '__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:63: error: expected initializer before '__THROW'
/usr/include/string.h:67: error: expected initializer before '__THROW'
/usr/include/string.h:68: error: '__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:89: error: expected initializer before '__THROW'
/usr/include/string.h:93: error: expected initializer before '__THROW'
/usr/include/string.h:96: error: expected initializer before '__THROW'
/usr/include/string.h:100: error: expected initializer before '__THROW'
/usr/include/string.h:103: error: expected initializer before '__THROW'
/usr/include/string.h:107: error: expected initializer before '__THROW'
/usr/include/string.h:111: error: expected initializer before '__THROW'
/usr/include/string.h:112: error: '__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:171: error: expected initializer before '__THROW'
/usr/include/string.h:172: error: '__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:189: error: expected initializer before '__THROW'
/usr/include/string.h:192: error: expected initializer before '__THROW'
/usr/include/string.h:195: error: expected initializer before '__THROW'
/usr/include/string.h:200: error: expected initializer before '__THROW'
/usr/include/string.h:205: error: expected constructor, destructor, or
type conversion before 'extern'
/usr/include/string.h:242: error: expected constructor, destructor, or
type conversion before 'extern'
/usr/include/string.h:244: error: '__END_NAMESPACE_STD' does not name a type
/usr/include/string.h:294: error: expected constructor, destructor, or
type conversion before 'extern'
In file included from LETypes.h:21,
from LEFontInstance.cpp:14:
../common/cmemory.h:36: error: expected constructor, destructor, or
type conversion before 'extern'
In file included from LEFontInstance.cpp:14:
LETypes.h:69: error: 'uint8_t' does not name a type
make[2]: *** [LEFontInstance.ao] Error 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]