great -- let us know what you do with it! Regards, Tim
karan malhi wrote: > The build was successful. The problem was with gcc-c++. > Thanks for all the help. > > Alexey Petrenko wrote: > >> So Java part is built and you got troubles with gcc... >> >> >> 2006/2/14, karan malhi <[EMAIL PROTECTED]>: >> >> >>> Alexey, >>> I have set the JAVACMD variable to point to java executable explicitly >>> as you can see below: >>> [EMAIL PROTECTED] make]$ echo $JAVACMD >>> /home/karan/jdk1.5.0_06/bin/java >>> >>> Below is the complete output after running ant. >>> >>> [EMAIL PROTECTED] make]$ ant >>> Buildfile: build.xml >>> >>> default: >>> [echo] >>> [echo] ======================================== >>> [echo] Building Java component archives... >>> [echo] ======================================== >>> >>> clean-bin: >>> [delete] Deleting 1645 files from /home/karan/projects/Harmony/bin >>> [delete] Deleted 85 directories from /home/karan/projects/Harmony/bin >>> >>> clean-layout: >>> [delete] Deleting 34 files from /home/karan/projects/Harmony/deploy >>> >>> clean-package: >>> [delete] Deleting 11 files from >>> /home/karan/projects/Harmony/components >>> [delete] Deleted 1 directory from >>> /home/karan/projects/Harmony/components >>> >>> clean: >>> >>> copy-resources: >>> [mkdir] Created dir: /home/karan/projects/Harmony/bin >>> [copy] Copying 2 files to /home/karan/projects/Harmony/bin >>> >>> compile: >>> [javac] Compiling 1280 source files to >>> /home/karan/projects/Harmony/bin >>> [javac] Note: Some input files use or override a deprecated API. >>> [javac] Note: Recompile with -Xlint:deprecation for details. >>> >>> package: >>> [mkdir] Created dir: /home/karan/projects/Harmony/components >>> [jar] Building jar: >>> /home/karan/projects/Harmony/components/archive.jar >>> [jar] Building jar: >>> /home/karan/projects/Harmony/components/kernel-stubs.jar >>> [jar] Building jar: >>> /home/karan/projects/Harmony/components/luni.jar >>> [jar] Building jar: /home/karan/projects/Harmony/components/nio.jar >>> [jar] Building jar: >>> /home/karan/projects/Harmony/components/nio_char.jar >>> [jar] Building jar: >>> /home/karan/projects/Harmony/components/security.jar >>> [jar] Building jar: >>> /home/karan/projects/Harmony/components/x-net.jar >>> [jar] Building jar: >>> /home/karan/projects/Harmony/components/text.jar >>> [jar] Building jar: >>> /home/karan/projects/Harmony/components/math.jar >>> [jar] Building jar: >>> /home/karan/projects/Harmony/components/regex.jar >>> [jar] Building jar: /home/karan/projects/Harmony/components/sql.jar >>> >>> layout: >>> [copy] Copying 2 files to >>> /home/karan/projects/Harmony/deploy/jre/lib/boot >>> [copy] Copying 11 files to >>> /home/karan/projects/Harmony/deploy/jre/lib/boot >>> [copy] Copying 1 file to >>> /home/karan/projects/Harmony/deploy/jre/lib/boot >>> [copy] Copying 18 files to >>> /home/karan/projects/Harmony/deploy/jre/bin >>> [copy] Copying 2 files to >>> /home/karan/projects/Harmony/deploy/jre/lib/security >>> >>> default: >>> [echo] >>> [echo] ======================================== >>> [echo] Building native libs and executables... >>> [echo] ======================================== >>> >>> init: >>> >>> windows-properties: >>> >>> linux-properties: >>> >>> properties: >>> >>> overlay-oss: >>> [unzip] Expanding: >>> /home/karan/projects/Harmony/depends/oss/fdlibm_5.2.zip into >>> /home/karan/projects/Harmony/native-src/linux.IA32/fdlibm >>> [unzip] Expanding: >>> /home/karan/projects/Harmony/depends/oss/zlib_1.2.3.zip into >>> /home/karan/projects/Harmony/native-src/linux.IA32/zlib >>> [unzip] Expanding: >>> /home/karan/projects/Harmony/depends/oss/linux.IA32/icu4c-3.4-harmony.zip >>> >>> into /home/karan/projects/Harmony/native-src/linux.IA32 >>> >>> make-clean: >>> >>> make-all: >>> >>> timestamp: >>> [echo] build-date=20060214 >>> [echo] build-time=20060214_1115) >>> [echo] on platform=Linux version=2.6.14-1.1656_FC4 arch=i386 >>> [echo] with java home = /home/karan/jdk1.5.0_06/jre VM version = >>> 1.5.0_06-b05 vendor = Sun Microsystems Inc. >>> >>> setname.win: >>> >>> setname.linux: >>> >>> init: >>> [echo] platform name=lnx >>> [echo] if.x86_64=${if.x86_64} >>> [echo] if.x86=true >>> [echo] if.ipf=${if.ipf} >>> [echo] create base dirs... >>> >>> init.java_home: >>> [echo] JAVA_HOME=/home/karan/jdk1.5.0_06 >>> >>> init.win: >>> >>> init.linux: >>> >>> compile.api: >>> [echo] Compiling api classes from >>> /home/karan/projects/Harmony/modules/security2/src/common/javasrc, >>> /home/karan/projects/Harmony/modules/security2/src/linux/javasrc >>> >>> build.jars: >>> >>> build.one.jar: >>> >>> build.one.jar: >>> >>> build.one.jar: >>> >>> build.native: >>> [echo] >>> jni_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include >>> [echo] >>> jni_md_h.path=/home/karan/projects/Harmony/native-src/linux.IA32/include >>> >>> init: >>> [echo] native_compiler.name=gcc >>> [echo] library.name=jaasnix >>> [echo] >>> ntvlibname.path=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix >>> >>> >>> compile.linux.native: >>> [echo] make linux native... >>> [echo] >>> path.to.build.native=/home/karan/projects/Harmony/modules/security2/src/linux/other/jaasnix >>> >>> >>> BUILD FAILED >>> /home/karan/projects/Harmony/make/build.xml:41: The following error >>> occurred while executing this line: >>> /home/karan/projects/Harmony/native-src/build.xml:103: The following >>> error occurred while executing this line: >>> /home/karan/projects/Harmony/modules/security2/make/build.xml:331: The >>> following error occurred while executing this line: >>> /home/karan/projects/Harmony/modules/security2/make/native/linux/jaasnix.xml:72: >>> >>> exec returned: 1 >>> >>> Total time: 1 minute 17 seconds >>> >>> >>> Alexey Petrenko wrote: >>> >>> >>>>> I specified a JAVACMD variable to point to the java executable >>>>> under jdk1.5/bin, as Alexey had mentioned in a previous email. >>>>> >>>>> >>>>> >>>> Did it build Java part after that? >>>> >>>> -- >>>> Alexey A. Petrenko >>>> Intel Middleware Products Division >>>> >>>> >>>> >>> -- >>> Karan Singh >>> >>> >>> >> >> >> -- >> Alexey A. Petrenko >> Intel Middleware Products Division >> >> > -- Tim Ellison ([EMAIL PROTECTED]) IBM Java technology centre, UK.