Skip to main content

unresolved symbols in cldc building?

1 reply [Last post]
george_ustc
Offline
Joined: 2008-08-26

overcome many errors, but have no any ideas on the issue. Who can help?

Starting free heap = 13037 KB
Loading classes...Done! in 0.31 seconds
... reading system property: microedition.encoding
Categorizing objects ...
Calculating offsets ...
Writing TEXT block ...
Writing DATA block ...
Writing HEAP block ...
Writing TASK MIRRORS block ...
Writing text_klass_table ...
-----------------------------------------------------------------------------
TEXT: 2350 objects = 90857 bytes = 89.3%
DATA: 128 objects = 5776 bytes = 5.7%
HEAP: 99 objects = 5140 bytes = 5.1%
DATA+HEAP: 227 objects = 10916 bytes = 10.7%
Total: 2577 objects = 101773 bytes
-----------------------------------------------------------------------------
ROM image generated in 0.55 seconds
mv ROMImage*.*pp `dirname ../generated/ROMImage.cpp`;
mv ROMLog.txt ../generated
C:/Progra~1/Micros~1.0/EVC/wce500/bin/clarm.exe /Zi /Od /Zm200 -I../generated -IC:/p/cldc/src/vm/share/compiler -IC:/p/cldc/src/vm/share/debugger -IC:/p/cldc/src/vm/share/handles -IC:/p/cldc/src/vm/share/memory -IC:/p/cldc/src/vm/share/interpreter -IC:/p/cldc/src/vm/share/isolate -IC:/p/cldc/src/vm/share/natives -IC:/p/cldc/src/vm/share/reflection -IC:/p/cldc/src/vm/share/runtime -IC:/p/cldc/src/vm/share/utilities -IC:/p/cldc/src/vm/share/ROM -IC:/p/cldc/src/vm/share/verifier -IC:/p/cldc/src/vm/share/float -IC:/p/cldc/src/vm/os/utilities -IC:/p/cldc/src/vm/share/memoryprofiler -IC:/p/cldc/src/vm/os/wince -IC:/p/cldc/src/midp -IC:/p/cldc/src/vm/cpu/arm -IC:/p/cldc/src/vm/cpu/c -IC:/p/cldc/src/vm/cpu/i386 -IC:/p/cldc/src/vm/cpu/sh -IC:/p/cldc/src/vm/cpu/thumb -IC:/p/cldc/src/vm/cpu/thumb2 -IC:/p/cldc/src/anilib/share -IC:/p/cldc/src/anilib/wince -IC:/p/cldc/src/tools/ads_extender -IC:/p/build_output/pcsl/wince_arm/inc -DARM /IC:/Progra~1/window~4/wce500/Window~1.0PO/Include/Armv4i /D"_DEBUG" /D"AZZERT" /D"DEBUG" /D_CRT_SECURE_NO_DEPRECATE /X -DREQUIRES_JVMCONFIG_H=1 /W3 -D_WIN32_WCE=500 -DARM -D_ARM -D_ARM_ -DUNDER_CE=500 -DUNICODE -D_UNICODE /nologo -DHARDWARE_LITTLE_ENDIAN=1 -DHOST_LITTLE_ENDIAN=1 -DMSW_FIRST_FOR_DOUBLE=1 /D "ROMIZING" /Zi /Od /Zm200 -c ../generated/ROMImage.cpp
ROMImage.cpp
creating resources.res
C:/Progra~1/Micros~1.0/Common/EVC/bin/rc.exe /d_WIN32_WCE=500 /iC:/Progra~1/window~4/wce500/Window~1.0PO/Include/Armv4i \
/dUNDER_CE=500 /dUNICODE /d_UNICODE /foresources.res \
C:/p/cldc/src/vm/os/wince/resources.rc
C:/Progra~1/Micros~1.0/EVC/wce500/bin/link.exe /incremental:no /nologo /entry:"WinMainCRTStartup" /MACHINE:THUMB /base:0x00010000 /stack:0x10000,0x1000 /SUBSYSTEM:windowsce,5.00 /LIBPATH:C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I /VERBOSE:LIB corelibc.lib aygshell.lib /nodefaultlib:libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib /nodefaultlib:oldnames.lib /debug /out:../bin/cldc_vm_g.exe jvmspi.obj Main_wince.obj NativesTable.obj ROMImage.obj resources.res ../bin/cldc_vmx_g.lib \
../bin/cldc_vmtest_g.lib ../bin/cldc_vm_g.lib /pdb:../bin/cldc_vm_g.pdb \
commctrl.lib coredll.lib winsock.lib C:/p/build_output/pcsl/wince_arm/lib/libpcsl_memory.lib C:/p/build_output/pcsl/wince_arm/lib/libpcsl_print.lib C:/p/build_output/pcsl/wince_arm/lib/libpcsl_network.lib C:/p/build_output/pcsl/wince_arm/lib/libpcsl_string.lib C:/p/build_output/pcsl/wince_arm/lib/libpcsl_file.lib

Searching libraries
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\corelibc.lib:
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\aygshell.lib:
Searching ../bin/cldc_vmx_g.lib:
Searching ../bin/cldc_vmtest_g.lib:
Searching ../bin/cldc_vm_g.lib:
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\commctrl.lib:
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\coredll.lib:
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\winsock.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_memory.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_print.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_network.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_string.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_file.lib:
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\corelibc.lib:
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\aygshell.lib:
Searching ../bin/cldc_vmx_g.lib:
Searching ../bin/cldc_vmtest_g.lib:
Searching ../bin/cldc_vm_g.lib:
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\commctrl.lib:
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\coredll.lib:
Searching C:/Progra~1/window~4/wce500/Window~1.0PO/Lib/ARMV4I\winsock.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_memory.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_print.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_network.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_string.lib:
Searching C:/p/build_output/pcsl/wince_arm/lib/libpcsl_file.lib:

Finished searching libraries
LINK : error LNK2001: unresolved external symbol WinMainCRTStartup /MACHINE:THUMB
cldc_vm_g.lib(TaskContext.obj) : error LNK2001: unresolved external symbol _rom_data_block
cldc_vm_g.lib(ROM.obj) : error LNK2001: unresolved external symbol _rom_data_block
cldc_vm_g.lib(Compiler.obj) : error LNK2001: unresolved external symbol _rom_data_block
cldc_vm_g.lib(Debug.obj) : error LNK2001: unresolved external symbol _rom_data_block
cldc_vm_g.lib(Universe.obj) : error LNK2001: unresolved external symbol _rom_data_block

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
george_ustc
Offline
Joined: 2008-08-26

forget to point - the target platform is wince arm