Posted by finsprings
on November 26, 2008 at 11:15 AM PST
I am cross-compiling (using bitbake) for an embedded linux device (buglabs.net BUG) from cdc_phoneme.dev.java.net_.svn.phoneme.builds.phoneme_advanced-mr2-dev-b73_11560_.tar.gz with:
make CVM_JVMDI=true CVM_JIT=false CVM_JVMPI=true -C cdc/build/linux-arm-generic bin
and I get an error:
make: *** No rule to make target `/home/dave/bug/com.buglabs.build.oe/build/tmp/work/armv6-poky-linux-gnueabi/phoneme-advanced-personal-debug-mr2-r0/cdc/build/linux-arm-generic/./lib/jvm.hprof.txt', needed by `hprof'. Stop.
If I copy ./cdc/src/share/tools/hprof/jvm.hprof.txt to the lib dir the make will proceed and complete successfully. If I build without the CVM_JVMPI it builds and runs just fine but I'd like to add profiling support. It's 99.9% of the way there as the code itself is all compiling; it's just failing to find jvm.hprof.txt in the right place when building the hprof tool for some reason.
Anyone else seen this problem?