<div>When I try to 'make' oggz (0.9.9), I get the following compile error</div><div>make[4]: Leaving directory `/c/liboggz/src/tools/oggz-chop'</div><div>make[4]: Entering directory `/c/liboggz/src/tools'</div>
<div>/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wextra -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -o oggz-info.exe oggz-info.o skeleton.o oggz_tools.o dirac.o ../liboggz/<a href="http://liboggz.la">liboggz.la</a> -logg -lm </div>
<div>libtool: link: gcc -g -O2 -Wall -Wextra -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -o .libs/oggz-info.exe oggz-info.o skeleton.o oggz_tools.o dirac.o ../liboggz/.libs/liboggz.a /mingw/lib/libogg.a</div>
<div>oggz-info.o: In function `ot_fisbone_print':</div><div>c:\liboggz\src\tools/oggz-info.c:297: undefined reference to `strsep'</div><div>collect2: ld returned 1 exit status</div><div>make[4]: *** [oggz-info.exe] Error 1</div>
<div><br></div><div>That bit of code is:</div><div><div style="font-family: "Courier New"; font-size:10.0pt; color: #000000;background-color: #ffffff; font-style: normal; font-weight: normal; text-decoration: none;">
<pre><span> </span><span style="color:#c04000;font-weight: bolder;">printf</span><span>(</span><span style="color:#008080;">"\tMessage Header Fields:\n"</span><span>)</span><span>;</span>
<span> </span><span style="color:#800080;font-weight: bolder;">while</span><span> (</span><span style="color:#000080;">1</span><span>) </span><span style="color:#800000;">{</span>
<span> token </span><span>=</span><span> </span><span style="font-weight: bolder;">strsep</span><span>(</span><span>&</span><span>messages, </span><span style="color:#008080;">"\n\r"</span><span>)</span><span>;</span>
<span> </span><span style="color:#c04000;font-weight: bolder;">printf</span><span>(</span><span style="color:#008080;">"\t %s"</span><span>, token)</span><span>;</span>
<span> </span><span style="color:#800080;font-weight: bolder;">if</span><span> (messages </span><span>==</span><span> </span><span style="color:#c04000;font-weight: bolder;">NULL</span><span>)</span>
<span> </span><span style="color:#800080;font-weight: bolder;">break</span><span>;</span>
<span> </span><span style="color:#800000;">}</span>
</pre><pre><font class="Apple-style-span" color="#800000">removing the offending code, it builds okay</font></pre><pre><font class="Apple-style-span" color="#800000">gcc (GCC) 4.3.0 20080305 (alpha-testing) mingw-20080502
<br></font></pre><pre><font class="Apple-style-span" color="#800000">It would help the Windows community if you provided prebuilt binaries... preferably Visual C built, but MinGW is fine... just avoid requiring cygwin if you can.</font></pre>
<pre><font class="Apple-style-span" color="#800000">Cheers,</font></pre><pre><font class="Apple-style-span" color="#800000">Frank Barchard</font></pre><pre><font class="Apple-style-span" color="#800000">Google Chrome <video></font></pre>
</div></div>