Skip to main content

build cldc of mr3

1 reply [Last post]
cxc1000
Offline
Joined: 2008-07-25
Points: 0

hi,all
when i build cldc, there is some problem with jvm.make.
I find the JAVA_FILES is null;
can anybody know the reason?

#--------------------------------------------------------
#
# CLDC Java classes
#
# -------------------------------------------------------
$(CLDC_ZIP): $(JAVA_FILES)
$(A)echo "=============================="
$(A)num=`echo $? | wc -w`; \
num=`echo $$num | cut -f1 -d' '`; \
num=`echo $$num`; \
echo "compiling $(CLDC_LIB) classes ($$num files)..."
$(A)if test ! -d $(TMPCLASSES); then \
mkdir $(TMPCLASSES); \
fi
$(A)files="$?"; \
if test "$$files" = ""; then exit 1; fi; \
$(JAVAC) -g$(JAVAC_DEBUG) -d $(TMPCLASSES) \
-bootclasspath $(CLASSES) \
-classpath $(CLASSES) $$files
$(A)echo "preverifying classes...";
$(A)if test ! -f $(PREVERIFY); then \
$(MAKE) $(PREVERIFY) ; \
fi
$(A)chmod a+rx $(PREVERIFY)
$(A)$(PREVERIFY) -classpath $(CLASSES) -d $(CLASSES) $(TMPCLASSES)
$(A)echo rm -rf $@ $(TMPCLASSES)
$(A)$(JAR) -cfM0 $@ -C $(CLASSES) .
$(A)echo "=============================="

Message was edited by: cxc1000

Message was edited by: cxc1000

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cxc1000
Offline
Joined: 2008-07-25
Points: 0

and building result is:

D:\>make -C %JVMWorkSpace%/build/javacall_i386_vc ENABLE_PCSL=true PCSL_OUTPUT_D
IR=%BUILD_OUTPUT_DIR%/pcsl ENABLE_ISOLATES=true JAVACALL_OUTPUT_DIR=%BUILD_OUTPU
T_DIR%/javacall TOOLS_DIR=%COMPONENTS_DIR%/tools TOOLS_OUTPUT_DIR=%BUILD_OUTPUT_
DIR%/tools
make: Entering directory `d:/phoneME_feature/cldc/build/javacall_i386_vc'
==================================
JVMBuildSpace = d:/phoneME_feature/build_output/cldc
JVMWorkSpace = d:/phoneME_feature/cldc
ROMIZING = true
SHELL = C:/cyg4me/bin/sh.exe
ENABLE_ISOLATES = true
ENABLE_MONET =
==================================
==============================
creating build tools...
==============================
c:\cyg4me\bin\make.exe[1]: Entering directory `d:/phoneME_feature/build_output/c
ldc/javacall_i386_vc/tools'
c:\cyg4me\bin\make.exe[1]: Nothing to be done for `default'.
c:\cyg4me\bin\make.exe[1]: Leaving directory `d:/phoneME_feature/build_output/cl
dc/javacall_i386_vc/tools'
done
==============================
creating ASM loop generator in debug mode
build flags: NO_DEBUG_SYMBOLS=true
==============================
c:\cyg4me\bin\make.exe[1]: Entering directory `d:/phoneME_feature/build_output/c
ldc/javacall_i386_vc/loopgen/app'
c:\cyg4me\bin\make.exe[1]: Nothing to be done for `dependencies'.
c:\cyg4me\bin\make.exe[1]: Leaving directory `d:/phoneME_feature/build_output/cl
dc/javacall_i386_vc/loopgen/app'
c:\cyg4me\bin\make.exe[1]: Entering directory `d:/phoneME_feature/build_output/c
ldc/javacall_i386_vc/loopgen/app'
==============================
compiling cldc1.1 classes (0 files)...
c:\cyg4me\bin\make.exe[1]: *** [d:/phoneME_feature/build_output/cldc/classes.zip
] Error 1
c:\cyg4me\bin\make.exe[1]: Leaving directory `d:/phoneME_feature/build_output/cl
dc/javacall_i386_vc/loopgen/app'
make: *** [_loopgen] Error 2
make: Leaving directory `d:/phoneME_feature/cldc/build/javacall_i386_vc'