Skip to main content

error in phoneme advance mr2 for windows mobile

19 replies [Last post]
aniketp
Offline
Joined: 2009-04-01
Points: 0

I am new to this.I am doing building for foundation profile.I am getting the error that i paste it below.
..........some thing....
Compiling build-time classes...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
... /cygdrive/c/pmea/cdc/build/win32-arm-wm5/btclasses.zip
s=0, actual=-1
zip error: Internal logic error (incorrect compressed size)
make: *** [/cygdrive/c/pmea/cdc/build/win32-arm-wm5/btclasses.zip] Error 5
If anybody knowing the reason please tell me the answer.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
aniketp
Offline
Joined: 2009-04-01
Points: 0

Now If I remove the USE_MIDP=true variable from shell script then it is doing all
build nicely except creating midp folder inside cdc-midp ie. output folder.But if that variable kept then same error is coming.Anybody knows why this problem is going to be created here.
if anybody knows the solution please tell me.
Thanks in advance.

madan_ranganath
Offline
Joined: 2006-02-16
Points: 0

I am running into the below issue. Trying to fix this for past couple of days. No clue. Any help is deeply appreciated. All the dependent components are present. Compilation is thru cygwin.

Followed the below link to compile the code. Not able to pass after the foundation.
Seeing the below error.

http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile

CL.EXE /nologo /c /W2 -D__STDC__ /GS- /MD /O2 /Ob2 /Ot -DNDEBUG -DCVM_OPTIMIZ
ED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM
_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_SPLIT_VERIFY -DCVM_JIT_REGISTER_L
OCALS -DCVM_TIMESTAMPING -DCVM_PRELOAD_LIB -DCVM_STATICLINK_LIBS -DJ2ME_CLASSLIB
=foundation -DTARGET_CPU_FAMILY=arm -DCVM_JIT_COPY_CCMCODE_TO_CODECACHE -DCVM_DL
L -DHAVE_64_BIT_IO -DNDEBUG -DARM -D_ARM -D__RVCT__ -DWINCE -DWIN32_LEAN_AND_MEA
N -DWIN32_PLATFORM_PSPC -DUNICODE -D_UNICODE -DUNDER_CE=500 -D_WIN32_WCE=500 -D_
ARM_ -DEDB -DPOCKETPC -I../../src/share -I./. -I. -I../../src/share/javavm/exp
ort -I../../src/share/native/common -I../../src/share/native/java/lang -I../../s
rc/share/native/java/lang/fdlibm/include -I../../src/share/native/java/net -I../
../src/share/native/java/io -I../../src/share/native/java/util/zip -I../../src/s
hare/native/java/util/zip/zlib-1.1.3 -I././generated/jni -I../../src/arm -I../..
/src/portlibs/jit/risc -I../../src -I../../src/win32 -I../../src/win32/native/ja
va/net -I../../src/win32/native/java/util -I../../src/win32/native/common -I../.
./src/win32-arm -I../../src/win32/javavm/include/ansi /Foobj/gen_semispace.o
../../src/share/javavm/runtime/gc/generational/gen_semispace.c
gen_semispace.c
../../src/win32\javavm/include/win32/windows.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
make: *** [obj/gen_semispace.o] Error 2

The file "windows.h" is present on the system. How do I get around the problem?

Madan

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> CL.EXE /nologo /c /W2 -D__STDC__ /GS- /MD /O2 /Ob2 /Ot -DNDEBUG -DCVM_OPTIMIZ
> ED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM
> _REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_SPLIT_VERIFY -DCVM_JIT_REGISTER_L
> OCALS -DCVM_TIMESTAMPING -DCVM_PRELOAD_LIB -DCVM_STATICLINK_LIBS -DJ2ME_CLASSLIB
> =foundation -DTARGET_CPU_FAMILY=arm -DCVM_JIT_COPY_CCMCODE_TO_CODECACHE -DCVM_DL
> L -DHAVE_64_BIT_IO -DNDEBUG -DARM -D_ARM -D__RVCT__ -DWINCE -DWIN32_LEAN_AND_MEA
> N -DWIN32_PLATFORM_PSPC -DUNICODE -D_UNICODE -DUNDER_CE=500 -D_WIN32_WCE=500 -D_
> ARM_ -DEDB -DPOCKETPC -I../../src/share -I./. -I. -I../../src/share/javavm/exp
> ort -I../../src/share/native/common -I../../src/share/native/java/lang -I../../s
> rc/share/native/java/lang/fdlibm/include -I../../src/share/native/java/net -I../
> ../src/share/native/java/io -I../../src/share/native/java/util/zip -I../../src/s
> hare/native/java/util/zip/zlib-1.1.3 -I././generated/jni -I../../src/arm -I../..
> /src/portlibs/jit/risc -I../../src -I../../src/win32 -I../../src/win32/native/ja
> va/net -I../../src/win32/native/java/util -I../../src/win32/native/common -I../.
> ./src/win32-arm -I../../src/win32/javavm/include/ansi /Foobj/gen_semispace.o
> ../../src/share/javavm/runtime/gc/generational/gen_semispace.c
> gen_semispace.c
> ../../src/win32\javavm/include/win32/windows.h(33) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
> make: *** [obj/gen_semispace.o] Error 2
>
> The file "windows.h" is present on the system. How do I get around the problem?
>

Hi Madan,

Are you sure you have properly installed Visual Studio 2005 SP1, .NET
Compact Framework 2.0 SP1, and Windows Mobile 5.0 Pocket PC SDK
correctly on your PC. You might be picking up the wrong CL.EXE (make
sure you are picking up the Windows Mobile 5.0 Pocket PC SDK CL.EXE).

Or, check your TOOLS_DIR environment variable setting. Make sure you do
not have the wrong type of slash being set in it (backslash "\" is wrong
and you must use forward slash "/" instead).

See your output:

../../src/win32*\*javavm/include/win32/windows.h(33) :

^ Make sure this is a forward slash "/", not back slash "\".

Hinkmond

[att1.html]

madan_ranganath
Offline
Joined: 2006-02-16
Points: 0

Hi HindMond,

Really appreciate your help. Thanks a lot. The compilation went thru fine. The issue was some of the components were installed in the wrong drive. I had to put everything in the same place. I got the HelloWorld.class to work fine on the mobile.

I am following the below document:
http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedGSGWinMobile

I did "make clean" before running the below command. This is required so to create midp classes.

Building MIDP

#!/bin/sh

make \
JDK_HOME=C:/j2sdk1.4.2_18 \
J2ME_CLASSLIB=foundation \
CVM_JIT=true \
CVM_PRELOAD_LIB=true \
CVM_BUILD_SUBDIR_NAME=cdc-midp \
USE_JPEG=true \
USE_MIDP=true

I am seeing the below error. Any idea?

make[1]: Entering directory `/pmea/midp/build/wince'
... creating directories /pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince
/bin/arm
mkdir -p /pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/bin/arm > /pmea/
cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/makelog.out 2>&1; status=$?; ca
t /pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/makelog.out | tee -a /p
mea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/make.out; if [ $status -ne
0 ]; then false; else true; fi
/bin/sh: /pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/makelog.out: can
not overwrite existing file
make[1]: *** [/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/bin/arm] Er
ror 1
make[1]: Leaving directory `/pmea/midp/build/wince'
make: *** [/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/classes.zip] Error 2

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> I am seeing the below error. Any idea?
>
> make[1]: Entering directory `/pmea/midp/build/wince'
> ... creating directories /pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince
> /bin/arm
> mkdir -p /pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/bin/arm > /pmea/
> cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/makelog.out 2>&1; status=$?; ca
> t /pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/makelog.out | tee -a /p
> mea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/make.out; if [ $status -ne
> 0 ]; then false; else true; fi
> /bin/sh: /pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/makelog.out: can
> not overwrite existing file
> make[1]: *** [/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/bin/arm] Er
> ror 1
> make[1]: Leaving directory `/pmea/midp/build/wince'
> make: *** [/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/classes.zip] Error 2
>

Hi Madan,

After you do a make clean, do you still see the specific file causing
the error in your subdirectory:

Ex.
make clean
ls -l /pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/midp_wince/makelog.out

If it is still there after a make clean, try forcing a delete "rm -f" on
that file. Did you possibly build as one userid (like root or as
super-user) and you are now trying to build as another userid (non-root
account)?

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

aniketp
Offline
Joined: 2009-04-01
Points: 0

I am facing same problem since last 2 days. It is problem of my environment or i missing some variable to be set.I am actually not understanding that why it is unable to create .o file.and also why it not getting the header files also.This is the problem came with me only or anybody faces that same problem.
If anybody knows the reason please tell me.
Thanks in advance.

aniketp
Offline
Joined: 2009-04-01
Points: 0

I have solved that cl.exe problem .
Now, It is giving another error.
I have put my log file below.

bash: line 0: cd: ../../build/win32-arm-wm5/cdc-midp: No such file or directory
../share/rules.mk:552: ../../build/win32-arm-wm5/cdc-midp/generated/empty.mk: No such file or directory
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/javavm/runtime
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/javavm/runtime/jit
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/classes
touch ../../build/win32-arm-wm5/cdc-midp/generated/empty.mk
MAKEFLAGS = USE_MIDP=true USE_JPEG=true USE_VS2005=true CVM_BUILD_SUBDIR_NAME=cdc-midp CVM_PRELOAD_LIB=true CVM_DEBUG=true CVM_JIT=true J2ME_CLASSLIB=foundation JDK_HOME=C:/j2sdk1.4.2_19
CVM_HOST = i686-cygwin-win32
CVM_TARGET = win32-arm-wm5
SHELL = bash
HOST_CC = /usr/bin/cc
HOST_CCC = /usr/bin/g++
ZIP = /usr/bin/zip
FLEX = /usr/bin/flex
BISON = /usr/bin/bison
CVM_JAVA = C:/j2sdk1.4.2_19/bin/java
CVM_JAVAC = C:/j2sdk1.4.2_19/bin/javac
CVM_JAVAH = C:/j2sdk1.4.2_19/bin/javah
CVM_JAR = C:/j2sdk1.4.2_19/bin/jar
TARGET_CC = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/CL.EXE
TARGET_CCC = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/CL.EXE
TARGET_AS = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/ARMASM.EXE
TARGET_LD = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/LINK.EXE
TARGET_AR = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/LINK.EXE
TARGET_RANLIB = ls: cannot access /usr/tools/i686-cygwin-win32/gnu/bin/arm-wm5-win32-ranlib: No such file or directory
LINKFLAGS = /implib:cdc-midp/bin/cvmi.lib /nologo /map /dll /incremental:yes /debug /subsystem:windowsce,5.01 /base:0x00100000 /entry:_DllMainCRTStartup /export:jio_snprintf /export:CVMexpandStack /export:CVMtimeMillis /export:CVMIDprivate_allocateLocalRootUnsafe /export:CVMglobals /export:CVMsystemPanic /export:CVMcsRendezvous /export:CVMconsolePrintf /export:CVMassertHook /export:CVMdumpStack
LINKLIBS = commctrl.lib coredll.lib corelibc.lib ddraw.lib wininet.lib winsock.lib C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB /LIBPATH:C:/Program Files/Microsoft Visual Studio 8/VC/ce/lib/armv4i /LIBPATH:C:/Program Files/Microsoft Visual Studio 8/VC/ce/atlmfc/lib/armv4i /libpath:c:/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/pcsl_fb/wince_arm/lib /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /nodefaultlib:oldnames.lib libpcsl_file.lib libpcsl_memory.lib libpcsl_print.lib libpcsl_string.lib libpcsl_network.lib Ws2.lib gx.lib aygshell.lib
ASM_FLAGS = -CPU StrongARM1 -32 -NOTerse -WIdth 132 -list .lst .i
CCCFLAGS =
CCFLAGS_SPEED = /nologo /c /W2 /GS- /Fdcdc-midp/cvm.pdb /Zi /Od -D_DEBUG -DDEBUG
CCFLAGS_SPACE = /nologo /c /W2 /GS- /Fdcdc-midp/cvm.pdb /Zi /Od -D_DEBUG -DDEBUG
CCFLAGS_LOOP = /nologo /c /W2 /GS- /Fdcdc-midp/cvm.pdb /Zi /Od -D_DEBUG -DDEBUG
CCFLAGS_FDLIB = /nologo /c /W2 /GS- /Fdcdc-midp/cvm.pdb /Zi -D_DEBUG -DDEBUG /Od
JAVAC_OPTIONS = -g -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 -target 1.4
CVM_DEFINES = -DCVM_DEBUG -DCVM_INSPECTOR -DCVM_DEBUG_CLASSINFO -DCVM_DEBUG_STACKTRACES -DCVM_DEBUG_DUMPSTACK -DCVM_DEBUG_ASSERTS -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_DUAL_STACK -DCVM_JIT_REGISTER_LOCALS -DCVM_TIMESTAMPING -DCVM_TRACE -DCVM_TRACE_JIT -DCVM_PRELOAD_LIB -DCVM_STATICLINK_LIBS -DJ2ME_CLASSLIB=foundation -DTARGET_CPU_FAMILY=arm -DCVM_TRACE_ENABLED -DCVM_JIT_COPY_CCMCODE_TO_CODECACHE -DHAVE_64_BIT_IO -DARM -D_ARM -D__RVCT__ -DWINCE -DWIN32_LEAN_AND_MEAN -DWIN32_PLATFORM_PSPC -DUNICODE -D_UNICODE -DUNDER_CE=500 -D_WIN32_WCE=500 -D_ARM_ -DEDB -DPOCKETPC
host uname = CYGWIN_NT-5.1 si-aniket 1.5.25(0.156/4/2) 2008-04-17 12:11 i686 Cygwin
TARGET_CC version = Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50725 for ARM
HOST_CC version = 3.4.4 i686-pc-cygwin
CVM_JAVA version = java version 1.4.2_19
TOOLS_DIR = /cygdrive/c/pmea/tools
SDK_DIR = C:/Program Files/Windows CE Tools
VC_PATH = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC
PLATFORM_SDK_DIR = C:/Program Files/Windows CE Tools/wce500/Windows Mobile 5.0 Pocket PC SDK
PLATFORM_TOOLS_PATH = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm
COMMON_TOOLS_PATH = /cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/Tools/Bin
MIDP_DIR = /cygdrive/c/pmea/midp
PCSL_DIR = /cygdrive/c/pmea/pcsl
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/flags
Flag CVM_AGENTLIB changed. Cleaning up.
Flag CVM_AOT changed. Cleaning up.
Flag CVM_CCM_COLLECT_STATS changed. Cleaning up.
Flag CVM_CLASSLIB_JCOV changed. Cleaning up.
Flag CVM_CLASSLOADING changed. Cleaning up.
Flag CVM_CSTACKANALYSIS changed. Cleaning up.
Flag CVM_DEBUG changed. Cleaning up.
Flag CVM_DEBUG_ASSERTS changed. Cleaning up.
Flag CVM_DEBUG_CLASSINFO changed. Cleaning up.
Flag CVM_DEBUG_DUMPSTACK changed. Cleaning up.
Flag CVM_DEBUG_STACKTRACES changed. Cleaning up.
Flag CVM_DUAL_STACK changed. Cleaning up.
Flag CVM_DYNAMIC_LINKING changed. Cleaning up.
Flag CVM_EMBEDDED_HOOK changed. Cleaning up.
Flag CVM_GCCHOICE changed. Cleaning up.
Flag CVM_GCOV changed. Cleaning up.
Flag CVM_GPROF changed. Cleaning up.
Flag CVM_GPROF_NO_CALLGRAPH changed. Cleaning up.
Flag CVM_HOST changed. Cleaning up.
Flag CVM_INCLUDE_COMMCONNECTION changed. Cleaning up.
Flag CVM_INSPECTOR changed. Cleaning up.
Flag CVM_INSTRUCTION_COUNTING changed. Cleaning up.
Flag CVM_INTERPRETER_LOOP changed. Cleaning up.
Flag CVM_JAVAC_DEBUG changed. Cleaning up.
Flag CVM_JIT changed. Cleaning up.
Flag CVM_JIT_COLLECT_STATS changed. Cleaning up.
Flag CVM_JIT_COPY_CCMCODE_TO_CODECACHE changed. Cleaning up.
Flag CVM_JIT_DEBUG changed. Cleaning up.
Flag CVM_JIT_ESTIMATE_COMPILATION_SPEED changed. Cleaning up.
Flag CVM_JIT_PATCHED_METHOD_INVOCATIONS changed. Cleaning up.
Flag CVM_JIT_PROFILE changed. Cleaning up.
Flag CVM_JIT_REGISTER_LOCALS changed. Cleaning up.
Flag CVM_JIT_USE_FP_HARDWARE changed. Cleaning up.
Flag CVM_JVMPI changed. Cleaning up.
Flag CVM_JVMPI_TRACE_INSTRUCTION changed. Cleaning up.
Flag CVM_JVMTI changed. Cleaning up.
Flag CVM_KNI changed. Cleaning up.
Flag CVM_LVM changed. Cleaning up.
Flag CVM_MP_SAFE changed. Cleaning up.
Flag CVM_MTASK changed. Cleaning up.
Flag CVM_NO_CODE_COMPACTION changed. Cleaning up.
Flag CVM_NO_LOSSY_OPCODES changed. Cleaning up.
Flag CVM_OPTIMIZED changed. Cleaning up.
Flag CVM_PRELOAD_LIB changed. Cleaning up.
Flag CVM_PRELOAD_TEST changed. Cleaning up.
Flag CVM_PRODUCT changed. Cleaning up.
Flag CVM_REFLECT changed. Cleaning up.
Flag CVM_SERIALIZATION changed. Cleaning up.
Flag CVM_SPLIT_VERIFY changed. Cleaning up.
Flag CVM_STATICLINK_LIBS changed. Cleaning up.
Flag CVM_SYMBOLS changed. Cleaning up.
Flag CVM_TEST_GC changed. Cleaning up.
Flag CVM_TEST_GENERATION_GC changed. Cleaning up.
Flag CVM_THREAD_SUSPENSION changed. Cleaning up.
Flag CVM_TIMESTAMPING changed. Cleaning up.
Flag CVM_TRACE changed. Cleaning up.
Flag CVM_TRACE_JIT changed. Cleaning up.
Flag CVM_USE_CVM_MEMALIGN changed. Cleaning up.
Flag CVM_USE_MEM_MGR changed. Cleaning up.
Flag CVM_USE_NATIVE_TOOLS changed. Cleaning up.
Flag CVM_VERIFY_HEAP changed. Cleaning up.
Flag CVM_XRUN changed. Cleaning up.
Flag J2ME_CLASSLIB changed. Cleaning up.
Flag OPT_PKGS changed. Cleaning up.
Flag USE_GCI changed. Cleaning up.
Flag USE_JUMP changed. Cleaning up.
Flag USE_MIDP changed. Cleaning up.
... generating ../../build/win32-arm-wm5/cdc-midp/generated/javavm/include/build_defs.h

/*** Definitions generated at build time ***/
#ifndef _BUILD_DEFS_H
#define _BUILD_DEFS_H

#define CVM_BUILD_OPTIONS \
"CVM_AGENTLIB=false\n" \
"CVM_AOT=false\n" \
"CVM_CCM_COLLECT_STATS=false\n" \
"CVM_CLASSLIB_JCOV=false\n" \
"CVM_CLASSLOADING=true\n" \
"CVM_CSTACKANALYSIS=false\n" \
"CVM_DEBUG=true\n" \
"CVM_DEBUG_ASSERTS=true\n" \
"CVM_DEBUG_CLASSINFO=true\n" \
"CVM_DEBUG_DUMPSTACK=true\n" \
"CVM_DEBUG_STACKTRACES=true\n" \
"CVM_DUAL_STACK=true\n" \
"CVM_DYNAMIC_LINKING=true\n" \
"CVM_EMBEDDED_HOOK=false\n" \
"CVM_GCCHOICE=generational\n" \
"CVM_GCOV=false\n" \
"CVM_GPROF=false\n" \
"CVM_GPROF_NO_CALLGRAPH=true\n" \
"CVM_HOST=i686-cygwin-win32\n" \
"CVM_INCLUDE_COMMCONNECTION=false\n" \
"CVM_INSPECTOR=true\n" \
"CVM_INSTRUCTION_COUNTING=false\n" \
"CVM_INTERPRETER_LOOP=Standard\n" \
"CVM_JAVAC_DEBUG=true\n" \
"CVM_JIT=true\n" \
"CVM_JIT_COLLECT_STATS=\n" \
"CVM_JIT_COPY_CCMCODE_TO_CODECACHE=true\n" \
"CVM_JIT_DEBUG=false\n" \
"CVM_JIT_ESTIMATE_COMPILATION_SPEED=false\n" \
"CVM_JIT_PATCHED_METHOD_INVOCATIONS=false\n" \
"CVM_JIT_PROFILE=false\n" \
"CVM_JIT_REGISTER_LOCALS=true\n" \
"CVM_JIT_USE_FP_HARDWARE=false\n" \
"CVM_JVMPI=false\n" \
"CVM_JVMPI_TRACE_INSTRUCTION=false\n" \
"CVM_JVMTI=\n" \
"CVM_KNI=true\n" \
"CVM_LVM=false\n" \
"CVM_MP_SAFE=false\n" \
"CVM_MTASK=false\n" \
"CVM_NO_CODE_COMPACTION=false\n" \
"CVM_NO_LOSSY_OPCODES=\n" \
"CVM_OPTIMIZED=false\n" \
"CVM_PRELOAD_LIB=true\n" \
"CVM_PRELOAD_TEST=false\n" \
"CVM_PRODUCT=premium\n" \
"CVM_REFLECT=true\n" \
"CVM_SERIALIZATION=true\n" \
"CVM_SPLIT_VERIFY=false\n" \
"CVM_STATICLINK_LIBS=true\n" \
"CVM_SYMBOLS=true\n" \
"CVM_TEST_GC=false\n" \
"CVM_TEST_GENERATION_GC=false\n" \
"CVM_THREAD_SUSPENSION=false\n" \
"CVM_TIMESTAMPING=true\n" \
"CVM_TRACE=true\n" \
"CVM_TRACE_JIT=true\n" \
"CVM_USE_CVM_MEMALIGN=false\n" \
"CVM_USE_MEM_MGR=false\n" \
"CVM_USE_NATIVE_TOOLS=false\n" \
"CVM_VERIFY_HEAP=false\n" \
"CVM_XRUN=false\n" \
"J2ME_CLASSLIB=foundation\n" \
"OPT_PKGS=\n" \
"USE_GCI=false\n" \
"USE_JUMP=false\n" \
"USE_MIDP=true\n" \

#define CVM_PROP_JAVA_VERSION "phoneme_advanced_mr2-b34"
#define CVM_PROP_JAVA_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_VENDOR_URL "http://java.sun.com/"
#define CVM_PROP_JAVA_VENDOR_URL_BUG "http://java.sun.com/cgi-bin/bugreport.cgi"
#define CVM_PROP_JAVA_SPEC_NAME "Foundation Profile Specification"
#define CVM_PROP_JAVA_SPEC_VERSION "1.1"
#define CVM_PROP_JAVA_SPEC_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_CLASS_VERSION "47.0"
#define CVM_PROP_JAVA_VM_NAME "CVM"
#define CVM_PROP_JAVA_VM_VERSION "phoneme_advanced_mr2-b34"
#define CVM_PROP_SUN_MISC_PRODUCT "phoneME Advanced"
#define CVM_PROP_JAVA_VM_INFO "mixed mode"
#define CVM_PROP_JAVA_VM_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_VM_SPEC_NAME "Java Virtual Machine Specification"
#define CVM_PROP_JAVA_VM_SPEC_VERSION "1.0"
#define CVM_PROP_JAVA_VM_SPEC_VENDOR "Sun Microsystems Inc."
#define CVM_CLASSLIB_JAR_NAME "foundation.jar"
#define CVM_JARFILES CVM_CLASSLIB_JAR_NAME

#endif /* _BUILD_DEFS_H */

updating ../../build/win32-arm-wm5/cdc-midp/generated/build_defs.mk ...
... mkdir ../../build/win32-arm-wm5/cdc-midp/obj
... mkdir ../../build/win32-arm-wm5/cdc-midp/bin
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/javavm/runtime/opcodeconsts
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/classes/sun/misc
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/jni
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/cni
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/offsets
... mkdir ../../build/win32-arm-wm5/cdc-midp/btclasses
... mkdir ../../build/win32-arm-wm5/cdc-midp/testclasses
... mkdir ../../build/win32-arm-wm5/cdc-midp/democlasses
... mkdir ../../build/win32-arm-wm5/cdc-midp/lib
... mkdir ../../build/win32-arm-wm5/cdc-midp/lib/security
... mkdir ../../build/win32-arm-wm5/cdc-midp/classes.tools
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/javavm/include/jit
... mkdir ../../build/win32-arm-wm5/cdc-midp/jcs
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/classes/java/util
... mkdir ../../build/win32-arm-wm5/cdc-midp/classes.jcc
====> start pcsl build
generating config file...
building all modules...
cd /cygdrive/c/pmea/pcsl/types; make all
cd /cygdrive/c/pmea/pcsl/print; make all
building print module...
cd /cygdrive/c/pmea/pcsl/print/file/../..//file; make all
cd /cygdrive/c/pmea/pcsl/file/..//string; make all
cd /cygdrive/c/pmea/pcsl/string/../types; make all
building string util...
cd /cygdrive/c/pmea/pcsl/string/util/../../types; make all
utf.c
.\utf.h(27) : fatal error C1083: Cannot open include file: 'java_types.h': No such file or directory
make[6]: *** [/cygdrive/c/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/pcsl_fb/wince_arm/obj/utf.o] Error 2
make[5]: *** [all] Error 2
make[4]: *** [string] Error 2
make[3]: *** [file] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [initbuild_profile] Error 2
I know that it is not valid way but
If in utf.h i give relative path for java_types.h then it is not giving this error.But then it will be giving this error.
building string util...
cd /cygdrive/c/pmea/pcsl/string/util/../../types; make all
utf.c
c:\pmea\pcsl\string\util\utf.c : fatal error C1083: Cannot open compiler generated file: '/cygdrive/c/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/pcsl_fb/wince_arm/obj/utf.o': No such file or directory
make[6]: *** [/cygdrive/c/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/pcsl_fb/wince_arm/obj/utf.o] Error 1
make[5]: *** [all] Error 2
make[4]: *** [string] Error 2
make[3]: *** [file] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [initbuild_profile] Error 2

aniketp
Offline
Joined: 2009-04-01
Points: 0

Thanks Davy for your quick replies.
As already you told me that there is some problem of variable set,I am trying to solve that but i am not able to solve it till yet.Will you tell me which variable might be missing or incorrect?
If anybody knows please help me in this.
Thanks in advance.

aniketp
Offline
Joined: 2009-04-01
Points: 0

when i try to build for MIDP i am getting the error.
bash: line 0: cd: ../../build/win32-arm-wm5/cdc-midp: No such file or directory
../share/rules.mk:552: ../../build/win32-arm-wm5/cdc-midp/generated/empty.mk: No such file or directory
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/javavm/runtime
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/javavm/runtime/jit
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/classes
touch ../../build/win32-arm-wm5/cdc-midp/generated/empty.mk
MAKEFLAGS = USE_MIDP=true USE_JPEG=true USE_VS2005=true CVM_BUILD_SUBDIR_NAME=cdc-midp TOOLS_DIR=/cygdrive/c/pmea/tools CVM_PRELOAD_LIB=true CVM_DEBUG=true CVM_JIT=true J2ME_CLASSLIB=foundation JDK_HOME=C:/j2sdk1.4.2_19
CVM_HOST = i686-cygwin-win32
CVM_TARGET = win32-arm-wm5
SHELL = bash
HOST_CC = /usr/bin/cc
HOST_CCC = /usr/bin/g++
ZIP = /usr/bin/zip
FLEX = /usr/bin/flex
BISON = /usr/bin/bison
CVM_JAVA = C:/j2sdk1.4.2_19/bin/java
CVM_JAVAC = C:/j2sdk1.4.2_19/bin/javac
CVM_JAVAH = C:/j2sdk1.4.2_19/bin/javah
CVM_JAR = C:/j2sdk1.4.2_19/bin/jar
TARGET_CC = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/CL.EXE
TARGET_CCC = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/CL.EXE
TARGET_AS = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/ARMASM.EXE
TARGET_LD = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/LINK.EXE
TARGET_AR = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/LINK.EXE
TARGET_RANLIB = /usr/bin/ranlib
LINKFLAGS = /implib:cdc-midp/bin/cvmi.lib /nologo /map /dll /incremental:yes /debug /subsystem:windowsce,5.01 /base:0x00100000 /entry:_DllMainCRTStartup /export:jio_snprintf /export:CVMexpandStack /export:CVMtimeMillis /export:CVMIDprivate_allocateLocalRootUnsafe /export:CVMglobals /export:CVMsystemPanic /export:CVMcsRendezvous /export:CVMconsolePrintf /export:CVMassertHook /export:CVMdumpStack
LINKLIBS = commctrl.lib coredll.lib corelibc.lib ddraw.lib wininet.lib winsock.lib /LIBPATH:C:/Program Files/Microsoft Visual Studio 8/VC/ce/lib/armv4i /LIBPATH:C:/Program Files/Microsoft Visual Studio 8/VC/ce/atlmfc/lib/armv4i /libpath:c:/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/pcsl_fb/wince_arm/lib /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /nodefaultlib:oldnames.lib libpcsl_file.lib libpcsl_memory.lib libpcsl_print.lib libpcsl_string.lib libpcsl_network.lib Ws2.lib gx.lib aygshell.lib
ASM_FLAGS = -CPU StrongARM1 -32 -NOTerse -WIdth 132 -list .lst .i
CCCFLAGS =
CCFLAGS_SPEED = /nologo /c /W2 /GS- /Fdcdc-midp/cvm.pdb /Zi /Od -D_DEBUG -DDEBUG
CCFLAGS_SPACE = /nologo /c /W2 /GS- /Fdcdc-midp/cvm.pdb /Zi /Od -D_DEBUG -DDEBUG
CCFLAGS_LOOP = /nologo /c /W2 /GS- /Fdcdc-midp/cvm.pdb /Zi /Od -D_DEBUG -DDEBUG
CCFLAGS_FDLIB = /nologo /c /W2 /GS- /Fdcdc-midp/cvm.pdb /Zi -D_DEBUG -DDEBUG /Od
JAVAC_OPTIONS = -g -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 -target 1.4
CVM_DEFINES = -DCVM_DEBUG -DCVM_INSPECTOR -DCVM_DEBUG_CLASSINFO -DCVM_DEBUG_STACKTRACES -DCVM_DEBUG_DUMPSTACK -DCVM_DEBUG_ASSERTS -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_DUAL_STACK -DCVM_JIT_REGISTER_LOCALS -DCVM_TIMESTAMPING -DCVM_TRACE -DCVM_TRACE_JIT -DCVM_PRELOAD_LIB -DCVM_STATICLINK_LIBS -DJ2ME_CLASSLIB=foundation -DTARGET_CPU_FAMILY=arm -DCVM_TRACE_ENABLED -DCVM_JIT_COPY_CCMCODE_TO_CODECACHE -DHAVE_64_BIT_IO -DARM -D_ARM -D__RVCT__ -DWINCE -DWIN32_LEAN_AND_MEAN -DWIN32_PLATFORM_PSPC -DUNICODE -D_UNICODE -DUNDER_CE=500 -D_WIN32_WCE=500 -D_ARM_ -DEDB -DPOCKETPC
host uname = CYGWIN_NT-5.1 si-aniket 1.5.25(0.156/4/2) 2008-04-17 12:11 i686 Cygwin
TARGET_CC version = Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50725 for ARM
HOST_CC version = 3.4.4 i686-pc-cygwin
CVM_JAVA version = java version 1.4.2_19
TOOLS_DIR = /cygdrive/c/pmea/tools
SDK_DIR = C:/Program Files/Windows CE Tools
VC_PATH = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC
PLATFORM_SDK_DIR = C:/Program Files/Windows CE Tools/wce500/Windows Mobile 5.0 Pocket PC SDK
PLATFORM_TOOLS_PATH = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm
COMMON_TOOLS_PATH = /cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/Tools/Bin
MIDP_DIR = /cygdrive/c/pmea/midp
PCSL_DIR = /cygdrive/c/pmea/pcsl
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/flags
Flag CVM_AGENTLIB changed. Cleaning up.
Flag CVM_AOT changed. Cleaning up.
Flag CVM_CCM_COLLECT_STATS changed. Cleaning up.
Flag CVM_CLASSLIB_JCOV changed. Cleaning up.
Flag CVM_CLASSLOADING changed. Cleaning up.
Flag CVM_CSTACKANALYSIS changed. Cleaning up.
Flag CVM_DEBUG changed. Cleaning up.
Flag CVM_DEBUG_ASSERTS changed. Cleaning up.
Flag CVM_DEBUG_CLASSINFO changed. Cleaning up.
Flag CVM_DEBUG_DUMPSTACK changed. Cleaning up.
Flag CVM_DEBUG_STACKTRACES changed. Cleaning up.
Flag CVM_DUAL_STACK changed. Cleaning up.
Flag CVM_DYNAMIC_LINKING changed. Cleaning up.
Flag CVM_EMBEDDED_HOOK changed. Cleaning up.
Flag CVM_GCCHOICE changed. Cleaning up.
Flag CVM_GCOV changed. Cleaning up.
Flag CVM_GPROF changed. Cleaning up.
Flag CVM_GPROF_NO_CALLGRAPH changed. Cleaning up.
Flag CVM_HOST changed. Cleaning up.
Flag CVM_INCLUDE_COMMCONNECTION changed. Cleaning up.
Flag CVM_INSPECTOR changed. Cleaning up.
Flag CVM_INSTRUCTION_COUNTING changed. Cleaning up.
Flag CVM_INTERPRETER_LOOP changed. Cleaning up.
Flag CVM_JAVAC_DEBUG changed. Cleaning up.
Flag CVM_JIT changed. Cleaning up.
Flag CVM_JIT_COLLECT_STATS changed. Cleaning up.
Flag CVM_JIT_COPY_CCMCODE_TO_CODECACHE changed. Cleaning up.
Flag CVM_JIT_DEBUG changed. Cleaning up.
Flag CVM_JIT_ESTIMATE_COMPILATION_SPEED changed. Cleaning up.
Flag CVM_JIT_PATCHED_METHOD_INVOCATIONS changed. Cleaning up.
Flag CVM_JIT_PROFILE changed. Cleaning up.
Flag CVM_JIT_REGISTER_LOCALS changed. Cleaning up.
Flag CVM_JIT_USE_FP_HARDWARE changed. Cleaning up.
Flag CVM_JVMPI changed. Cleaning up.
Flag CVM_JVMPI_TRACE_INSTRUCTION changed. Cleaning up.
Flag CVM_JVMTI changed. Cleaning up.
Flag CVM_KNI changed. Cleaning up.
Flag CVM_LVM changed. Cleaning up.
Flag CVM_MP_SAFE changed. Cleaning up.
Flag CVM_MTASK changed. Cleaning up.
Flag CVM_NO_CODE_COMPACTION changed. Cleaning up.
Flag CVM_NO_LOSSY_OPCODES changed. Cleaning up.
Flag CVM_OPTIMIZED changed. Cleaning up.
Flag CVM_PRELOAD_LIB changed. Cleaning up.
Flag CVM_PRELOAD_TEST changed. Cleaning up.
Flag CVM_PRODUCT changed. Cleaning up.
Flag CVM_REFLECT changed. Cleaning up.
Flag CVM_SERIALIZATION changed. Cleaning up.
Flag CVM_SPLIT_VERIFY changed. Cleaning up.
Flag CVM_STATICLINK_LIBS changed. Cleaning up.
Flag CVM_SYMBOLS changed. Cleaning up.
Flag CVM_TEST_GC changed. Cleaning up.
Flag CVM_TEST_GENERATION_GC changed. Cleaning up.
Flag CVM_THREAD_SUSPENSION changed. Cleaning up.
Flag CVM_TIMESTAMPING changed. Cleaning up.
Flag CVM_TRACE changed. Cleaning up.
Flag CVM_TRACE_JIT changed. Cleaning up.
Flag CVM_USE_CVM_MEMALIGN changed. Cleaning up.
Flag CVM_USE_MEM_MGR changed. Cleaning up.
Flag CVM_USE_NATIVE_TOOLS changed. Cleaning up.
Flag CVM_VERIFY_HEAP changed. Cleaning up.
Flag CVM_XRUN changed. Cleaning up.
Flag J2ME_CLASSLIB changed. Cleaning up.
Flag OPT_PKGS changed. Cleaning up.
Flag USE_GCI changed. Cleaning up.
Flag USE_JUMP changed. Cleaning up.
Flag USE_MIDP changed. Cleaning up.
... generating ../../build/win32-arm-wm5/cdc-midp/generated/javavm/include/build_defs.h

/*** Definitions generated at build time ***/
#ifndef _BUILD_DEFS_H
#define _BUILD_DEFS_H

#define CVM_BUILD_OPTIONS \
"CVM_AGENTLIB=false\n" \
"CVM_AOT=false\n" \
"CVM_CCM_COLLECT_STATS=false\n" \
"CVM_CLASSLIB_JCOV=false\n" \
"CVM_CLASSLOADING=true\n" \
"CVM_CSTACKANALYSIS=false\n" \
"CVM_DEBUG=true\n" \
"CVM_DEBUG_ASSERTS=true\n" \
"CVM_DEBUG_CLASSINFO=true\n" \
"CVM_DEBUG_DUMPSTACK=true\n" \
"CVM_DEBUG_STACKTRACES=true\n" \
"CVM_DUAL_STACK=true\n" \
"CVM_DYNAMIC_LINKING=true\n" \
"CVM_EMBEDDED_HOOK=false\n" \
"CVM_GCCHOICE=generational\n" \
"CVM_GCOV=false\n" \
"CVM_GPROF=false\n" \
"CVM_GPROF_NO_CALLGRAPH=true\n" \
"CVM_HOST=i686-cygwin-win32\n" \
"CVM_INCLUDE_COMMCONNECTION=false\n" \
"CVM_INSPECTOR=true\n" \
"CVM_INSTRUCTION_COUNTING=false\n" \
"CVM_INTERPRETER_LOOP=Standard\n" \
"CVM_JAVAC_DEBUG=true\n" \
"CVM_JIT=true\n" \
"CVM_JIT_COLLECT_STATS=\n" \
"CVM_JIT_COPY_CCMCODE_TO_CODECACHE=true\n" \
"CVM_JIT_DEBUG=false\n" \
"CVM_JIT_ESTIMATE_COMPILATION_SPEED=false\n" \
"CVM_JIT_PATCHED_METHOD_INVOCATIONS=false\n" \
"CVM_JIT_PROFILE=false\n" \
"CVM_JIT_REGISTER_LOCALS=true\n" \
"CVM_JIT_USE_FP_HARDWARE=false\n" \
"CVM_JVMPI=false\n" \
"CVM_JVMPI_TRACE_INSTRUCTION=false\n" \
"CVM_JVMTI=\n" \
"CVM_KNI=true\n" \
"CVM_LVM=false\n" \
"CVM_MP_SAFE=false\n" \
"CVM_MTASK=false\n" \
"CVM_NO_CODE_COMPACTION=false\n" \
"CVM_NO_LOSSY_OPCODES=\n" \
"CVM_OPTIMIZED=false\n" \
"CVM_PRELOAD_LIB=true\n" \
"CVM_PRELOAD_TEST=false\n" \
"CVM_PRODUCT=premium\n" \
"CVM_REFLECT=true\n" \
"CVM_SERIALIZATION=true\n" \
"CVM_SPLIT_VERIFY=false\n" \
"CVM_STATICLINK_LIBS=true\n" \
"CVM_SYMBOLS=true\n" \
"CVM_TEST_GC=false\n" \
"CVM_TEST_GENERATION_GC=false\n" \
"CVM_THREAD_SUSPENSION=false\n" \
"CVM_TIMESTAMPING=true\n" \
"CVM_TRACE=true\n" \
"CVM_TRACE_JIT=true\n" \
"CVM_USE_CVM_MEMALIGN=false\n" \
"CVM_USE_MEM_MGR=false\n" \
"CVM_USE_NATIVE_TOOLS=true\n" \
"CVM_VERIFY_HEAP=false\n" \
"CVM_XRUN=false\n" \
"J2ME_CLASSLIB=foundation\n" \
"OPT_PKGS=\n" \
"USE_GCI=false\n" \
"USE_JUMP=false\n" \
"USE_MIDP=true\n" \

#define CVM_PROP_JAVA_VERSION "phoneme_advanced_mr2-b34"
#define CVM_PROP_JAVA_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_VENDOR_URL "http://java.sun.com/"
#define CVM_PROP_JAVA_VENDOR_URL_BUG "http://java.sun.com/cgi-bin/bugreport.cgi"
#define CVM_PROP_JAVA_SPEC_NAME "Foundation Profile Specification"
#define CVM_PROP_JAVA_SPEC_VERSION "1.1"
#define CVM_PROP_JAVA_SPEC_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_CLASS_VERSION "47.0"
#define CVM_PROP_JAVA_VM_NAME "CVM"
#define CVM_PROP_JAVA_VM_VERSION "phoneme_advanced_mr2-b34"
#define CVM_PROP_SUN_MISC_PRODUCT "phoneME Advanced"
#define CVM_PROP_JAVA_VM_INFO "mixed mode"
#define CVM_PROP_JAVA_VM_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_VM_SPEC_NAME "Java Virtual Machine Specification"
#define CVM_PROP_JAVA_VM_SPEC_VERSION "1.0"
#define CVM_PROP_JAVA_VM_SPEC_VENDOR "Sun Microsystems Inc."
#define CVM_CLASSLIB_JAR_NAME "foundation.jar"
#define CVM_JARFILES CVM_CLASSLIB_JAR_NAME

#endif /* _BUILD_DEFS_H */

updating ../../build/win32-arm-wm5/cdc-midp/generated/build_defs.mk ...
... mkdir ../../build/win32-arm-wm5/cdc-midp/obj
... mkdir ../../build/win32-arm-wm5/cdc-midp/bin
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/javavm/runtime/opcodeconsts
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/classes/sun/misc
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/jni
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/cni
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/offsets
... mkdir ../../build/win32-arm-wm5/cdc-midp/btclasses
... mkdir ../../build/win32-arm-wm5/cdc-midp/testclasses
... mkdir ../../build/win32-arm-wm5/cdc-midp/democlasses
... mkdir ../../build/win32-arm-wm5/cdc-midp/lib
... mkdir ../../build/win32-arm-wm5/cdc-midp/lib/security
... mkdir ../../build/win32-arm-wm5/cdc-midp/classes.tools
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/javavm/include/jit
... mkdir ../../build/win32-arm-wm5/cdc-midp/jcs
... mkdir ../../build/win32-arm-wm5/cdc-midp/generated/classes/java/util
... mkdir ../../build/win32-arm-wm5/cdc-midp/classes.jcc
====> start pcsl build
generating config file...
building all modules...
cd /cygdrive/c/pmea/pcsl/types; make all
cd /cygdrive/c/pmea/pcsl/print; make all
building print module...
cd /cygdrive/c/pmea/pcsl/print/file/../..//file; make all
cd /cygdrive/c/pmea/pcsl/file/..//string; make all
cd /cygdrive/c/pmea/pcsl/string/../types; make all
building string util...
cd /cygdrive/c/pmea/pcsl/string/util/../../types; make all
/bin/sh: /cl.exe: No such file or directory
make[6]: *** [/cygdrive/c/pmea/cdc/build/win32-arm-wm5/cdc-midp/midp/pcsl_fb/wince_arm/obj/utf.o] Error 127
make[5]: *** [all] Error 2
make[4]: *** [string] Error 2
make[3]: *** [file] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [initbuild_profile] Error 2
If anybody knows the reason then tell me the solution for this.
Thanks in advance.

davyp
Offline
Joined: 2007-01-03
Points: 0

> cd /cygdrive/c/pmea/pcsl/string/util/../../types; make all
> /bin/sh: /cl.exe: No such file or directory
> make[6]: ***

I think some environment variable is either not or otherwise incorrectly set. This
is why the makefile build scripts are looking for your cl.exe compiler in the
wrong place and why it cannot be found. At first sight I don't see any
fundamental difference between your log file and mine.

Davy

aniketp
Offline
Joined: 2009-04-01
Points: 0

Thanks for your replies.
I have done the building for foundation profile now.
Now i am trying for MIDP.

aniketp
Offline
Joined: 2009-04-01
Points: 0

thanks for your quick reply.

I have set the two flags that you written earlier.Now I am getting error that i paste below.
........something........
.............................
lib ../../build/win32-arm-wm5/./obj/fdlibm.a
LINK.EXE -lib /nologo /out:../../build/win32-arm-wm5/./obj/fdlibm.a ../../build/win32-arm-wm5/./obj/e_acos.o ../../build/win32-arm-wm5/./obj/e_asin.o ../../build/win32-arm-wm5/./obj/e_atan2.o ../../build/win32-arm-wm5/./obj/e_exp.o ../../build/win32-arm-wm5/./obj/e_fmod.o ../../build/win32-arm-wm5/./obj/e_log.o ../../build/win32-arm-wm5/./obj/e_pow.o ../../build/win32-arm-wm5/./obj/e_rem_pio2.o ../../build/win32-arm-wm5/./obj/e_remainder.o ../../build/win32-arm-wm5/./obj/e_sqrt.o ../../build/win32-arm-wm5/./obj/k_cos.o ../../build/win32-arm-wm5/./obj/k_rem_pio2.o ../../build/win32-arm-wm5/./obj/k_sin.o ../../build/win32-arm-wm5/./obj/k_tan.o ../../build/win32-arm-wm5/./obj/s_atan.o ../../build/win32-arm-wm5/./obj/s_ceil.o ../../build/win32-arm-wm5/./obj/s_copysign.o ../../build/win32-arm-wm5/./obj/s_cos.o ../../build/win32-arm-wm5/./obj/s_fabs.o ../../build/win32-arm-wm5/./obj/s_floor.o ../../build/win32-arm-wm5/./obj/s_isnan.o ../../build/win32-arm-wm5/./obj/s_rint.o ../../build/win32-arm-wm5/./obj/s_scalbn.o ../../build/win32-arm-wm5/./obj/s_signgam.o ../../build/win32-arm-wm5/./obj/s_sin.o ../../build/win32-arm-wm5/./obj/s_tan.o ../../build/win32-arm-wm5/./obj/w_acos.o ../../build/win32-arm-wm5/./obj/w_asin.o ../../build/win32-arm-wm5/./obj/w_atan2.o ../../build/win32-arm-wm5/./obj/w_exp.o ../../build/win32-arm-wm5/./obj/w_fmod.o ../../build/win32-arm-wm5/./obj/w_gamma.o ../../build/win32-arm-wm5/./obj/w_log.o ../../build/win32-arm-wm5/./obj/w_pow.o ../../build/win32-arm-wm5/./obj/w_remainder.o ../../build/win32-arm-wm5/./obj/w_sqrt.o
true LINK.EXE -lib /nologo /out:../../build/win32-arm-wm5/./obj/fdlibm.a
Linking ../../build/win32-arm-wm5/./bin/cvmi.dll
LINK.EXE /implib:./bin/cvmi.lib /nologo /map /dll /incremental:yes /subsystem:windowsce,5.01 /base:0x00100000 /entry:_DllMainCRTStartup /export:jio_snprintf /export:CVMexpandStack /export:CVMtimeMillis /export:CVMIDprivate_allocateLocalRootUnsafe /export:CVMglobals /export:CVMsystemPanic /export:CVMcsRendezvous /export:CVMconsolePrintf /out:bin/cvmi.dll obj/gen_semispace.o obj/gen_markcompact.o obj/jitir.o obj/jitopt.o obj/jit_common.o obj/ccm_runtime.o obj/ccmintrinsics.o obj/gc_common.o obj/gc_impl.o obj/gc_stat.o obj/indirectmem.o obj/interpreter.o obj/named_sys_monitor.o obj/objsync.o obj/stackmaps.o obj/sync.o obj/ccmintrinsics_cpu.o obj/jitregman.o obj/ccmintrinsics_risc.o obj/arm_float_win32_arch.o obj/wceUtil.o obj/TimeStamps.o obj/timestamp.o obj/JIT.o obj/jitcompile.o obj/jitirnode.o obj/jitirlist.o obj/jitirrange.o obj/jitirblock.o obj/jitirdump.o obj/jitstackmap.o obj/jitcodebuffer.o obj/jitconstantpool.o obj/jitintrinsic.o obj/jitopcodemap.o obj/jitpcmap.o obj/jitutils.o obj/jitmemory.o obj/jitset.o obj/jitcomments.o obj/jitstats.o obj/jitdebug.o obj/classlink.o obj/classverify.o obj/constantpool.o obj/mangle.o obj/quicken.o obj/verifycode.o obj/basictypes.o obj/bcattr.o obj/bcutils.o obj/classinitialize.o obj/classcreate.o obj/classload.o obj/classlookup.o obj/classtable.o obj/classes.o obj/common_exceptions.o obj/cstates.o obj/float_fdlibm.o obj/globals.o obj/globalroots.o obj/jni_impl.o obj/jni_util.o obj/jvm.o obj/loadercache.o obj/localroots.o obj/opcodelen.o obj/opcodes.o obj/packages.o obj/preloader.o obj/reflect.o obj/stacks.o obj/stackwalk.o obj/stringintern.o obj/typeid.o obj/utils.o obj/porting_debug.o obj/verifyformat.o obj/weakrefs.o obj/Object.o obj/Class.o obj/ClassLoader.o obj/ByteToCharISO8859_1.o obj/CharToByteISO8859_1.o obj/CVM.o obj/DatagramPacket.o obj/Finalizer.o obj/Float.o obj/GC.o obj/Double.o obj/Launcher.o obj/Package.o obj/Runtime.o obj/Shutdown.o obj/System.o obj/SecurityManager.o obj/TimeZone.o obj/Thread.o obj/Throwable.o obj/StrictMath.o obj/Array.o obj/Field.o obj/Method.o obj/Proxy.o obj/Constructor.o obj/FileDescriptor.o obj/FileInputStream.o obj/FileOutputStream.o obj/ObjectInputStream.o obj/ObjectStreamClass.o obj/ObjectOutputStream.o obj/InetAddress.o obj/AccessController.o obj/ResourceBundle.o obj/String.o obj/Inflater.o obj/Vector.o obj/StringBuffer.o obj/javaAssertions.o obj/Inet4Address.o obj/Inet6Address.o obj/net_util.o obj/CharacterData.o obj/CharacterDataLatin1.o obj/CRC32.o obj/ZipFile.o obj/ZipEntry.o obj/zadler32.o obj/zcrc32.o obj/deflate.o obj/trees.o obj/zutil.o obj/inflate.o obj/infblock.o obj/inftrees.o obj/infcodes.o obj/infutil.o obj/inffast.o obj/zip_util.o obj/Compiler.o obj/Adler32.o obj/RandomAccessFile.o obj/Deflater.o obj/jitcodegen.o obj/jitcodegentable.o obj/jitfixup.o obj/jitstackman.o obj/jitopcodes.o obj/jitemitter_cpu.o obj/jitinit_cpu.o obj/jit_risc.o obj/jitemitter.o obj/io_md.o obj/net_md.o obj/time_md.o obj/io_util.o obj/sync_md.o obj/system_md.o obj/threads_md.o obj/globals_md.o obj/java_props_md.o obj/tchar.o obj/memory_md.o obj/linker_md.o obj/jit_md.o obj/jit_arch.o obj/wceIOWrite.o obj/PlainSocketImpl_md.o obj/SocketInputStream_md.o obj/SocketOutputStream_md.o obj/WinCAPISeedGenerator.o obj/Runtime_md.o obj/FileSystem_md.o obj/InetAddressImplFactory.o obj/Inet6AddressImpl.o obj/Inet4AddressImpl.o obj/timezone_md.o obj/net_util_md.o obj/io_util_md.o obj/dirent_md.o obj/NetworkInterface.o obj/PlainDatagramSocketImpl_md.o obj/WinCEDatagramSocketImpl_md.o obj/Win32FileSystem_md.o obj/WinNTFileSystem_md.o obj/canonicalize_md.o obj/executejava_standard.o obj/jit_cpu.o obj/ccmcodecachecopy_arch.o obj/atomic.o obj/invokeNative_sarm.o obj/flushcache_arch.o obj/libromjava.a obj/fdlibm.a commctrl.lib coredll.lib corelibc.lib wininet.lib winsock.lib C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB /LIBPATH:"C:/Program Files/Microsoft Visual Studio 8/VC/ce/lib/armv4i" /LIBPATH:"C:/Program Files/Microsoft Visual Studio 8/VC/ce/atlmfc/lib/armv4i" /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /nodefaultlib:oldnames.lib
LINK : fatal error LNK1181: cannot open input file 'C:WINDOWSMicrosoft.NETFrameworkv2.0.50727'
bash: C:Program: command not found
make: *** [../../build/win32-arm-wm5/./bin/cvmi.dll] Error 127
So please give me the solution for this.
thanks in advance.

aniketp
Offline
Joined: 2009-04-01
Points: 0

Now, I am manage to solve that zip error.But I am getting different error that i paste it below.
........something......
Checking for build-time classes to compile ...
... generating BuildFlags.java
... ../../build/win32-arm-wm5/./generated/classes/sun/misc/BuildFlags.java
... generating sun.misc.DefaultLocaleList.java
... ../../build/win32-arm-wm5/./generated/classes/sun/misc/DefaultLocaleList.java
... generating PackageManager.java
... generating CurrencyData.java
Compiling build-time classes...
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
... /cygdrive/c/pmea/cdc/build/win32-arm-wm5/btclasses.zip
Checking for phoneME Advanced classes to compile ...
Checking for test classes to compile ...
Compiling test classes...
... /cygdrive/c/pmea/cdc/build/win32-arm-wm5/testclasses.zip
Checking for demo classes to compile ...
Compiling demo classes...
... /cygdrive/c/pmea/cdc/build/win32-arm-wm5/democlasses.jar
... ../../build/win32-arm-wm5/./classes.jcc/GenOpcodes.class
Note: ..\..\src\share\javavm\jcc\util\BufferedPrintStream.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
... ../../src/share/javavm/include/opcodes.list
... ../../build/win32-arm-wm5/./classes.jcc/JavaCodeCompact.class
Note: ..\..\src\share\javavm\jcc\util\LinkerUtil.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
jcc romjava.c files
1240 Total Classes
... of which 271 classes have static initializers
(11101/16635 quickening sites)
11349 method blocks
... of which 11349 blocks are writable
... for 1132 classes
... of which 3617 have checkinit opcodes in the code
582657 bytes of Java code
2116 catch frames
5008 field blocks
1050 inner class attribute entries
16133 constant pool entries
6231 Java strings
... ../../build/win32-arm-wm5/./generated/javavm/runtime/system_properties.c
cc ../../src/share/javavm/runtime/gc/generational/gen_semispace.c
make: *** [../../build/win32-arm-wm5/./obj/gen_semispace.o] Error 53
If you know reason then please reply to this thread.

davyp
Offline
Joined: 2007-01-03
Points: 0

I guess there is something wrong with your build setup. Your log is not providing a lot of
information to figure out why gen_semispace.c compilation is failing. Could you perhaps build the
sources with the following flags:

USE_VERBOSE_MAKE=true
VERBOSE_BUILD=true

Davy

aniketp
Offline
Joined: 2009-04-01
Points: 0

I am also having the same version that you are having.If there is problem in my zip package of cygwin from where i will get that package for download then reinstall it.

aniketp
Offline
Joined: 2009-04-01
Points: 0

Thanks for your reply.
I have check this two files.I have included cmp now and zip is already there.Still i am facing the same problem.
..........same as above......
Checking for build-time classes to compile ...
... generating BuildFlags.java
... ../../build/win32-x86-vc8/./generated/classes/sun/misc/BuildFlags.java
... generating sun.misc.DefaultLocaleList.java
... ../../build/win32-x86-vc8/./generated/classes/sun/misc/DefaultLocaleList.java
... generating PackageManager.java
... generating CurrencyData.java
Compiling build-time classes...
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
... /cygdrive/c/pmea/cdc/build/win32-x86-vc8/btclasses.zip
s=0, actual=-1
zip error: Internal logic error (incorrect compressed size)
make: *** [/cygdrive/c/pmea/cdc/build/win32-x86-vc8/btclasses.zip] Error 5
If you know reason of zip error then please tell me that.

davyp
Offline
Joined: 2007-01-03
Points: 0

I have no idea what is going on with your zip. I did notice that you are now
building for Windows/x86 and no longer for Windows Mobile, but for the zip
command that should not make any difference.

This is the version I have:

Copyright (C) 1990-1999 Info-ZIP
Type 'zip "-L"' for software license.
Zip 2.3 (November 29th 1999). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]

Davy

aniketp
Offline
Joined: 2009-04-01
Points: 0

Now i am pasting the full error message below plz reply as early as possible becoz its urgent.

../share/rules.mk:552: ../../build/win32-arm-wm5/./generated/empty.mk: No such file or directory
... mkdir ../../build/win32-arm-wm5/./generated/javavm/runtime
... mkdir ../../build/win32-arm-wm5/./generated/javavm/runtime/jit
... mkdir ../../build/win32-arm-wm5/./generated/classes
touch ../../build/win32-arm-wm5/./generated/empty.mk
MAKEFLAGS = CVM_COMPILER_INCOMPATIBLE=false TOOLS_DIR=/cygdrive/c/pmea/tools CVM_PRELOAD_LIB=true CVM_JIT=true J2ME_CLASSLIB=foundation JDK_HOME=C:/j2sdk1.4.2_19
CVM_HOST = i686-cygwin-win32
CVM_TARGET = win32-arm-wm5
SHELL = bash
HOST_CC = /usr/bin/cc
HOST_CCC = /usr/bin/g++
ZIP = /usr/bin/zip
FLEX = /usr/bin/flex
BISON = /usr/bin/bison
CVM_JAVA = C:/j2sdk1.4.2_19/bin/java
CVM_JAVAC = C:/j2sdk1.4.2_19/bin/javac
CVM_JAVAH = C:/j2sdk1.4.2_19/bin/javah
CVM_JAR = C:/j2sdk1.4.2_19/bin/jar
TARGET_CC = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/CL.EXE
TARGET_CCC = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/CL.EXE
TARGET_AS = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/ARMASM.EXE
TARGET_LD = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/LINK.EXE
TARGET_AR = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm/LINK.EXE
TARGET_RANLIB = /usr/bin/ranlib
LINKFLAGS = /implib:./bin/cvmi.lib /nologo /map /dll /incremental:yes /subsystem:windowsce,5.01 /base:0x00100000 /entry:_DllMainCRTStartup /export:jio_snprintf /export:CVMexpandStack /export:CVMtimeMillis /export:CVMIDprivate_allocateLocalRootUnsafe /export:CVMglobals /export:CVMsystemPanic /export:CVMcsRendezvous /export:CVMconsolePrintf
LINKLIBS = commctrl.lib coredll.lib corelibc.lib wininet.lib winsock.lib /LIBPATH:C:/Program Files/Microsoft Visual Studio 8/VC/ce/lib/armv4i /LIBPATH:C:/Program Files/Microsoft Visual Studio 8/VC/ce/atlmfc/lib/armv4i /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /nodefaultlib:oldnames.lib
ASM_FLAGS = -CPU StrongARM1 -32 -NOTerse -WIdth 132 -list .lst .i
CCCFLAGS =
CCFLAGS_SPEED = /nologo /c /W2 /GS- /O2 /Ob2 /Ot -DNDEBUG
CCFLAGS_SPACE = /nologo /c /W2 /GS- /O1 /Ob1 -DNDEBUG
CCFLAGS_LOOP = /nologo /c /W2 /GS- /O2 /Ob2 /Ot -DNDEBUG
CCFLAGS_FDLIB = /nologo /c /W2 /GS- -DNDEBUG /Od
JAVAC_OPTIONS = -g:none -J-Xms32m -J-Xmx128m -encoding iso8859-1 -source 1.4 -target 1.4
CVM_DEFINES = -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKING -DCVM_JIT -DCVM_JIT_REGISTER_LOCALS -DCVM_TIMESTAMPING -DCVM_PRELOAD_LIB -DCVM_STATICLINK_LIBS -DJ2ME_CLASSLIB=foundation -DTARGET_CPU_FAMILY=arm -DCVM_JIT_COPY_CCMCODE_TO_CODECACHE -DHAVE_64_BIT_IO -DNDEBUG -DARM -D_ARM -D__RVCT__ -DWINCE -DWIN32_LEAN_AND_MEAN -DWIN32_PLATFORM_PSPC -DUNICODE -D_UNICODE -DUNDER_CE=500 -D_WIN32_WCE=500 -D_ARM_ -DEDB -DPOCKETPC
host uname = CYGWIN_NT-5.1 si-aniket 1.5.25(0.156/4/2) 2008-04-17 12:11 i686 Cygwin
TARGET_CC version =
HOST_CC version = 3.4.4 i686-pc-cygwin
CVM_JAVA version = java version 1.4.2_19
TOOLS_DIR = /cygdrive/c/pmea/tools
SDK_DIR = C:/Program Files/Windows CE Tools
VC_PATH = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC
PLATFORM_SDK_DIR = C:/Program Files/Windows CE Tools/wce500/Windows Mobile 5.0 Pocket PC SDK
PLATFORM_TOOLS_PATH = /cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/ce/bin/x86_arm
COMMON_TOOLS_PATH = /cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/Tools/Bin
... mkdir ../../build/win32-arm-wm5/./generated/flags
Flag CVM_AGENTLIB changed. Cleaning up.
Flag CVM_AOT changed. Cleaning up.
Flag CVM_CCM_COLLECT_STATS changed. Cleaning up.
Flag CVM_CLASSLIB_JCOV changed. Cleaning up.
Flag CVM_CLASSLOADING changed. Cleaning up.
Flag CVM_CSTACKANALYSIS changed. Cleaning up.
Flag CVM_DEBUG changed. Cleaning up.
Flag CVM_DEBUG_ASSERTS changed. Cleaning up.
Flag CVM_DEBUG_CLASSINFO changed. Cleaning up.
Flag CVM_DEBUG_DUMPSTACK changed. Cleaning up.
Flag CVM_DEBUG_STACKTRACES changed. Cleaning up.
Flag CVM_DUAL_STACK changed. Cleaning up.
Flag CVM_DYNAMIC_LINKING changed. Cleaning up.
Flag CVM_EMBEDDED_HOOK changed. Cleaning up.
Flag CVM_GCCHOICE changed. Cleaning up.
Flag CVM_GCOV changed. Cleaning up.
Flag CVM_GPROF changed. Cleaning up.
Flag CVM_GPROF_NO_CALLGRAPH changed. Cleaning up.
Flag CVM_HOST changed. Cleaning up.
Flag CVM_INCLUDE_COMMCONNECTION changed. Cleaning up.
Flag CVM_INSPECTOR changed. Cleaning up.
Flag CVM_INSTRUCTION_COUNTING changed. Cleaning up.
Flag CVM_INTERPRETER_LOOP changed. Cleaning up.
Flag CVM_JAVAC_DEBUG changed. Cleaning up.
Flag CVM_JIT changed. Cleaning up.
Flag CVM_JIT_COLLECT_STATS changed. Cleaning up.
Flag CVM_JIT_COPY_CCMCODE_TO_CODECACHE changed. Cleaning up.
Flag CVM_JIT_DEBUG changed. Cleaning up.
Flag CVM_JIT_ESTIMATE_COMPILATION_SPEED changed. Cleaning up.
Flag CVM_JIT_PATCHED_METHOD_INVOCATIONS changed. Cleaning up.
Flag CVM_JIT_PROFILE changed. Cleaning up.
Flag CVM_JIT_REGISTER_LOCALS changed. Cleaning up.
Flag CVM_JIT_USE_FP_HARDWARE changed. Cleaning up.
Flag CVM_JVMPI changed. Cleaning up.
Flag CVM_JVMPI_TRACE_INSTRUCTION changed. Cleaning up.
Flag CVM_JVMTI changed. Cleaning up.
Flag CVM_KNI changed. Cleaning up.
Flag CVM_LVM changed. Cleaning up.
Flag CVM_MP_SAFE changed. Cleaning up.
Flag CVM_MTASK changed. Cleaning up.
Flag CVM_NO_CODE_COMPACTION changed. Cleaning up.
Flag CVM_NO_LOSSY_OPCODES changed. Cleaning up.
Flag CVM_OPTIMIZED changed. Cleaning up.
Flag CVM_PRELOAD_LIB changed. Cleaning up.
Flag CVM_PRELOAD_TEST changed. Cleaning up.
Flag CVM_PRODUCT changed. Cleaning up.
Flag CVM_REFLECT changed. Cleaning up.
Flag CVM_SERIALIZATION changed. Cleaning up.
Flag CVM_SPLIT_VERIFY changed. Cleaning up.
Flag CVM_STATICLINK_LIBS changed. Cleaning up.
Flag CVM_SYMBOLS changed. Cleaning up.
Flag CVM_TEST_GC changed. Cleaning up.
Flag CVM_TEST_GENERATION_GC changed. Cleaning up.
Flag CVM_THREAD_SUSPENSION changed. Cleaning up.
Flag CVM_TIMESTAMPING changed. Cleaning up.
Flag CVM_TRACE changed. Cleaning up.
Flag CVM_TRACE_JIT changed. Cleaning up.
Flag CVM_USE_CVM_MEMALIGN changed. Cleaning up.
Flag CVM_USE_MEM_MGR changed. Cleaning up.
Flag CVM_USE_NATIVE_TOOLS changed. Cleaning up.
Flag CVM_VERIFY_HEAP changed. Cleaning up.
Flag CVM_XRUN changed. Cleaning up.
Flag J2ME_CLASSLIB changed. Cleaning up.
Flag OPT_PKGS changed. Cleaning up.
Flag USE_GCI changed. Cleaning up.
Flag USE_JUMP changed. Cleaning up.
Flag USE_MIDP changed. Cleaning up.
... generating ../../build/win32-arm-wm5/./generated/javavm/include/build_defs.h

/*** Definitions generated at build time ***/
#ifndef _BUILD_DEFS_H
#define _BUILD_DEFS_H

#define CVM_BUILD_OPTIONS \
"CVM_AGENTLIB=false\n" \
"CVM_AOT=false\n" \
"CVM_CCM_COLLECT_STATS=false\n" \
"CVM_CLASSLIB_JCOV=false\n" \
"CVM_CLASSLOADING=true\n" \
"CVM_CSTACKANALYSIS=false\n" \
"CVM_DEBUG=false\n" \
"CVM_DEBUG_ASSERTS=false\n" \
"CVM_DEBUG_CLASSINFO=false\n" \
"CVM_DEBUG_DUMPSTACK=false\n" \
"CVM_DEBUG_STACKTRACES=true\n" \
"CVM_DUAL_STACK=false\n" \
"CVM_DYNAMIC_LINKING=true\n" \
"CVM_EMBEDDED_HOOK=false\n" \
"CVM_GCCHOICE=generational\n" \
"CVM_GCOV=false\n" \
"CVM_GPROF=false\n" \
"CVM_GPROF_NO_CALLGRAPH=true\n" \
"CVM_HOST=i686-cygwin-win32\n" \
"CVM_INCLUDE_COMMCONNECTION=false\n" \
"CVM_INSPECTOR=false\n" \
"CVM_INSTRUCTION_COUNTING=false\n" \
"CVM_INTERPRETER_LOOP=Standard\n" \
"CVM_JAVAC_DEBUG=false\n" \
"CVM_JIT=true\n" \
"CVM_JIT_COLLECT_STATS=\n" \
"CVM_JIT_COPY_CCMCODE_TO_CODECACHE=true\n" \
"CVM_JIT_DEBUG=false\n" \
"CVM_JIT_ESTIMATE_COMPILATION_SPEED=false\n" \
"CVM_JIT_PATCHED_METHOD_INVOCATIONS=false\n" \
"CVM_JIT_PROFILE=false\n" \
"CVM_JIT_REGISTER_LOCALS=true\n" \
"CVM_JIT_USE_FP_HARDWARE=false\n" \
"CVM_JVMPI=false\n" \
"CVM_JVMPI_TRACE_INSTRUCTION=false\n" \
"CVM_JVMTI=\n" \
"CVM_KNI=false\n" \
"CVM_LVM=false\n" \
"CVM_MP_SAFE=false\n" \
"CVM_MTASK=false\n" \
"CVM_NO_CODE_COMPACTION=false\n" \
"CVM_NO_LOSSY_OPCODES=\n" \
"CVM_OPTIMIZED=true\n" \
"CVM_PRELOAD_LIB=true\n" \
"CVM_PRELOAD_TEST=false\n" \
"CVM_PRODUCT=premium\n" \
"CVM_REFLECT=true\n" \
"CVM_SERIALIZATION=true\n" \
"CVM_SPLIT_VERIFY=false\n" \
"CVM_STATICLINK_LIBS=true\n" \
"CVM_SYMBOLS=false\n" \
"CVM_TEST_GC=false\n" \
"CVM_TEST_GENERATION_GC=false\n" \
"CVM_THREAD_SUSPENSION=false\n" \
"CVM_TIMESTAMPING=true\n" \
"CVM_TRACE=false\n" \
"CVM_TRACE_JIT=false\n" \
"CVM_USE_CVM_MEMALIGN=false\n" \
"CVM_USE_MEM_MGR=false\n" \
"CVM_USE_NATIVE_TOOLS=true\n" \
"CVM_VERIFY_HEAP=false\n" \
"CVM_XRUN=false\n" \
"J2ME_CLASSLIB=foundation\n" \
"OPT_PKGS=\n" \
"USE_GCI=false\n" \
"USE_JUMP=false\n" \
"USE_MIDP=false\n" \

#define CVM_PROP_JAVA_VERSION "phoneme_advanced_mr2-b34"
#define CVM_PROP_JAVA_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_VENDOR_URL "http://java.sun.com/"
#define CVM_PROP_JAVA_VENDOR_URL_BUG "http://java.sun.com/cgi-bin/bugreport.cgi"
#define CVM_PROP_JAVA_SPEC_NAME "Foundation Profile Specification"
#define CVM_PROP_JAVA_SPEC_VERSION "1.1"
#define CVM_PROP_JAVA_SPEC_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_CLASS_VERSION "47.0"
#define CVM_PROP_JAVA_VM_NAME "CVM"
#define CVM_PROP_JAVA_VM_VERSION "phoneme_advanced_mr2-b34"
#define CVM_PROP_SUN_MISC_PRODUCT "phoneME Advanced"
#define CVM_PROP_JAVA_VM_INFO "mixed mode"
#define CVM_PROP_JAVA_VM_VENDOR "Sun Microsystems Inc."
#define CVM_PROP_JAVA_VM_SPEC_NAME "Java Virtual Machine Specification"
#define CVM_PROP_JAVA_VM_SPEC_VERSION "1.0"
#define CVM_PROP_JAVA_VM_SPEC_VENDOR "Sun Microsystems Inc."
#define CVM_CLASSLIB_JAR_NAME "foundation.jar"
#define CVM_JARFILES CVM_CLASSLIB_JAR_NAME

#endif /* _BUILD_DEFS_H */

updating ../../build/win32-arm-wm5/./generated/build_defs.mk ...
... mkdir ../../build/win32-arm-wm5/./obj
... mkdir ../../build/win32-arm-wm5/./bin
... mkdir ../../build/win32-arm-wm5/./generated/javavm/runtime/opcodeconsts
... mkdir ../../build/win32-arm-wm5/./generated/classes/sun/misc
... mkdir ../../build/win32-arm-wm5/./generated/jni
... mkdir ../../build/win32-arm-wm5/./generated/cni
... mkdir ../../build/win32-arm-wm5/./generated/offsets
... mkdir ../../build/win32-arm-wm5/./btclasses
... mkdir ../../build/win32-arm-wm5/./testclasses
... mkdir ../../build/win32-arm-wm5/./democlasses
... mkdir ../../build/win32-arm-wm5/./lib
... mkdir ../../build/win32-arm-wm5/./lib/security
... mkdir ../../build/win32-arm-wm5/./classes.tools
... mkdir ../../build/win32-arm-wm5/./generated/javavm/include/jit
... mkdir ../../build/win32-arm-wm5/./jcs
... mkdir ../../build/win32-arm-wm5/./generated/classes/java/util
... mkdir ../../build/win32-arm-wm5/./classes.jcc
Checking for build-time classes to compile ...
... generating BuildFlags.java
bash: cmp: command not found
... ../../build/win32-arm-wm5/./generated/classes/sun/misc/BuildFlags.java
... generating sun.misc.DefaultLocaleList.java
bash: cmp: command not found
... ../../build/win32-arm-wm5/./generated/classes/sun/misc/DefaultLocaleList.java
... generating PackageManager.java
... generating CurrencyData.java
Compiling build-time classes...
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
make: Warning: File `../../build/win32-arm-wm5/./.btclasses' has modification time 0.038 s in the future
... /cygdrive/c/pmea/cdc/build/win32-arm-wm5/btclasses.zip
s=0, actual=-1
zip error: Internal logic error (incorrect compressed size)
make: *** [/cygdrive/c/pmea/cdc/build/win32-arm-wm5/btclasses.zip] Error 5

davyp
Offline
Joined: 2007-01-03
Points: 0

Not sure what is going on with the zip command, as I have no problem compiling the latest
sources. However, as cmp is not found either, I think your cygwin installation is missing some
crucial tools. Check whether you have c:\cygwin\bin\zip.exe and c:\cygwin\bin\cmp.exe
installed.

Davy