[SRILM User List] Fwd: SRILM install: LM.cc error

alex tudor alexx.tudor at gmail.com
Sun Feb 12 05:27:33 PST 2012


---------- Forwarded message ----------
From: alex tudor <alexx.tudor at gmail.com>
Date: Sun, Feb 12, 2012 at 3:23 PM
Subject: Re: [SRILM User List] SRILM install: LM.cc error
To: prochva1 at fel.cvut.cz


Andreas, it works ! Thank you !
Vaclav, I read it but that package fixed aren't in the cygwin install yet.
I'll try to download it separately.
Now I have another problem:

make[2]: Entering directory `/cygdrive/c/srilm13/dstruct/src'
gcc -Wall -Wno-unused-variable -Wno-uninitialized -Wimplicit-int    -I.
-I../../include   -c -g -O2 -o ../obj/cygwin/maxalloc.o maxalloc.c
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
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot
find -ltcl84
collect2: ld returned 1 exit status
/cygdrive/c/srilm13/common/Makefile.common.targets:108: recipe for target
`../bin/cygwin/maxalloc.exe' failed

I suppose I need tcl-tk 8.4, but in cygwin is only 8.5.11. Any ideas ?

Alex


On Sun, Feb 12, 2012 at 5:53 AM, Andreas Stolcke
<stolcke at icsi.berkeley.edu>wrote:

>
>  Try replacing the line
>
>             while (waitpid(-1, NULL, WNOHANG) > 0) {
>
> with
>             while (waitpid(-1, (int *)NULL, WNOHANG) > 0) {
>
> Let me know if that works.
>
> Andreas
>
>
>

On Sun, Feb 12, 2012 at 11:37 AM, <prochva1 at fel.cvut.cz> wrote:

>
> Hello,
>
> 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 ( http://cygwin.com/snapshots/ ).
>
>  /-bash: LANG=${locale -uU}: bad substitution
>>>
>>
> http://cygwin.com/ml/cygwin/**2012-02/msg00335.html<http://cygwin.com/ml/cygwin/2012-02/msg00335.html>
>
> waitpid overload problem
>
> http://cygwin.com/ml/cygwin/**2012-02/msg00184.html<http://cygwin.com/ml/cygwin/2012-02/msg00184.html>
> http://cygwin.com/ml/cygwin-**patches/2012-q1/msg00016.html<http://cygwin.com/ml/cygwin-patches/2012-q1/msg00016.html>
>
> Vaclav
>
>
>
> ______________________________**_________________
> SRILM-User site list
> SRILM-User at speech.sri.com
> http://www.speech.sri.com/**mailman/listinfo/srilm-user<http://www.speech.sri.com/mailman/listinfo/srilm-user>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20120212/4cc5fae6/attachment.html>


More information about the SRILM-User mailing list