<font size="4">Hello there,</font><div><font size="4"><br></font></div><div><font size="4">Sadly I have not been able to compile babeltrace uder cygwin because it has undefined symbols. This is the error I get from make:</font></div>
<div><font size="4"><br></font></div><div><div><font size="4">.libs/ctf-text.o: In function `ctf_text_write_event':</font></div><div><font size="4">/cygdrive/c/Users/cespedec/Downloads/babeltrace/babeltrace-1.0.0-rc2/formats/ctf-text/ctf-text.c:249: undefined reference to `_ctf_print_timestamp'</font></div>
<div><font size="4">/cygdrive/c/Users/cespedec/Downloads/babeltrace/babeltrace-1.0.0-rc2/formats/ctf-text/ctf-text.c:251: undefined reference to `_ctf_print_timestamp'</font></div><div><font size="4">/cygdrive/c/Users/cespedec/Downloads/babeltrace/babeltrace-1.0.0-rc2/formats/ctf-text/ctf-text.c:263: undefined reference to `_ctf_print_timestamp'</font></div>
<div><font size="4">collect2: ld returned 1 exit status</font></div><div><font size="4">Makefile:374: recipe for target `<a href="http://libbabeltrace-ctf-text.la">libbabeltrace-ctf-text.la</a>' failed</font></div></div>
<div><font size="4"><br></font></div><div><font size="4">I am using $LDFLAGS=-no-undefined which is a linker flag passed to libtool in order not to allow undefined symbols. </font></div><div><font size="4">If I don't use the flag then I get other warnings about:</font></div>
<div><font size="4"><br></font></div><div><pre><font size="4">libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries</font></pre><pre><pre><font size="4">*** Warning: This system can not link to static lib archive ../mailbox/<a href="http://libmailutils.la">libmailutils.la</a>.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries</font></pre><font size="4">
</font></pre><pre><font size="4"><span style="font-family:arial;white-space:normal">The libtool issue is well explained on this thread: </span><a href="http://cygwin.com/ml/cygwin/2005-08/msg00052.html">http://cygwin.com/ml/cygwin/2005-08/msg00052.html</a></font></pre>
<pre><font size="4">
<span style="font-family:arial;white-space:normal">Simply put cygwin's libtool does not cope well with undefined symbols.</span>
</font></pre><pre><span style="font-family:arial;white-space:normal"><font size="4"><br></font></span></pre><pre><span style="font-family:arial;white-space:normal"><font size="4">Thanks for your help.</font></span></pre>
<pre><br class="Apple-interchange-newline">
</pre><pre><br></pre></div>