Skip to main content

Problem building CLDC

5 replies [Last post]
peters4385
Offline
Joined: 2007-06-08
Points: 0

I'm ran into a problem when building the CLDC. My system is Windows XP, Java SDK 1.4.2_14, Cyg4me and Visual Studio .Net 2003. The output from the build:

C:\phoneme_feature\cldc\build\javacall_i386_vc>make ENABLE_PCSL=true PCSL_OUTPUT
_DIR=%BUILD_OUTPUT_DIR%/pcsl ENABLE_ISOLATES=true JAVACALL_OUTPUT_DIR=%BUILD_OUT
PUT_DIR%/javacall
c:\cyg4me\bin\make.exe[1]: Entering directory `C:/phoneme_feature/cldc/build/jav
acall_i386_vc'
... copied root Makefiles
c:\cyg4me\bin\make.exe[1]: Leaving directory `C:/phoneme_feature/cldc/build/java
call_i386_vc'
==================================
JVMBuildSpace = C:/phoneME_feature/build_output/cldc
JVMWorkSpace = C:/phoneME_feature/cldc
ROMIZING = true
SHELL = C:/cyg4me/bin/sh.exe
ENABLE_ISOLATES = true
ENABLE_MONET =
==================================
created C:/phoneME_feature/build_output/cldc/javacall_i386_vc/tools/Makefile
==============================
creating build tools...
==============================
make[1]: Entering directory `C:/phoneME_feature/build_output/cldc/javacall_i386_
vc/tools'
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
created jcc.jar
created buildtool.jar
make[1]: Leaving directory `C:/phoneME_feature/build_output/cldc/javacall_i386_v
c/tools'
done
Finding .java files ...
File not found - *.java
done
created C:/phoneME_feature/build_output/cldc/javacall_i386_vc/loopgen/app/Makefi
le
==============================
creating ASM loop generator in debug mode
build flags: NO_DEBUG_SYMBOLS=true
==============================
make[1]: Entering directory `C:/phoneME_feature/build_output/cldc/javacall_i386_
vc/loopgen/app'
generating ../generated/Dependencies ...
reading database: C:/phoneME_feature/cldc/src/vm/includeDB
writing individual include files ... done (218 files.)
writing grand include file

writing dependencies file

make[1]: Leaving directory `C:/phoneME_feature/build_output/cldc/javacall_i386_v
c/loopgen/app'
make[1]: Entering directory `C:/phoneME_feature/build_output/cldc/javacall_i386_
vc/loopgen/app'
mkdir -p ../bin
mkdir -p ../../dist/bin
mkdir -p ../../dist/lib
mkdir -p ../../dist/include
==============================
compiling cldc1.1 classes (0 files)...
make[1]: *** [C:/phoneME_feature/build_output/cldc/classes.zip] Error 1
make[1]: Leaving directory `C:/phoneME_feature/build_output/cldc/javacall_i386_v
c/loopgen/app'
make: *** [_loopgen] Error 2

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
peters4385
Offline
Joined: 2007-06-08
Points: 0

I verified that C:\cyg4me\bin is first on my path

danila
Offline
Joined: 2006-09-25
Points: 0

Somehow you need to make sure that find from cyg4me is used.
To check which find is used in your build environment:
> C:\cyg4me\bin\which.exe find.exe
It should print:
/cygdrive/c/cyg4me/bin/find.exe

peters4385
Offline
Joined: 2007-06-08
Points: 0

find.exe was found and printed out everything you said it was suppose to

peters4385
Offline
Joined: 2007-06-08
Points: 0

I got it to compile...I needed to delete the old files so the build would start over. You were right about the find not being used. Thanks for the post

danila
Offline
Joined: 2006-09-25
Points: 0

It seems Windows built-in find is used instead of cyg4me find.
Please make sure cyg4me bin directory comes first in your PATH.