Sean Qiu wrote: > Hi, All > > I'm trying to merge latest updates in M9 to our Java6 branch. I get > following error messages while building hdk. > > 1. ant -Dhy.no.thr=true > I got following error while running the test, > > /hdk/jdk/jre/bin/libhythr.so: version `HYTHR_0.2' not found (required by > /hdk/jdk/jre/bin/libhyprt.so) > failed to open hyprt library. > > 2. ant > I can't build the classlib at all, it got following > > [exec] ../shared/main.o ../shared/cmain.o > ../shared/launcher_copyright.o ../shared/strbuf.o ../shared/libhlp.o > -Xlinker --start-group > -L/home/xiaoxia/checkout/hdk6/working_classlib/deploy/lib/ > -L/home/xiaoxia/checkout/hdk6/working_classlib/deploy/jdk/jre/bin/ > /home/xiaoxia/checkout/hdk6/working_classlib/deploy/lib/libhycommon.a > -lhythr -lhyprt -Xlinker --end-group -o ../java -lc -lm -ldl \ > [exec] -Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker > \$ORIGIN/ -Xlinker -rpath-link -Xlinker > -L/home/xiaoxia/checkout/hdk6/working_classlib/deploy/jdk/jre/bin > [exec] ../shared/main.o: In function `addDirsToPath': > [exec] > /home/xiaoxia/checkout/hdk6/working_classlib/modules/luni/src/main/native/launcher/unix/../shared/main.c:1071: > undefined reference to `main_get_executable_name' > [exec] > /home/xiaoxia/checkout/hdk6/working_classlib/modules/luni/src/main/native/launcher/unix/../shared/main.c:1119: > undefined reference to `main_mem_allocate_memory' > [exec] ../shared/main.o: In function `main_addVMDirToPath': > [exec] > /home/xiaoxia/checkout/hdk6/working_classlib/modules/luni/src/main/native/launcher/unix/../shared/main.c:1538: > undefined reference to `main_get_executable_name' > [exec] > /home/xiaoxia/checkout/hdk6/working_classlib/modules/luni/src/main/native/launcher/unix/../shared/main.c:1559: > undefined reference to `main_mem_allocate_memory' > [exec] > /home/xiaoxia/checkout/hdk6/working_classlib/modules/luni/src/main/native/launcher/unix/../shared/main.c:1575: > undefined reference to `main_mem_free_memory' > [exec] > /home/xiaoxia/checkout/hdk6/working_classlib/modules/luni/src/main/native/launcher/unix/../shared/main.c:1579: > undefined reference to `main_mem_free_memory' > [exec] ../shared/cmain.o: In function `main': > [exec] > /home/xiaoxia/checkout/hdk6/working_classlib/modules/luni/src/main/native/launcher/unix/../shared/cmain.c:113: > undefined reference to `main_open_port_library' > [exec] > /home/xiaoxia/checkout/hdk6/working_classlib/modules/luni/src/main/native/launcher/unix/../shared/cmain.c:117: > undefined reference to `main_lookup_name' > [exec] collect2: ld returned 1 exit status > [exec] make: *** [../java] Error 1 > > > I've found some discussions about HYTHR 0.2 in > http://issues.apache.org/jira/browse/HARMONY-3090 > But I'm not sure the progress. > > Suggesion? Comments? Thank you very much. > I don't think property "-Dhy.no.thr=true" should be used, and I can build classlib java6 branch several weeks ago, will try to rebuild it. -- Best Regards, Regis.