I tried to build the swing module only but the following error occurs:
ant -Dbuild.module="swing" -Dhy.jdk="/home/mackie/harmony/target/hdk/jdk"
-build-native:
[echo] Making "" in
/home/mackie/harmony/working_classlib/modules/portlib/src/main/native/common/unix
[exec] cc -DLINUX -DLINUX_X86 -DHYX86 -DIPv6_FUNCTION_SUPPORT
-D_REENTRANT -I/home/mackie/harmony/working_classlib/deploy/include
-I/home/mackie/harmony/working_classlib/deploy/jdk/include -I. -I../shared/
-fpic -march=pentium3 -ggdb -O0 -c -o ../shared/libglob.o
../shared/libglob.c
[exec] In file included from ../shared/libglob.c:25:
[exec]
/home/mackie/harmony/working_classlib/deploy/include/vmi.h:31:17: error:
jni.h: No such file or directory
[exec] In file included from
/home/mackie/harmony/working_classlib/deploy/include/vmi.h:33,
[exec] from ../shared/libglob.c:25:
[exec]
/home/mackie/harmony/working_classlib/deploy/include/hyvmls.h:43: error:
expected ')' before '*' token
[exec]
/home/mackie/harmony/working_classlib/deploy/include/hyvmls.h:44: error:
expected ';' before 'void'
[exec] In file included from ../shared/libglob.c:25:
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:75:
error: expected ')' before '*' token
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:102:
error: expected ')' before '*' token
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:104:
error: expected ';' before 'JavaVM'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:128:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'VMI_GetVMIFromJNIEnv'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:133:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'VMI_GetVMIFromJavaVM'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:158:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'CheckVersion'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:170:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:187:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'GetPortLibrary'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:200:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'GetVMLSFunctions'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:227:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'GetZipCachePool'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:244:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:258:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'GetSystemProperty'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:278:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'SetSystemProperty'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:295:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'CountSystemProperties'
[exec] /home/mackie/harmony/working_classlib/deploy/include/vmi.h:313:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'IterateSystemProperties'
[exec] In file included from ../shared/jclglob.h:29,
[exec] from ../shared/libglob.c:26:
[exec]
/home/mackie/harmony/working_classlib/deploy/include/libglob.h:34: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'JNICALL'
[exec]
/home/mackie/harmony/working_classlib/deploy/include/libglob.h:35: error:
expected '=', ',', ';', 'asm' or '__attribute__' before 'ClearLibDetach'
[exec] ../shared/libglob.c:33: error: expected ')' before '*' token
[exec] ../shared/libglob.c:39: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'JNICALL'
[exec] ../shared/libglob.c:83: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'ClearLibDetach'
[exec] ../shared/libglob.c:115: error: expected ')' before '*' token
[exec] make: *** [../shared/libglob.o] Error 1
BUILD FAILED
/home/mackie/harmony/build.xml:349: The following error occurred while
executing this line:
/home/mackie/harmony/working_classlib/build.xml:148: The following error
occurred while executing this line:
/home/mackie/harmony/working_classlib/make/build-native.xml:73: The
following error occurred while executing this line:
/home/mackie/harmony/working_classlib/modules/portlib/build.xml:101: The
following error occurred while executing this line:
/home/mackie/harmony/working_classlib/make/properties.xml:492: exec
returned: 2
--
Regards,
Tharindu