This is the second time I've tried to build the JDK from scratch and it's failed both times. The errors I'm getting are:

/home/dlbarron/Desktop/jdk-build/hotspot/src/share/vm/runtime/os.hpp:325: error: extra qualification 'os::' on member 'exception_name' /home/dlbarron/Desktop/jdk-build/hotspot/src/cpu/i486/vm/frame_i486.hpp:98: error: extra qualification 'frame::' on member 'native_param_addr' /home/dlbarron/Desktop/jdk-build/hotspot/src/cpu/i486/vm/nativeInst_i486.hpp: In static member function 'static jint NativeCall::is_call_to(unsigned char*, unsigned char*)': /home/dlbarron/Desktop/jdk-build/hotspot/src/cpu/i486/vm/nativeInst_i486.hpp:130: error: 'nativeInstruction_at' was not declared in this scope /home/dlbarron/Desktop/jdk-build/hotspot/src/cpu/i486/vm/nativeInst_i486.hpp:131: error: 'nativeCall_at' was not declared in this scope /home/dlbarron/Desktop/jdk-build/hotspot/src/share/vm/memory/referenceProcessor.hpp: At global scope: /home/dlbarron/Desktop/jdk-build/hotspot/src/share/vm/memory/referenceProcessor.hpp:118: error: extra qualification 'ReferenceProcessor::' on member 'list_name' /home/dlbarron/Desktop/jdk-build/hotspot/src/share/vm/runtime/thread.hpp:1521: error: extra qualification 'Threads::' on member 'jvmpi_fab_heavy_monitors'
make[3]: *** [accessFlags.o] Error 1
make[3]: Leaving directory `/home/dlbarron/Desktop/jdk-build/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[2]: *** [the_vm] Error 2
make[2]: Leaving directory `/home/dlbarron/Desktop/jdk-build/control/build/linux-i586/hotspot-i586/tmp/linux_i486_compiler2/product'
make[1]: *** [product] Error 2
make[1]: Leaving directory `/home/dlbarron/Desktop/jdk-build/control/build/linux-i586/hotspot-i586/tmp'
make: *** [product] Error 2

Searching on Google I did see another person was having the same problem and the suggested resolution was to use GCC 4.03. I hope that's not the only solution. I did install the
jdk-1.5.0_08-gcc4-1.patch which I understood took care of this issue.

I hope someone can offer a better solution.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to