Hi,<br><br>I was trying to build llvm-gcc by following the instructions as given in this webpage : <a href="http://llvm.org/docs/GCCFEBuildInstrs.html">http://llvm.org/docs/GCCFEBuildInstrs.html</a> <br>on Ubuntu 7.10. At step 5 (make ENABLE_OPTIMIZED=0), I am getting make errors:<br>
<br>make[2]: Leaving directory `/home/pprabhu/llvm/llvm-objects/i686-pc-linux-gnu/libjava'<br>/home/pprabhu/llvm/llvm-objects/gcc/gcj -B/home/pprabhu/llvm/llvm-objects/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include --encoding=UTF-8 -Wno-deprecated -C -g -classpath '' -bootclasspath /home/pprabhu/llvm/llvm-objects/i686-pc-linux-gnu/libjava':'../../../llvm-gcc/libjava':'../../../llvm-gcc/libjava/external/w3c_dom':'../../../llvm-gcc/libjava/external/sax -d /home/pprabhu/llvm/llvm-objects/i686-pc-linux-gnu/libjava ../../../llvm-gcc/libjava/java/lang/Class.java<br>
../../../llvm-gcc/libjava/java/util/jar/JarFile.java:44: error: Class or interface 'gnu.java.security.pkcs.SignerInfo' not found in import.<br> import gnu.java.security.pkcs.SignerInfo;<br> ^<br>../../../llvm-gcc/libjava/java/util/jar/JarFile.java:520: error: Type 'PKCS7SignedData' not found in the declaration of the local variable 'sig'.<br>
PKCS7SignedData sig = null;<br> ^<br>../../../llvm-gcc/libjava/java/util/jar/JarFile.java:563: error: Type 'PKCS7SignedData' not found in the declaration of the local variable 'sig'.<br>
PKCS7SignedData sig = (PKCS7SignedData) pkcs7Dsa.get(alias);<br> ^<br>../../../llvm-gcc/libjava/java/util/jar/JarFile.java:627: error: Type 'SignerInfo' not found in the declaration of the argument 'signerInfo' of method 'verify'.<br>
private void verify(Certificate[] certs, SignerInfo signerInfo,<br> ^<br>4 errors<br>make[1]: *** [java/lang/Class.class] Error 1<br>make[1]: Leaving directory `/home/pprabhu/llvm/llvm-objects/i686-pc-linux-gnu/libjava'<br>
make: *** [all-target-libjava] Error 2<br><br><br>The java file gnu.java.security.pkcs.SignerInfo.java is not present in /home/pprabhu/llvm/llvm-objects/i686-pc-linux-gnu/libjava (or any other directory in the bootclasspath). I have libjava8-jar installed in /usr/share/java. Could this problem be due to libjava8-jar on the classpath ? (If so) How do I add /usr/share/java to the classpath and pass it to the configure script ? Or is there something else that I am missing ?<br>
<br>I am sorry if this question has been asked before, I searched the archives a bit, but I could not find anything related to this.<br><br>thanks,<br>Prakash<br>