Skip to main content

Error Compiling CLDC on WINCE

4 replies [Last post]
chandanvn
Offline
Joined: 2008-05-17

Hi all
I am building CLDC on WINCE for ARM.
I am using default make file
phoneme_feature\cldc\build\wince_arm\Makefile

While compiling I am getting error:
creating ROM generator in debug mode
build flags: NO_DEBUG_SYMBOLS=true
==============================
make[1]: Entering directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-
08_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app'
make[1]: Nothing to be done for `dependencies'.
make[1]: Leaving directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-0
8_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app'
make[1]: *** No rule to make target `/src/vm/cpu/c/AsmStubs_i386.asm', needed by
`AsmStubs_i386.obj'. Stop.
make[1]: Entering directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-
08_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app'
make[1]: Leaving directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-0
8_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app'
make: *** [_romgen] Error 2

Please let me know if anyone has some idea.
Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
danila
Offline
Joined: 2006-09-25

Hello,

please rebuild CLDC with VERBOSE_BUILD=true and when it fails,
post tail of build log here.

Thanks,
Danila

chandanvn
Offline
Joined: 2008-05-17

I build with this command:
make VERBOSE_BUILD=true

I got the following error:

echo "=============================="
==============================
echo "creating ROM generator in debug mode"
creating ROM generator in debug mode
echo "build flags: NO_DEBUG_SYMBOLS=true"
build flags: NO_DEBUG_SYMBOLS=true
echo "=============================="
==============================
make NO_DEBUG_SYMBOLS=true -C D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23
-08_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app dependencies
make[1]: Entering directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-
08_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app'
make[1]: Nothing to be done for `dependencies'.
make[1]: Leaving directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-0
8_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app'
make NO_DEBUG_SYMBOLS=true -C D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23
-08_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app
make[1]: *** No rule to make target `/src/vm/cpu/c/AsmStubs_i386.asm', needed by
`AsmStubs_i386.obj'. Stop.
make[1]: Entering directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-
08_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app'
make[1]: Leaving directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-0
8_may-2007/phoneme_feature/cldc/output/cldc/wince_arm/romgen/app'
make: *** [_romgen] Error 2

Please let me know if you need any more information.

Thanks

danila
Offline
Joined: 2006-09-25

Please check that the env variables JVMWorkSpace and JVMBuildSpace are set correctly.
They are printed at the beginning of build log.

chandanvn
Offline
Joined: 2008-05-17

Hi,
Logs obtained at starting of build process are as follows:

D:\phoneME_feature\phoneme_feature-mr2-rel-src-b23-08_may-2007\phoneme_feature\c
ldc\build\wince_arm>make
==================================
JVMBuildSpace = D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007/
phoneme_feature/cldc/build/wince_arm/cldc
JVMWorkSpace = D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-08_may-2007
/phoneme_feature/cldc
ROMIZING = true
SHELL = C:/cyg4me/bin/sh.exe
ENABLE_ISOLATES =
ENABLE_MONET =
==================================
==============================
creating build tools...
==============================
make[1]: Entering directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-
08_may-2007/phoneme_feature/cldc/build/wince_arm/cldc/wince_arm/tools'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-0
8_may-2007/phoneme_feature/cldc/build/wince_arm/cldc/wince_arm/tools'
done
==============================
creating ASM loop generator in debug mode
build flags: NO_DEBUG_SYMBOLS=true

From these logs you can see the values of JVMWorkSpace and JVMBuildSpace.

I am getting error as :

==============================
creating ROM generator in debug mode
build flags: NO_DEBUG_SYMBOLS=true
==============================
make[1]: Entering directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-
08_may-2007/phoneme_feature/cldc/build/wince_arm/cldc/wince_arm/romgen/app'
make[1]: Nothing to be done for `dependencies'.
make[1]: Leaving directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-0
8_may-2007/phoneme_feature/cldc/build/wince_arm/cldc/wince_arm/romgen/app'
make[1]: *** No rule to make target `/src/vm/cpu/c/AsmStubs_i386.asm', needed by
`AsmStubs_i386.obj'. Stop.
make[1]: Entering directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-
08_may-2007/phoneme_feature/cldc/build/wince_arm/cldc/wince_arm/romgen/app'
make[1]: Leaving directory `D:/phoneME_feature/phoneme_feature-mr2-rel-src-b23-0
8_may-2007/phoneme_feature/cldc/build/wince_arm/cldc/wince_arm/romgen/app'
make: *** [_romgen] Error 2

Please let me know if values of JVMBuildSpace and JVMWorkSpace are not proper.

Thanks