Skip to main content

Build PhoneME Advanced error:Unable to access jarfile .../Configurator.jar

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

Compile info is:
$ make

========================
MIDP Build Configuration
========================

VAR_IMPORT_FROM =

USE_NATIVE_APP_MANAGER = false
USE_NATIVE_INSTALLER = false
USE_NATIVE_SUITE_STORAGE = false
USE_NATIVE_RMS = false
USE_NAMS_TEST_SERVICE = false
USE_RAW_AMS_IMAGES = true
USE_RESTRICTED_CRYPTO = false
USE_SSL = false
USE_BINARY_CRYPTO = false
USE_FIXED = false
USE_CLDC_11 = true
USE_MONET = false
USE_STATIC_PROPERTIES = true
USE_GCC = false
USE_I3_TEST = false
USE_IMAGE_CACHE = true
USE_ICON_CACHE = false
USE_JAVA_DEBUGGER = false
USE_JAVA_PROFILER = false
USE_MIDP_MALLOC = true
USE_MULTIPLE_ISOLATES = false
USE_DEBUG = false
USE_GCOV = false
USE_CLDC_RELEASE = false
USE_NATIVE_PROFILER = false
USE_NETWORK_INDICATOR = true
USE_NUTS_FRAMEWORK = false
USE_RMS_TREE_INDEX = false
USE_MIDP_ABB = false
USE_JSR_177 = false
USE_JSR_75 = false
USE_JSR_82 = false
USE_JSR_120 = false
USE_JSR_172 = false
USE_JSR_226 = false
USE_PISCES = false
USE_JSR_179 = false
USE_JSR_293 = false
USE_JSR_180 = false
USE_JSR_184 = false
USE_JSR_205 = false
USE_JSR_211 = false
USE_JSR_229 = false
USE_JSR_230 = false
USE_JSR_234 = false
USE_JSR_135 = false
USE_JSR_238 = false
USE_JSR_239 = false
USE_JSR_280 = false
USE_JSR_256 = false
USE_JSR_257 = false
USE_JSR_281 = false
USE_JSR_290 = false
USE_ABSTRACTIONS = false
USE_VERBOSE_MAKE = false
USE_CONTROL_ARGS_FROM_JAD = false
USE_JPEG = false
USE_GCI = false
USE_DIRECTDRAW = false
USE_FILE_SYSTEM = true
USE_NATIVE_PTI = true
USE_MULTIPLE_DISPLAYS = false
USE_VERIFY_ONCE = false
USE_EXTENDED_ATTRIBUTES = false
USE_VM_PROFILES = true
USE_SERVER_SOCKET = true
USE_ON_DEVICE_DEBUG = false
USE_WTK_DEBUG = false
USE_SYSTEM_CLASSES_DEBUG = false
USE_OCSP = false
USE_DYNAMIC_COMPONENTS = false
USE_AMS_FOLDERS = false
USE_AUTOTESTER = true

CFLAGS = -DNO_GETENV -DENABLE_CDC=1 -DENABLE_MIDP_MALLOC=1 -DENA
BLE_IMAGE_CACHE=1 -DENABLE_ICON_CACHE=0 -DENABLE_I3_TEST=0 -DENABLE_NUTS_FRAM
EWORK=0 -DENABLE_NETWORK_INDICATOR=1 -DENABLE_MULTIPLE_ISOLATES=0 -DENABLE_MU
LTIPLE_DISPLAYS=0 -DENABLE_JAVA_DEBUGGER=0 -DENABLE_NATIVE_APP_MANAGER=0 -DENABL
E_NAMS_TEST_SERVICE=0 -DENABLE_NATIVE_INSTALLER=0 -DENABLE_NATIVE_SUITE_STORAGE=
0 -DENABLE_NATIVE_RMS=0 -DENABLE_NATIVE_PTI=1 -DENABLE_MESSAGE_STRINGS=0 -DENABL
E_CLDC_11=1 -DENABLE_VM_PROFILES=1 -DENABLE_MONET=0 -DENABLE_SERVER_SOCKET=1 -DE
NABLE_JPEG=0 -DENABLE_DIRECT_DRAW=0 -DENABLE_FILE_SYSTEM=1 -DENABLE_ON_DEVICE_DE
BUG=0 -DENABLE_WTK_DEBUG=0 -DENABLE_AMS_FOLDERS=0 -DENABLE_OCSP=0 -DENABLE_DYNAM
IC_COMPONENTS=0 -DPROJECT_NAME='phoneME Feature project' -DPRODUCT -DENABLE_DEBU
G=0 -DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELEASE='Administrator:06.05.09-10:01' -D
IMPL_VERSION='' -DFULL_VERSION='Administrator:06.05.09-10:01' /nologo /c /W2 /MC
-D__STDC__ /MD /O2 /Ob2 /Ot -DNDEBUG -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -D
NDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKIN
G -DCVM_JIT -DCVM_DUAL_STACK -DCVM_SPLIT_VERIFY -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 -DCVM_DLL -DHAVE_64_
BIT_IO -DNDEBUG -DARM -D_ARM -D__RVCT__ -DWINCE -DWIN32_LEAN_AND_MEAN -DWIN32_PL
ATFORM_PSPC -DUNICODE -D_UNICODE -DUNDER_CE=500 -D_WIN32_WCE=500 -D_ARM_ -DEDB -
DNO_GETENV=1 -DENABLE_DIRECT_DRAW=0 -DENABLE_RECORDSTORE_FILE_LOCK=1

CPPFLAGS = -DNO_GETENV -DENABLE_CDC=1 -DENABLE_MIDP_MALLOC=1 -DEN
ABLE_IMAGE_CACHE=1 -DENABLE_ICON_CACHE=0 -DENABLE_I3_TEST=0 -DENABLE_NUTS_FRA
MEWORK=0 -DENABLE_NETWORK_INDICATOR=1 -DENABLE_MULTIPLE_ISOLATES=0 -DENABLE_M
ULTIPLE_DISPLAYS=0 -DENABLE_JAVA_DEBUGGER=0 -DENABLE_NATIVE_APP_MANAGER=0 -DENAB
LE_NAMS_TEST_SERVICE=0 -DENABLE_NATIVE_INSTALLER=0 -DENABLE_NATIVE_SUITE_STORAGE
=0 -DENABLE_NATIVE_RMS=0 -DENABLE_NATIVE_PTI=1 -DENABLE_MESSAGE_STRINGS=0 -DENAB
LE_CLDC_11=1 -DENABLE_VM_PROFILES=1 -DENABLE_MONET=0 -DENABLE_SERVER_SOCKET=1 -D
ENABLE_JPEG=0 -DENABLE_DIRECT_DRAW=0 -DENABLE_FILE_SYSTEM=1 -DENABLE_ON_DEVICE_D
EBUG=0 -DENABLE_WTK_DEBUG=0 -DENABLE_AMS_FOLDERS=0 -DENABLE_OCSP=0 -DENABLE_DYNA
MIC_COMPONENTS=0 -DPROJECT_NAME='phoneME Feature project' -DPRODUCT -DENABLE_DEB
UG=0 -DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELEASE='Administrator:06.05.09-10:01' -
DIMPL_VERSION='' -DFULL_VERSION='Administrator:06.05.09-10:01' /nologo /c /W2 /M
C -D__STDC__ /MD /O2 /Ob2 /Ot -DNDEBUG -DCVM_OPTIMIZED -DCVM_DEBUG_STACKTRACES -
DNDEBUG -DCVM_CLASSLOADING -DCVM_SERIALIZATION -DCVM_REFLECT -DCVM_DYNAMIC_LINKI
NG -DCVM_JIT -DCVM_DUAL_STACK -DCVM_SPLIT_VERIFY -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 -DCVM_DLL -DHAVE_64
_BIT_IO -DNDEBUG -DARM -D_ARM -D__RVCT__ -DWINCE -DWIN32_LEAN_AND_MEAN -DWIN32_P
LATFORM_PSPC -DUNICODE -D_UNICODE -DUNDER_CE=500 -D_WIN32_WCE=500 -D_ARM_ -DEDB
-DNO_GETENV=1 -DENABLE_DIRECT_DRAW=0 -DENABLE_RECORDSTORE_FILE_LOCK=1

LD_FLAGS = /subsystem:windowsce,3.00 /MACHINE:ARM /DLL -libpath: -
libpath:d:\PhoneME\Work\build_output\pcsl\wince_arm\lib -libpath:d:\PhoneME\Work
\cdc\build\win32-arm-wince50\bin

C compiler =
C++ compiler =
USE_WEAK_GCC_WARNINGS =
JDK_DIR = /cygdrive/d/j2sdk1.4.2_19 (v1.4.2_19)
TARGET_VM = cdc_vm
MIDP_DIR = /PhoneME/Work/midp
PROJECT_MIDP_DIR = /cygdrive/d/PhoneME/Work/midp
CLDC_DIST_DIR = /PhoneME/Work/cdc/build/win32-arm-wince50/generated
TOOLS_DIR = /cygdrive/d/PhoneME/Work/tools
ABSTRACTIONS_DIR =
JSR_75_DIR =
PROJECT_JSR_75_DIR =
JSR_82_DIR =
PROJECT_JSR_82_DIR =
JSR_120_DIR =
PROJECT_JSR_120_DIR =
JSR_135_DIR =
JSR_172_DIR =
PROJECT_JSR_172_DIR =
JSR_226_DIR =
PISCES_DIR =
JSR_177_DIR =
PROJECT_JSR_177_DIR =
JSR_179_DIR =
PROJECT_JSR_179_DIR =
JSR_180_DIR =
JSR_184_DIR =
JSR_205_DIR =
PROJECT_JSR_205_DIR =
JSR_211_DIR =
PROJECT_JSR_211_DIR =
JSR_229_DIR =
PROJECT_JSR_229_DIR =
JSR_230_DIR =
JSR_234_DIR =
JSR_238_DIR =
PROJECT_JSR_238_DIR =
JSR_239_DIR =
PROJECT_JSR_239_DIR =
JSR_280_DIR =
PROJECT_JSR_280_DIR =
JSR_256_DIR =
PROJECT_JSR_256_DIR =
JSR_257_DIR =
JSR_281_DIR =
JSR_290_DIR =
JSR_293_DIR =
PROJECT_JSR_290_DIR =
JC_DIR =
RESTRICTED_CRYPTO_DIR =
CRYPTO_OUTPUT_DIR = /PhoneME/Work/midp/build/wince/crypto_output
JPEG_DIR = /cygdrive/d/PhoneME/Work/jpeg
PCSL_OUTPUT_DIR = /PhoneME/Work/build_output/pcsl
MIDP_OUTPUT_DIR = /PhoneME/Work/midp/build/wince/output
USE_MULTIPLE_DISPLAYS = false

=======================================
MIDP Subsystem and Module Configuration
=======================================

SUBSYSTEMS = configuration properties_port example example ver
ifier example core i18n highlevelui lowlevelui rms security der ocsp gcf file pu
sh events tool
SUBSYSTEM_AMS_MODULES = jams
SUBSYSTEM_EVENTS_MODULES = master_mode
SUBSYSTEM_PUSH_MODULES =
SUBSYSTEM_I18N_MODULES = common
SUBSYSTEM_LCDUI_MODULES = chameleon
SUBSYSTEM_GRAPHICS_MODULES = gx_putpixel
SUBSYSTEM_MMAPI_MODULES =
SUBSYSTEM_PTI_MODULES = nativepti
SUBSYSTEM_PROTOCOL_MODULES =
SUBSYSTEM_RMS_MODULES = common linear_index
SUBSYSTEM_SECURITY_MODULES = crypto file_digest internal_api_protection midp_p
ermissions reference_permission_dialog pki publickeystore secure_random access_c
ontroller
SUBSYSTEM_TOOL_MODULES = keytool jadtool imageutil skinromization l10n_gen
erator romizer

... creating directories /PhoneME/Work/midp/build/wince/output/bin/i386
... creating directories /PhoneME/Work/midp/build/wince/output/obj/i386
... building Jpp
/cygdrive/d/j2sdk1.4.2_19/bin/javac.exe -source 1.3 -target 1.3 -g -d `cygpath
-m /cygdrive/d/PhoneME/Work/tools/output` `cygpath -m /cygdrive/d/PhoneME/Work
/tools/jpp/Jpp.java`
make[1]: Entering directory `/PhoneME/Work/midp/build/wince'
... searching updated .java files
... /PhoneME/Work/midp/build/wince/output/tools_classes/l10nGenerator.manifest

... building l10n generator
... /PhoneME/Work/midp/build/wince/output/tools_classes/l10nGenerator.jar
... /cygdrive/d/PhoneME/Work/tools/output/Configurator.manifest
... building CodeTransformer
... /cygdrive/d/PhoneME/Work/tools/output/Configurator.jar
... merging configurations
... merging configurations - PhoneME Ad
Unable to access jarfile /cygdrive/d/PhoneME/Work/tools/output/Configurator.jar
make[1]: *** [/PhoneME/Work/midp/build/wince/output/generated/merged.xml] Error
1
make[1]: Leaving directory `/PhoneME/Work/midp/build/wince'
make: *** [build_classes] Error 2

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

i found the reason,it is because of incorrect version of make.exe.

then, new compile error is:
midp_pt_kni.c
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(60) : error C2065: '_ee' : undeclared identi
fier
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(60) : warning C4047: 'initializing' : 'struc
t CVMExecEnv *' differs in levels of indirection from 'int '
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(60) : error C2223: left of '->localRootsStac
k' must point to struct/union
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(60) : warning C4047: 'function' : 'struct CV
MExecEnv *' differs in levels of indirection from 'int '
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(60) : warning C4024: 'CVMexpandStack' : diff
erent types for formal and actual parameter 1
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(62) : error C2065: '_arguments' : undeclared
identifier
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(62) : error C2065: '_p_mb' : undeclared iden
tifier
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(62) : error C2100: illegal indirection
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(62) : error C2223: left of '->immutX' must p
oint to struct/union
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(62) : error C2100: illegal indirection
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(62) : error C2223: left of '->immutX' must p
oint to struct/union
d:\phoneme\work\midp\src\highlevelui\pti_api\nativepti\native\midp_pt_kni.c(62) : fatal error C1903: unable to recover f
rom previous error(s); stopping compilation
make[1]: *** [/PhoneME/Work/build_output/midp/obj/arm/midp_pt_kni.o] Error 1
make[1]: Leaving directory `/PhoneME/Work/midp/build/wince'
make: *** [/PhoneME/Work/build_output/midp/bin/arm/runMidlet] Error 2

anyone can help me!

91program
Offline
Joined: 2009-05-19

i checked that the Configurator.jar file is created when compile process.