jdk 1.4 build problem libjvm.so

Ricardo Britto netchaos at terra.com.br
Sat Dec 18 12:49:46 PST 2004


Hi folks, 
 
I'm running FreeBSD 5.3-RELEASE and facing problems while trying to 
build jdk 1.4 through ports. 
I got this error: 
 
Linking launcher... 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::is_in_transition_state() const' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::_vm_thread' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::_cur_vm_operation' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::CompiledIC(Relocation*)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::destroy()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::stop_and_get_world_stopped_timer()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::wait_for_vm_thread_exit()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::stub_address() const' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::set_to_monomorphic(CompiledICInfo 
const&)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to 
`CompiledIC::compute_monomorphic_entry(methodHandle, KlassHandle, 
int, int, CompiledICInfo&, Thread*)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::set_ic_destination(unsigned 
char*)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::set_to_megamorphic(CallInfo*, 
Bytecodes::Code, Thread*)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::is_clean() const' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledStaticCall::set_to_clean()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::print()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::restart_world_stopped_timer()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to 
`CompiledStaticCall::set_stub_to_clean(static_stub_Relocation*)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::CompiledIC(NativeCall*)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledStaticCall::set(StaticCallInfo 
const&)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::cached_oop() const' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::set_to_clean()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::restart_application_timer()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledStaticCall::is_clean()const' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to 
`CompiledStaticCall::compute_entry(methodHandle, StaticCallInfo&)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::create()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::stop_and_get_application_timer()' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::set_cached_oop(oopDesc*)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::is_megamorphic() const' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::execute(VM_Operation*)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `VMThread::oops_do(OopClosure*)' 
/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product/libjvm.so: 
undefined reference to `CompiledIC::ic_destination() const' 
gmake[3]: *** [gamma] Error 1 
gmake[3]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product' 
gmake[2]: *** [the_vm] Error 2 
gmake[2]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler1/product' 
gmake[1]: *** [product1] Error 2 
gmake[1]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' 
gmake: *** [product1] Error 2 
*** Error code 2 
 
Stop in /usr/ports/java/jdk14. 
 
Anyone knows what's happening and how to fix it? 
 
Thanks in advance, 
 
Ricardo Britto 



More information about the freebsd-java mailing list