Skip to main content

compiling MIDP for windows?

1 reply [Last post]
myhouwei
Offline
Joined: 2007-01-31
Points: 0

hi,
I have compiled PCSL and CLCD. The output is at D:\jwc\output\pcsl and D:\jwc\output\clcd.
I try to compile MIDP.

the script:
export Acme=d:/jwc
export Scripts=`pwd`
export Output=$Acme/output
export Log=$Acme/log.txt
rm -f $Log

cd $Acme/midp/build/win32
make \
JDK_DIR=c:/j2sdk1.4.2_07 \
JVMWorkSpace=$Acme/midp \
JVMBuildSpace=$Output/midp \
MIDP_OUTPUT_DIR=$Output/midp \
PCSL_OUTPUT_DIR=$Output/pcsl/ \
CLDC_DIST_DIR=$Output/cldc/win32_i386/dist \

$1

if [ $? -ne 0 ]; then
echo "midp_status=failed" >> $Log
else
echo "midp_status=OK" >> $Log
fi

cat $Log
cd $Scripts
***************************
=======================================
MIDP Subsystem and Module Configuration
=======================================
...
...
......

... creating directories d:/jwc/output/midp/lib
... creating directories d:/jwc/output/midp/bin/i386
... creating directories d:/jwc/output/midp/obj/i386
... d:/jwc/output/midp/tools_classes
... building Jpp
make.exe[1]: Entering directory `d:/jwc/midp/build/win32'
... searching updated .java files
...d:/jwc/output/midp/tools_classes/Configurator.manifest
... building Configurator
... d:/jwc/output/midp/bin/i386/Configurator.jar
...d:/jwc/output/midp/tools_classes/SkinRomizationTool.manifest
... building SkinRomizationTool
... d:/jwc/output/midp/bin/i386/SkinRomizationTool.jar
4 [main] sh 1656 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1314 [main] sh 1656 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
make.exe[1]: *** [d:/jwc/output/midp/bin/i386/SkinRomizationTool.jar] Error 1011
20
make.exe[1]: Leaving directory `d:/jwc/midp/build/win32'
d:\cyg4me\bin\make.exe: *** [build_classes] Error 2

I don,t know what is wrong?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
myhouwei
Offline
Joined: 2007-01-31
Points: 0

i