<div dir="ltr"><font face="verdana,sans-serif">Hello,<br><br>I am currently working on the latest version of VMKit (svn trunk). I need to debug VMKit so I tried compiling VMKit in debugging mode (ENABLE_OPTIMIZED=0). To do so I compiled LLVM in debug mode (yes, I really did it...) via:<br>

   ./configure --enable-debug-runtime --enable-debug-symbols<br>   make ENABLE_OPTIMIZED=0<br>It all went okay for LLVM.<br><br>Now I tried to compile VMKit in debug mode via:<br>   ./configure --with-llvmsrc=/home/koutheir/llvm --with-llvmobj=/home/koutheir/llvm --with-gnu-classpath-libs=/home/koutheir/classpath/lib --with-gnu-classpath-glibj=/usr/local/classpath/share/classpath/glibj.zip ENABLE_OPTIMIZED=0<br>

   make ENABLE_OPTIMIZED=0<br><br>The compilation failed in the file: ".../vmkit/lib/vmkit/CommonThread/Debug+Asserts/Sigsegv_gc.s" and said "file 1 already reserved" (or something alike).<br><br>I fixed the error by adding "19" on the first line of the file where appropriate. And then retried compiling:<br>

And now, compilation fails in: Buildfile: /media/Data/Documents/PhD/VMKit/vmkit/mmtk/java/build.xml<br>And the error is:<br>    [javac] /media/Data/Documents/PhD/VMKit/vmkit/mmtk/java/build.xml:4: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds<br>

    [javac] Compiling 760 source files to /media/Data/Documents/PhD/VMKit/vmkit/mmtk/java/classes<br>    [javac] /media/Data/Documents/PhD/VMKit/vmkit/mmtk/java/src/org/j3/bindings/Bindings.java:40: duplicate class: org.j3.bindings.Bindings<br>

    [javac] public final class Bindings {<br>    [javac]              ^<br><br>And more similar errors for other classes are emitted.<br>What is the real problem here? I don't understand why javac says the class is duplicate. I should note that compiling LLVM and VMKit in Release mode works.<br>

<br>Any ideas about this error?<br><br clear="all"></font><div dir="ltr"><span style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Thank you.</span><br style="color:rgb(0,0,0)"><br style="color:rgb(0,0,0)"><span style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Koutheir ATTOUCHI.</span><br style="font-family:verdana,sans-serif;color:rgb(0,0,0)">

<span style="font-family:verdana,sans-serif;color:rgb(0,0,0)">LinkedIn profile: </span><a style="font-family:verdana,sans-serif;color:rgb(0,0,0)" href="http://tn.linkedin.com/in/koutheirattouchi" target="_blank">http://tn.linkedin.com/in/koutheirattouchi</a><br style="color:rgb(0,0,0)">

<br></div><br>
</div>