<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">alex tudor</b> <span dir="ltr"><<a href="mailto:alexx.tudor@gmail.com">alexx.tudor@gmail.com</a>></span><br>
Date: Sun, Feb 12, 2012 at 3:23 PM<br>Subject: Re: [SRILM User List] SRILM install: LM.cc error<br>To: <a href="mailto:prochva1@fel.cvut.cz">prochva1@fel.cvut.cz</a><br><br><br>Andreas, it works ! Thank you !<br>
Vaclav, I read it but that package fixed aren't in the cygwin install yet. I'll try to download it separately.<br>Now I have another problem: <br><br>make[2]: Entering directory `/cygdrive/c/srilm13/dstruct/src'<br>

gcc -Wall -Wno-unused-variable -Wno-uninitialized -Wimplicit-int    -I. -I../../include   -c -g -O2 -o ../obj/cygwin/maxalloc.o maxalloc.c<br>g++ -Wall -Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES    -I. -I../../include   -L../../lib/cygwin  -g -O2 -o ../bin/cygwin/maxalloc.exe ../obj/cygwin/maxalloc.o ../obj/cygwin/libdstruct.a  -lm  ../../lib/cygwin/libmisc.a  -ltcl84  -lm<br>

/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -ltcl84<br>collect2: ld returned 1 exit status<br>/cygdrive/c/srilm13/common/Makefile.common.targets:108: recipe for target `../bin/cygwin/maxalloc.exe' failed<br>

<br>I suppose I need tcl-tk 8.4, but in cygwin is only 8.5.11. Any ideas ?<span class="HOEnZb"><font color="#888888"><br><br>Alex</font></span><div class="im HOEnZb"><br><br><div class="gmail_quote">On Sun, Feb 12, 2012 at 5:53 AM, Andreas Stolcke <span dir="ltr"><<a href="mailto:stolcke@icsi.berkeley.edu" target="_blank">stolcke@icsi.berkeley.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF"><div><div><br>

    </div></div>
    Try replacing the line<br>
    <br>
                while (waitpid(-1, NULL, WNOHANG) > 0) {<br>
    <br>
    with<br>
                while (waitpid(-1, (int *)NULL, WNOHANG) > 0) {<br>
    <br>
    Let me know if that works.<span><font color="#888888"><br>
    <br>
    Andreas<br>
    <br>
    <br>
  </font></span></div>

</blockquote></div><br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_quote">On Sun, Feb 12, 2012 at 11:37 AM,  <span dir="ltr"><<a href="mailto:prochva1@fel.cvut.cz" target="_blank">prochva1@fel.cvut.cz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hello,<br>
<br>
AFAICS both are base-files package/cygwin core problems (regressions from previous versions), both are already reported, the second one seems to be also fixed in cygwin CVS/snapshots ( <a href="http://cygwin.com/snapshots/" target="_blank">http://cygwin.com/snapshots/</a> ).<br>


<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
/-bash: LANG=${locale -uU}: bad substitution<br>
</blockquote></blockquote>
<br>
<a href="http://cygwin.com/ml/cygwin/2012-02/msg00335.html" target="_blank">http://cygwin.com/ml/cygwin/<u></u>2012-02/msg00335.html</a><br>
<br>
waitpid overload problem<br>
<br>
<a href="http://cygwin.com/ml/cygwin/2012-02/msg00184.html" target="_blank">http://cygwin.com/ml/cygwin/<u></u>2012-02/msg00184.html</a><br>
<a href="http://cygwin.com/ml/cygwin-patches/2012-q1/msg00016.html" target="_blank">http://cygwin.com/ml/cygwin-<u></u>patches/2012-q1/msg00016.html</a><br>
<br>
Vaclav<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
SRILM-User site list<br>
<a href="mailto:SRILM-User@speech.sri.com" target="_blank">SRILM-User@speech.sri.com</a><br>
<a href="http://www.speech.sri.com/mailman/listinfo/srilm-user" target="_blank">http://www.speech.sri.com/<u></u>mailman/listinfo/srilm-user</a><br>
</blockquote></div><br>
</div></div></div><br>