Missing ROMImage.cpp in build_output/linux_i386/target/generated
I'm learning how to build phoneme Feature. I've checkout the latest from SVN a few days ago. I compiled and build PCSL without problem.
Now I'm currently building CLDC for linux_i386. Everything was okay unitl I after romgen
../../romgen/app/romgen -cp /home/homebrew/src/pmef/build_output/classes.zip +GenerateGNUCode =HeapCapacity16M -romconfig /home/homebrew/src/pmef/cldc/src/vm/cldctest_rom.cfg -romincludepath /home/homebrew/src/pmef/cldc/src/vm +RewriteROMConstantPool +EnableAllROMOptimizations -romize
If romizer fails, increase your heap size.
Starting free heap = 13016 KB
Loading classes...Done! in 0.30 seconds
... reading system property: microedition.encoding
Fatal signal SIGSEGV: errno=0; code=1; addr=0x1000206
[Dumping all threads]
Current thread = 0x40001000
[Thread: 0x40001000 *** CURRENT ***]
task ID 0x1
Stack Trace (id=0) [make: *** [../generated/ROMImage.cpp] Segmentation fault
After looking around the make files, I found that the offending line in the file Dependencies in linux_i386/target/generated
$(GEN_DIR)/jvmconfig.h ../generated/ROMImage.cpp /home/homebrew/src/pmef/cldc/src/vm/share/ROM/ROMImage.hpp $(Precompiled_Headers)
ROMImage.cpp is missing from the generated directory. I then copied the file from romgen/generated seeing how the ROMImage.cpp is the same in loopgen and romgen. The compilation was able to continue.
My question is
1. Have I misconfigured something like setting the CLDC build to debug
2. Is it okay to copy the ROMImage.cpp to use in debug target?