Skip to main content

MIDP build issues

1 reply [Last post]
vlewis
Offline
Joined: 2008-05-31
Points: 0

I have come all the way through the x86 build on windows and I am up to the MIDP step . Currently I am a tough time with the following , which is throwing a

R6034 application has made an attempt to load C runtime library incorrectly.

Any help would be appreciated

CFLAGS = -IC:/phoneME_feature/build_output/javacall/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_MULTIPLE_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 -DENABLE_MONET=0 -DENABLE_SERVER_SOCKET=1 -DENABLE_JPEG=0 -DPROJECT_NAME='phoneME Feature proje
ct' -DPRODUCT -DENABLE_DEBUG=0 -DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELEASE='vlewis:07.12.08-09:12' -DIMPL_VERSI
ON='' -DFULL_VERSION='vlewis:07.12.08-09:12' -DROMIZING -IC:/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_VERSION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQUIR
ES_JVMCONFIG_H=1 -IC:/phoneme_feature/midp/src/protocol/socket/include

CPPFLAGS = /Zm400 -IC:/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_BUIL
D_VERSION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQUIRES_JVMCONFIG_H=1 -IC:/ph
oneME_feature/build_output/javacall/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_TEST=0 -DENABLE_NUTS_FRAMEWOR
K=0 -DENABLE_NETWORK_INDICATOR=1 -DENABLE_MULTIPLE_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 -DENABLE_MONET=0
-DENABLE_SERVER_SOCKET=1 -DENABLE_JPEG=0 -DPROJECT_NAME='phoneME Feature project' -DPRODUCT -DENABLE_DEBUG=0 -
DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELEASE='vlewis:07.12.08-09:12' -DIMPL_VERSION='' -DFULL_VERSION='vlewis:07.
12.08-09:12' -DROMIZING -IC:/phoneME_feature/build_output/javacall/inc -DWIN32 -D_WINDOWS -DPRODUCT /W3 /nolog
o -DHARDWARE_LITTLE_ENDIAN=1 -DHOST_LITTLE_ENDIAN=1 /D ROMIZING -DJVM_RELEASE_VERSION='1.2' -DJVM_BUILD_VERSI
ON='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQUIRES_JVMCONFIG_H=1
-IC:/phoneme_feature/midp/src/protocol/socket/include

LD_FLAGS = -nodefaultlib:libcmt.lib -nologo -subsystem:console -machine:i386 -MAP -incremental:no
-verbose:LIB -nodefaultlib:libc.lib -merge:CODESEGMENT=.text -merge:DATASEGMENT=.data -opt:REF -opt:ICF,8 -no
defaultlib:msvcrtd.lib msvcrt.lib -libpath:C:/phoneME_feature/build_output/pcsl/javacall_i386/lib C:/phoneME_f
eature/build_output/javacall/lib/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.l
ib

JDK_DIR = C:/j2sdk1.4.2_05 (v1.4.2_05)
TARGET_VM = cldc_vm
MIDP_DIR = C:/phoneme_feature/midp
PROJECT_MIDP_DIR = C:/phoneme_feature/midp
CLDC_DIST_DIR = C:/phoneME_feature/build_output/cldc/javacall_i386_vc/dist
TOOLS_DIR = C:/phoneME_feature/tools
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 =
JC_DIR =
RESTRICTED_CRYPTO_DIR =
CRYPTO_OUTPUT_DIR = C:/phoneme_feature/midp/build/javacall/crypto_output
JPEG_DIR =
PCSL_OUTPUT_DIR = C:/phoneME_feature/build_output/pcsl
MIDP_OUTPUT_DIR = C:/phoneME_feature/build_output/midp

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

SUBSYSTEMS = configuration properties_port example example verifier jams example core i18n h
ighlevelui lowlevelui rms security gcf file http serial serial_port socket socket_notify ssocket udp push even
ts tool automation links 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_permissions reference_permissio
n_dialog pki publickeystore secure_random
SUBSYSTEM_TOOL_MODULES = keytool jadtool imageutil skinromization l10n_generator

make[1]: Entering directory `C:/phoneme_feature/midp/build/javacall'
... searching updated .java files
... no need to recompile .java files
make[1]: Leaving directory `C:/phoneme_feature/midp/build/javacall'
... searching updated .java files
... no need to recompile .java files
... generating C:/phoneME_feature/build_output/midp/ROMImage.cpp
C:/phoneME_feature/build_output/cldc/javacall_i386_vc/dist/bin/romgen.exe -romconfig C:/phoneME_feature/build_
output/midp/generated/rom_configs.lst +GenerateROMStructs +EnableROMCompilation +EnableAllROMOptimizations -cp
C:/phoneME_feature/build_output/midp/classes.zip -romize =HeapCapacity96M -romincludepath C:/phoneME_feature/
build_output/cldc/javacall_i386_vc/dist/lib -romincludepath C:/phoneme_feature/midp/build/common/config
make: *** [C:/phoneME_feature/build_output/midp/ROMImage.cpp] Error 66

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> I have come all the way through the x86 build on windows and I am up to the MIDP step . Currently I am a tough time with the following , which is throwing a
>
>
> R6034 application has made an attempt to load C runtime library incorrectly.
>
> Any help would be appreciated
>

Hi vlewis,

Your question is a phoneME Feature question, but you posted to the
phoneME Advanced mail alias. I'm re-routing your question over to
feature@phoneme.dev.java.net (phoneME Feature alias).

Thanks,
Hinkmond

> CFLAGS = -IC:/phoneME_feature/build_output/javacall/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_MULTIPLE_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 -DENABLE_MONET=0 -DENABLE_SERVER_SOCKET=1 -DENABLE_JPEG=0 -DPROJECT_NAME='phoneME Feature proje
> ct' -DPRODUCT -DENABLE_DEBUG=0 -DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELEASE='vlewis:07.12.08-09:12' -DIMPL_VERSI
> ON='' -DFULL_VERSION='vlewis:07.12.08-09:12' -DROMIZING -IC:/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_VERSION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQUIR
> ES_JVMCONFIG_H=1 -IC:/phoneme_feature/midp/src/protocol/socket/include
>
> CPPFLAGS = /Zm400 -IC:/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_BUIL
> D_VERSION='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQUIRES_JVMCONFIG_H=1 -IC:/ph
> oneME_feature/build_output/javacall/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_TEST=0 -DENABLE_NUTS_FRAMEWOR
> K=0 -DENABLE_NETWORK_INDICATOR=1 -DENABLE_MULTIPLE_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 -DENABLE_MONET=0
> -DENABLE_SERVER_SOCKET=1 -DENABLE_JPEG=0 -DPROJECT_NAME='phoneME Feature project' -DPRODUCT -DENABLE_DEBUG=0 -
> DENABLE_CONTROL_ARGS_FROM_JAD=0 -DRELEASE='vlewis:07.12.08-09:12' -DIMPL_VERSION='' -DFULL_VERSION='vlewis:07.
> 12.08-09:12' -DROMIZING -IC:/phoneME_feature/build_output/javacall/inc -DWIN32 -D_WINDOWS -DPRODUCT /W3 /nolog
> o -DHARDWARE_LITTLE_ENDIAN=1 -DHOST_LITTLE_ENDIAN=1 /D ROMIZING -DJVM_RELEASE_VERSION='1.2' -DJVM_BUILD_VERSI
> ON='internal' -DJVM_NAME='phoneME Feature VM' /MD /Ox /GB /Os /Gy /GF -DREQUIRES_JVMCONFIG_H=1
> -IC:/phoneme_feature/midp/src/protocol/socket/include
>
> LD_FLAGS = -nodefaultlib:libcmt.lib -nologo -subsystem:console -machine:i386 -MAP -incremental:no
> -verbose:LIB -nodefaultlib:libc.lib -merge:CODESEGMENT=.text -merge:DATASEGMENT=.data -opt:REF -opt:ICF,8 -no
> defaultlib:msvcrtd.lib msvcrt.lib -libpath:C:/phoneME_feature/build_output/pcsl/javacall_i386/lib C:/phoneME_f
> eature/build_output/javacall/lib/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.l
> ib
>
> JDK_DIR = C:/j2sdk1.4.2_05 (v1.4.2_05)
> TARGET_VM = cldc_vm
> MIDP_DIR = C:/phoneme_feature/midp
> PROJECT_MIDP_DIR = C:/phoneme_feature/midp
> CLDC_DIST_DIR = C:/phoneME_feature/build_output/cldc/javacall_i386_vc/dist
> TOOLS_DIR = C:/phoneME_feature/tools
> 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 =
> JC_DIR =
> RESTRICTED_CRYPTO_DIR =
> CRYPTO_OUTPUT_DIR = C:/phoneme_feature/midp/build/javacall/crypto_output
> JPEG_DIR =
> PCSL_OUTPUT_DIR = C:/phoneME_feature/build_output/pcsl
> MIDP_OUTPUT_DIR = C:/phoneME_feature/build_output/midp
>
> =======================================
> MIDP Subsystem and Module Configuration
> =======================================
>
> SUBSYSTEMS = configuration properties_port example example verifier jams example core i18n h
> ighlevelui lowlevelui rms security gcf file http serial serial_port socket socket_notify ssocket udp push even
> ts tool automation links 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_permissions reference_permissio
> n_dialog pki publickeystore secure_random
> SUBSYSTEM_TOOL_MODULES = keytool jadtool imageutil skinromization l10n_generator
>
> make[1]: Entering directory `C:/phoneme_feature/midp/build/javacall'
> ... searching updated .java files
> ... no need to recompile .java files
> make[1]: Leaving directory `C:/phoneme_feature/midp/build/javacall'
> ... searching updated .java files
> ... no need to recompile .java files
> ... generating C:/phoneME_feature/build_output/midp/ROMImage.cpp
> C:/phoneME_feature/build_output/cldc/javacall_i386_vc/dist/bin/romgen.exe -romconfig C:/phoneME_feature/build_
> output/midp/generated/rom_configs.lst +GenerateROMStructs +EnableROMCompilation +EnableAllROMOptimizations -cp
> C:/phoneME_feature/build_output/midp/classes.zip -romize =HeapCapacity96M -romincludepath C:/phoneME_feature/
> build_output/cldc/javacall_i386_vc/dist/lib -romincludepath C:/phoneme_feature/midp/build/common/config
> make: *** [C:/phoneME_feature/build_output/midp/ROMImage.cpp] Error 66
> [Message sent by forum member 'vlewis' (vlewis)]
>
> http://forums.java.net/jive/thread.jspa?messageID=286151
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>
>

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