Skip to main content

Building optional Packages from PhoneME

4 replies [Last post]
gkris28
Offline
Joined: 2007-12-07
Points: 0

Hi ,
i am trying to build an SDK for a popular vendor i hv gone through the all steps from phoneme getting Started

and even i build the binaries from PhoneMe software and the thing is like i am unable to build optionalPackages from source code
Can anyone help me out to build optionalPackages from phoneME source code and also the process of after Generating the optional packages how to integrate all these binaries to make an SDK
Thanks InAdvance,
Gopikrishna.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
peterp
Offline
Joined: 2005-06-30
Points: 0

Hi,

Would you please provide more details like build output, platform you use and tools versions like compiler, cygwin (if you are on win32) and so on.

Thanks.

gkris28
Offline
Joined: 2007-12-07
Points: 0

Hi peterp,
i have used cyg4me, and on windows platform.
when i Building for a JavaCall Porting Layer on i386 Target Platform
i am getting this following,i am setting USE_JSR_XXX = true
JSR_XXX_DIR= package src folder, even the values are not setting .

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

VAR_IMPORT_FROM =

USE_NATIVE_AMS = false
USE_RAW_AMS_IMAGES = false
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 = true
USE_JAVA_DEBUGGER = false
USE_JAVA_PROFILER = false
USE_MIDP_MALLOC = true
USE_MULTIPLE_ISOLATES = true
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_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_VERBOSE_MAKE = false
USE_CONTROL_ARGS_FROM_JAD = false
USE_JPEG = false
USE_NATIVE_PTI = false
USE_VERIFY_ONCE = false
USE_VM_PROFILES = false
USE_SERVER_SOCKET = true
USE_LINKS = true

CFLAGS = -IC:/phoneme_feature_mr2/phoneme_feature/build_output/j
avacall/inc -nologo -DWIN32 -D_WINDOWS -Ox -GB -Os -Gy -GF -MD -DENABLE_CDC=0
-DENABLE_MIDP_MALLOC=1 -DENABLE_IMAGE_CACHE=1 -DENABLE_ICON_CACHE=1 -DENABLE_I3_
TEST=0 -DENABLE_NUTS_FRAMEWORK=0 -DENABLE_NETWORK_INDICATOR=1 -DENABLE_MUL
TIPLE_ISOLATES=1 -DENABLE_JAVA_DEBUGGER=0 -DENABLE_NATIVE_AMS=0 -DENABLE_NATIVE_
PTI=0 -DENABLE_MESSAGE_STRINGS=0 -DENABLE_CLDC_11=1 -DENABLE_VM_PROFILES=0 -DENA
BLE_MONET=0 -DENABLE_SERVER_SOCKET=1 -DENABLE_JPEG=0 -DPROJECT_NAME='phoneME Fea
ture project' -DPRODUCT -DENABLE_DEBUG=0 -DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELE
ASE='gdevalapalli:12.18.07-11:30' -DIMPL_VERSION='' -DFULL_VERSION='gdevalapalli
:12.18.07-11:30' -DROMIZING -IC:/phoneme_feature_mr2/phoneme_feature/build_outpu
t/javacall/inc -DWIN32 -D_WINDOWS -DPRODUCT /W3 /nologo -DHARDWARE_LITTLE_ENDIA
N=1 -DHOST_LITTLE_ENDIAN=1 /D ROMIZING -DJVM_RELEASE_VERSION='1.2' -DJVM_BUILD_V
ERSION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQU
IRES_JVMCONFIG_H=1 -IC:/phoneme_feature_mr2/pho
neme_feature/midp/src/protocol/socket/include

CPPFLAGS = /Zm400 -IC:/phoneme_feature_mr2/phoneme_feature/build_ou
tput/javacall/inc -DWIN32 -D_WINDOWS -DPRODUCT /W3 /nologo -DHARDWARE_LITTLE_EN
DIAN=1 -DHOST_LITTLE_ENDIAN=1 /D ROMIZING -DJVM_RELEASE_VERSION='1.2' -DJVM_BUIL
D_VERSION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DR
EQUIRES_JVMCONFIG_H=1 -IC:/phoneme_feature_mr2/phoneme_feature/build_output/jav
acall/inc -nologo -DWIN32 -D_WINDOWS -Ox -GB -Os -Gy -GF -MD -DENABLE_CDC=0 -D
ENABLE_MIDP_MALLOC=1 -DENABLE_IMAGE_CACHE=1 -DENABLE_ICON_CACHE=1 -DENABLE_I3_TE
ST=0 -DENABLE_NUTS_FRAMEWORK=0 -DENABLE_NETWORK_INDICATOR=1 -DENABLE_MULTI
PLE_ISOLATES=1 -DENABLE_JAVA_DEBUGGER=0 -DENABLE_NATIVE_AMS=0 -DENABLE_NATIVE_PT
I=0 -DENABLE_MESSAGE_STRINGS=0 -DENABLE_CLDC_11=1 -DENABLE_VM_PROFILES=0 -DENABL
E_MONET=0 -DENABLE_SERVER_SOCKET=1 -DENABLE_JPEG=0 -DPROJECT_NAME='phoneME Featu
re project' -DPRODUCT -DENABLE_DEBUG=0 -DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELEAS
E='gdevalapalli:12.18.07-11:30' -DIMPL_VERSION='' -DFULL_VERSION='gdevalapalli:1
2.18.07-11:30' -DROMIZING -IC:/phoneme_feature_mr2/phoneme_feature/build_output/
javacall/inc -DWIN32 -D_WINDOWS -DPRODUCT /W3 /nologo -DHARDWARE_LITTLE_ENDIAN=
1 -DHOST_LITTLE_ENDIAN=1 /D ROMIZING -DJVM_RELEASE_VERSION='1.2' -DJVM_BUILD_VER
SION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQUIR
ES_JVMCONFIG_H=1 -IC:/phoneme_feature_mr2/phone
me_feature/midp/src/protocol/socket/include

LD_FLAGS = -nodefaultlib:libcmt.lib -nologo -subsystem:console -mac
hine:i386 -MAP -incremental:no -verbose:LIB -nodefaultlib:libc.lib -merge:CODESE
GMENT=.text -merge:DATASEGMENT=.data -opt:REF -opt:ICF,8 -nodefaultlib:msvcrtd.l
ib msvcrt.lib -libpath:C:/phoneme_feature_mr2/phoneme_feature/build_output/pcsl/
javacall_i386/lib C:/phoneme_feature_mr2/phoneme_feature/build_output/javacall/l
ib/javacall.lib /NODEFAULTLIB:LIBC Winmm.lib /MAP /incremental:no /nologo /sub
system:console /machine:i386 /merge:CODESEGMENT=.text /merge:DATASEGMENT=.data
/opt:REF /opt:ICF,8 wsock32.lib

JDK_DIR = C:/j2sdk1.4.2_05 (v1.4.2_05)
TARGET_VM = cldc_vm
MIDP_DIR = C:/phoneme_feature_mr2/phoneme_feature/midp
PROJECT_MIDP_DIR = C:/phoneme_feature_mr2/phoneme_feature/midp
CLDC_DIST_DIR = C:/phoneme_feature_mr2/phoneme_feature/build_output/cldc
/javacall_i386_vc/dist
TOOLS_DIR = C:/phoneme_feature_mr2/phoneme_feature/tools
JSR_75_DIR = C:/phoneme_feature_mr2/phoneme_feature/jsr75
PROJECT_JSR_75_DIR =
JSR_82_DIR =
PROJECT_JSR_82_DIR =
JSR_120_DIR = C:/phoneme_feature_mr2/phoneme_feature/jsr120
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 = C:/phoneme_feature_mr2/phoneme_feature/jsr205
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 =
JC_DIR =
RESTRICTED_CRYPTO_DIR =
CRYPTO_OUTPUT_DIR = C:/phoneme_feature_mr2/phoneme_feature/midp/build/javaca
ll/crypto_output
JPEG_DIR =
PCSL_OUTPUT_DIR = C:/phoneme_feature_mr2/phoneme_feature/build_output/pcsl

MIDP_OUTPUT_DIR = C:/phoneme_feature_mr2/phoneme_feature/build_output/midp

peterp
Offline
Joined: 2005-06-30
Points: 0

Hi,

Would please post command line by which you start the build.

If you are building from Windows cmd.exe, then you should use
set USE_JSR_XXX=true

If you are building from bash command line then you should use
export USE_JSR_XXX=true

Please, make sure there are no white spaces around '=', otherwise nothing will work.

Regards.

gkris28
Offline
Joined: 2007-12-07
Points: 0

Hi peterp,
Thanks for ur help. i am now able to buid binaries
set USE_JSR_XXX=true, set JSR_XXX_DIR=%jwc%/jsrXXX

i have build for JSR120 and 205 then it resulted in WMATOOl JAR file ,
but when i build other Optional packages just i getting the following and so i am confused whether it succesfully build or not it is the same case with all Optional packages like JSR 75,172,177,179,180,211,226,228,238,239,
just i want to know whether on successful building these JSR will be resultant in with JAR files or just it will link with RUNPHONEME.exe

C:\>make -C %BuildDir% USE_MULTIPLE_ISOLATES=true USE_JSR_211=true JSR_211_DIR=%
MEHOME%/jsr211
make: Entering directory `C:/phoneme_feature_mr2/phoneme_feature/midp/build/java
call'

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

VAR_IMPORT_FROM =

USE_NATIVE_AMS = false
USE_RAW_AMS_IMAGES = false
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 = true
USE_JAVA_DEBUGGER = false
USE_JAVA_PROFILER = false
USE_MIDP_MALLOC = true
USE_MULTIPLE_ISOLATES = true
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_180 = false
USE_JSR_184 = false
USE_JSR_205 = false
USE_JSR_211 = true
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_VERBOSE_MAKE = false
USE_CONTROL_ARGS_FROM_JAD = false
USE_JPEG = false
USE_NATIVE_PTI = false
USE_VERIFY_ONCE = false
USE_VM_PROFILES = false
USE_SERVER_SOCKET = true
USE_LINKS = true

CFLAGS = -IC:/phoneme_feature_mr2/phoneme_feature/build_output/j
avacall/inc -nologo -DWIN32 -D_WINDOWS -Ox -GB -Os -Gy -GF -MD -DENABLE_CDC=0
-DENABLE_MIDP_MALLOC=1 -DENABLE_IMAGE_CACHE=1 -DENABLE_ICON_CACHE=1 -DENABLE_I3_
TEST=0 -DENABLE_NUTS_FRAMEWORK=0 -DENABLE_NETWORK_INDICATOR=1 -DENABLE_MUL
TIPLE_ISOLATES=1 -DENABLE_JAVA_DEBUGGER=0 -DENABLE_NATIVE_AMS=0 -DENABLE_NATIVE_
PTI=0 -DENABLE_MESSAGE_STRINGS=0 -DENABLE_CLDC_11=1 -DENABLE_VM_PROFILES=0 -DENA
BLE_MONET=0 -DENABLE_SERVER_SOCKET=1 -DENABLE_JPEG=0 -DPROJECT_NAME='phoneME Fea
ture project' -DPRODUCT -DENABLE_DEBUG=0 -DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELE
ASE='gdevalapalli:12.24.07-11:40' -DIMPL_VERSION='' -DFULL_VERSION='gdevalapalli
:12.24.07-11:40' -DROMIZING -IC:/phoneme_feature_mr2/phoneme_feature/build_outpu
t/javacall/inc -DWIN32 -D_WINDOWS -DPRODUCT /W3 /nologo -DHARDWARE_LITTLE_ENDIA
N=1 -DHOST_LITTLE_ENDIAN=1 /D ROMIZING -DJVM_RELEASE_VERSION='1.2' -DJVM_BUILD_V
ERSION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQU
IRES_JVMCONFIG_H=1 -IC:/phoneme_feature_mr2/pho
neme_feature/midp/src/protocol/socket/include

CPPFLAGS = /Zm400 -IC:/phoneme_feature_mr2/phoneme_feature/build_ou
tput/javacall/inc -DWIN32 -D_WINDOWS -DPRODUCT /W3 /nologo -DHARDWARE_LITTLE_EN
DIAN=1 -DHOST_LITTLE_ENDIAN=1 /D ROMIZING -DJVM_RELEASE_VERSION='1.2' -DJVM_BUIL
D_VERSION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DR
EQUIRES_JVMCONFIG_H=1 -IC:/phoneme_feature_mr2/phoneme_feature/build_output/jav
acall/inc -nologo -DWIN32 -D_WINDOWS -Ox -GB -Os -Gy -GF -MD -DENABLE_CDC=0 -D
ENABLE_MIDP_MALLOC=1 -DENABLE_IMAGE_CACHE=1 -DENABLE_ICON_CACHE=1 -DENABLE_I3_TE
ST=0 -DENABLE_NUTS_FRAMEWORK=0 -DENABLE_NETWORK_INDICATOR=1 -DENABLE_MULTI
PLE_ISOLATES=1 -DENABLE_JAVA_DEBUGGER=0 -DENABLE_NATIVE_AMS=0 -DENABLE_NATIVE_PT
I=0 -DENABLE_MESSAGE_STRINGS=0 -DENABLE_CLDC_11=1 -DENABLE_VM_PROFILES=0 -DENABL
E_MONET=0 -DENABLE_SERVER_SOCKET=1 -DENABLE_JPEG=0 -DPROJECT_NAME='phoneME Featu
re project' -DPRODUCT -DENABLE_DEBUG=0 -DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELEAS
E='gdevalapalli:12.24.07-11:40' -DIMPL_VERSION='' -DFULL_VERSION='gdevalapalli:1
2.24.07-11:40' -DROMIZING -IC:/phoneme_feature_mr2/phoneme_feature/build_output/
javacall/inc -DWIN32 -D_WINDOWS -DPRODUCT /W3 /nologo -DHARDWARE_LITTLE_ENDIAN=
1 -DHOST_LITTLE_ENDIAN=1 /D ROMIZING -DJVM_RELEASE_VERSION='1.2' -DJVM_BUILD_VER
SION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQUIR
ES_JVMCONFIG_H=1 -IC:/phoneme_feature_mr2/phone
me_feature/midp/src/protocol/socket/include

LD_FLAGS = -nodefaultlib:libcmt.lib -nologo -subsystem:console -mac
hine:i386 -MAP -incremental:no -verbose:LIB -nodefaultlib:libc.lib -merge:CODESE
GMENT=.text -merge:DATASEGMENT=.data -opt:REF -opt:ICF,8 -nodefaultlib:msvcrtd.l
ib msvcrt.lib -libpath:C:/phoneme_feature_mr2/phoneme_feature/build_output/pcsl/
javacall_i386/lib C:/phoneme_feature_mr2/phoneme_feature/build_output/javacall/l
ib/javacall.lib /NODEFAULTLIB:LIBC Winmm.lib /MAP /incremental:no /nologo /sub
system:console /machine:i386 /merge:CODESEGMENT=.text /merge:DATASEGMENT=.data
/opt:REF /opt:ICF,8 wsock32.lib

JDK_DIR = c:/j2sdk1.4.2_05 (v1.4.2_05)
TARGET_VM = cldc_vm
MIDP_DIR = C:/phoneme_feature_mr2/phoneme_feature/midp
PROJECT_MIDP_DIR = C:/phoneme_feature_mr2/phoneme_feature/midp
CLDC_DIST_DIR = C:/phoneme_feature_mr2/phoneme_feature/build_output/cldc
/javacall_i386_vc/dist
TOOLS_DIR = C:/phoneme_feature_mr2/phoneme_feature/tools
JSR_75_DIR = C:/phoneme_feature_mr2/phoneme_feature/jsr75;
PROJECT_JSR_75_DIR =
JSR_82_DIR =
PROJECT_JSR_82_DIR =
JSR_120_DIR = C:/phoneme_feature_mr2/phoneme_feature/jsr120
PROJECT_JSR_120_DIR =
JSR_135_DIR =
JSR_172_DIR = C:/phoneme_feature_mr2/phoneme_feature/jsr172
PROJECT_JSR_172_DIR =
JSR_226_DIR = C:/phoneme_feature_mr2/phoneme_feature/jsr226
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 = C:/phoneme_feature_mr2/phoneme_feature/jsr205;
PROJECT_JSR_205_DIR =
JSR_211_DIR = C:/phoneme_feature_mr2/phoneme_feature/jsr211
PROJECT_JSR_211_DIR = C:/phoneme_feature_mr2/phoneme_feature/jsr211
JSR_229_DIR =
PROJECT_JSR_229_DIR =
JSR_230_DIR =
JSR_234_DIR =
JSR_238_DIR =
PROJECT_JSR_238_DIR =
JSR_239_DIR = C:/phoneme_feature_mr2/phoneme_feature/jsr239
PROJECT_JSR_239_DIR =
JC_DIR =
RESTRICTED_CRYPTO_DIR =
CRYPTO_OUTPUT_DIR = C:/phoneme_feature_mr2/phoneme_feature/midp/build/javaca
ll/crypto_output
JPEG_DIR =
PCSL_OUTPUT_DIR = C:/phoneme_feature_mr2/phoneme_feature/build_output/pcsl

MIDP_OUTPUT_DIR = C:/phoneme_feature_mr2/phoneme_feature/build_output/midp

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

SUBSYSTEMS = configuration properties_port example example ver
ifier jams example core i18n highlevelui lowlevelui rms security gcf file http s
erial serial_port socket socket_notify ssocket udp push events tool automation l
inks chapi media
SUBSYSTEM_AMS_MODULES = jams
SUBSYSTEM_EVENTS_MODULES = master_mode
SUBSYSTEM_PUSH_MODULES =
SUBSYSTEM_I18N_MODULES = common
SUBSYSTEM_LCDUI_MODULES = chameleon
SUBSYSTEM_GRAPHICS_MODULES = putpixel
SUBSYSTEM_MMAPI_MODULES =
SUBSYSTEM_PTI_MODULES = javapti
SUBSYSTEM_PROTOCOL_MODULES = ssocket
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
SUBSYSTEM_TOOL_MODULES = keytool jadtool imageutil skinromization l10n_gen
erator

make[1]: Entering directory `C:/phoneme_feature_mr2/phoneme_feature/midp/build/j
avacall'
... searching updated .java files
... no need to recompile .java files
make[1]: Leaving directory `C:/phoneme_feature_mr2/phoneme_feature/midp/build/ja
vacall'
... searching updated .java files
... no need to recompile .java files
make: Leaving directory `C:/phoneme_feature_mr2/phoneme_feature/midp/build/javac
all'

thanks,