Skip to main content

Compile PhoneME error when Use EVC 4.0

3 replies [Last post]
91program
Offline
Joined: 2009-05-19

I download PhoneME source form https://phoneme.dev.java.net/downloads_page.html

and apple all patch from http://www.cs.kuleuven.be/~davy/phoneme/?q=node/6

But the patch abstractions.diff failed!

Then I compile the PhoneME in cygwin.I use the following cmd:

--------------------------

export EVC_ARCH_PATH="/cygdrive/d/PROGRA~1/MICROS~1.0/EVC/wce500/bin"
export EVC_COMMON_PATH="/cygdrive/d/PROGRA~1/MICROS~1.0/Common/EVC/bin"
export EVC_ARM_INCLUDE="/cygdrive/d/PROGRA~1/WINDOW~1/wce500/vogue101/include/armv4"
export EVC_ARM_LIB="/cygdrive/d/PROGRA~1/WINDOW~1/wce500/vogue101/lib/armv4"
export EVC_ARM_PATH="/cygdrive/d/PROGRA~1/MICROS~1.0/EVC/wce500/bin"

export TOP=/PhoneME/phoneme_feature
export OUTPUT=/out

cd $TOP/cldc/build/wince_arm

make JDK_DIR=/cygdrive/d/j2sdk1.4.2 JVMWorkSpace=$TOP/cldc JVMBuildSpace=$OUTPUT/cldc EVC_ARCH_PATH="$EVC_ARCH_PATH" EVC_COMMON_PATH="$EVC_COMMON_PATH" ENABLE_ISOLATES=true USE_VS2005=false

--------------------------

Compile error info is:
make[1]: Entering directory `/PhoneME/phoneme_feature/cldc/build/wince_arm'
... copied root Makefiles
make[1]: Leaving directory `/PhoneME/phoneme_feature/cldc/build/wince_arm'
==================================
JVMBuildSpace = /out/cldc
JVMWorkSpace = /PhoneME/phoneme_feature/cldc
ROMIZING = true
SHELL = /bin/sh
ENABLE_ISOLATES = true
ENABLE_MONET =
==================================
created /out/cldc/wince_arm/tools/Makefile
==============================
creating build tools...
==============================
make[1]: Entering directory `/out/cldc/wince_arm/tools'
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
created jcc.jar
created buildtool.jar
make[1]: Leaving directory `/out/cldc/wince_arm/tools'
done
Finding .java files ...
done
created /out/cldc/wince_arm/loopgen/app/Makefile
==============================
creating ASM loop generator in debug mode
build flags: NO_DEBUG_SYMBOLS=true
==============================
make[1]: Entering directory `/out/cldc/wince_arm/loopgen/app'
Exception in thread "main" java.util.zip.ZipException: System cannot find the path
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:112)
at java.util.jar.JarFile.(JarFile.java:127)
at java.util.jar.JarFile.(JarFile.java:65)
make[1]: *** [../generated/jvmconfig.h] Error 1
make[1]: Leaving directory `/out/cldc/wince_arm/loopgen/app'
make: *** [_loopgen] Error 2

Can anyone tell me why???

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
91program
Offline
Joined: 2009-05-19

Can anyone help me?
I use different version of make,such as 3.8.0,the error info as following:
(But when I change make's version to 3.8.1,the error info not changed.)

make[1]: Entering directory `/PhoneME/phoneme_feature/cldc/build/wince_arm'
... copied root Makefiles
make[1]: Leaving directory `/PhoneME/phoneme_feature/cldc/build/wince_arm'
==================================
JVMBuildSpace = /out/cldc
JVMWorkSpace = /PhoneME/phoneme_feature/cldc
ROMIZING = true
SHELL = /bin/sh
ENABLE_ISOLATES = true
ENABLE_MONET =
==================================
created /out/cldc/wince_arm/tools/Makefile
==============================
creating build tools...
==============================
make[1]: Entering directory `/out/cldc/wince_arm/tools'
error: cannot read: /PhoneME/phoneme_feature/cldc/src/tools/jcc/JavaCodeCompact.
java
1 error
make[1]: *** [jcc.jar] Error 1
make[1]: Leaving directory `/out/cldc/wince_arm/tools'
make: *** [tools] Error 2

davyp
Offline
Joined: 2007-01-03

I am not sure, but it is possible that the build environment is mixing up unix
style and windows style paths. Under cygwin and cyg4me, the windows path
c:\PhoneME would be available in cygwin at /cygdrive/c/PhoneME.

So, start a unix sh shell, and check whether the following file with unix path
exists: /PhoneME/phoneme_feature/cldc/src/tools/jcc/JavaCodeCompact.java
Also make sure that the files have the read permission.

Davy

91program
Offline
Joined: 2009-05-19

Thanks a lot for your answer,davyp.

I want to use ENC4.0 and compile the PhoneME to Windows CE 5.0.
Should I use windows xp or cygwin to compile?

Which steps should I take?