I met problems in built a fresh classlib in a new Linux32 (Pentium 4)
machine.
The error messages, which I have not met before, are as following:
-build-native-common:
[exec] cc -DLINUX -DLINUX_X86 -DHYX86 -D_REENTRANT
-DIPv6_FUNCTION_SUPPORT
-I/home/clai1/harmony/trunk/working_classlib/deploy/include
-I/home/clai1/harmony/trunk/working_classlib/deploy/jdk/include -I.
-I../shared/ -Icommon -I../shared//include
-I/home/clai1/harmony/trunk/working_classlib/deploy/../depends/libs/build/lcms
-march=pentium3 -g -fpic -c -o ../shared//cmmerror.o ../shared//cmmerror.c
[exec] In file included from ../shared//NativeCMM.h:31,
[exec] from ../shared//cmmerror.h:27,
[exec] from ../shared//cmmerror.c:24:
[exec] ../shared//cmmapi.h:38: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'cmmCloseProfile'
[exec] ../shared//cmmapi.h:48: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'cmmGetProfileHeader'
[exec] ../shared//cmmapi.h:50: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'cmmSetProfileHeader'
[exec] ../shared//cmmapi.h:54: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'cmmGetProfileElement'
[exec] ../shared//cmmapi.h:58: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'cmmSetProfileElement'
[exec] make: *** [../shared//cmmerror.o] Error 1
BUILD FAILED
/home/clai1/harmony/trunk/working_classlib/build.xml:148: The following
error occurred while executing this line:
/home/clai1/harmony/trunk/working_classlib/make/build-native.xml:77: The
following error occurred while executing this line:
/home/clai1/harmony/trunk/working_classlib/modules/awt/build.xml:150: The
following error occurred while executing this line:
/home/clai1/harmony/trunk/working_classlib/make/properties.xml:463: exec
returned: 2
The LCMS library is also newly built from
http://www.littlecms.com/downloads.htm.
I do not know if it is related that I have a GCC-4.1.2.
Thanks for your help.
best regards,
chunrong