Thanks Mark, Previous build is just in classlib, and I use flow instructions: svn info Path: . URL: https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk/classlib Repository Root: https://svn.apache.org/repos/asf Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 Revision: 1000708 Node Kind: directory Schedule: normal Last Changed Author: tellison Last Changed Rev: 1000708 Last Changed Date: 2010-09-24 13:04:06 +0800 (Fri, 24 Sep 2010)
ant clean ant It return above error message. Then I follow your comments, use ant clean ant -Dhy.hdk=/home/deven/hdk_svn/target/hdk/ (which is a complete build directory on my computer) it builds successfully! Then I do: ant clean ant It also success. I don't know why and I remembered before I can just use ant clean; ant in classlib to build the harmony jre in classlib/deploy/jdk/jre. If there are some changes applied? I think it is better that user can simply uses ant clean; ant to build the harmony jre in classlib. 2010/9/24 Mark Hindess <mark.hind...@googlemail.com> > > In message <aanlkti=y+bp-kpch=fdv_zf8-ptrnmn3zbizj03_b...@mail.gmail.com>, > Deven You writes: > > > > Hi Mohan, > > I can not build harmony when update to r1000708. Ant returns below > errors: > > > > -build-native-common: > > [echo] Making "" in src/main/native/common/unix > > [exec] cc -DLINUX -DLINUX_X86 -DHYX86 -DIPv6_FUNCTION_SUPPORT > > -D_REENTRANT -D_FILE_OFFSET_BITS=3D64 -I/home/deven/hy5/deploy/include > > -I/home/deven/hy5/deploy/jdk/include -I. -I../shared/ -ggdb -O0 -fpic > > -march=3Dpentium3 -Werror -c -o ../shared/libglob.o > ../shared/libglob.c > > [exec] In file included from ../shared/libglob.c:25: > > [exec] /home/deven/hy5/deploy/include/vmi.h:31:17: error: jni.h: No > > such file or directory > > > > [SNIP] > > > > I think your failure may be due to this error. > > I don't think so. > > Deven, are you building the federated build or just classlib? If just > classlib, please make sure hy.hdk is pointing to an existing complete build > of > the hdk. > > Regards, > Mark. > > >