Dear All
I am compiling Moses on Mac OS (10.5, with aclocal & automake 1.11). I
am using irstlm instead of srilm.
./regenerate-makefiles.sh goes fine, as does ./configure
--with-irstlm=/my/path/to/irstlm. However, make reports the following
error:
$ make
make all-recursive
Making all in moses/src
make all-am
make[3]: Nothing to be done for `all-am'.
Making all in moses-cmd/src
make[2]: Nothing to be done for `all'.
Making all in misc
g++ -g -O2 -L/Users/ivan/local/irstlm/lib/i386-apple-darwin9.0 -o
processPhraseTable GenerateTuples.o processPhraseTable.o -L../moses/src
-lmoses -lirstlm -lz
ld: duplicate symbol mempool::mempool(int, int)in
/Users/ivan/local/irstlm/lib/i386-apple-darwin9.0/libirstlm.a(mempool.o)
and ../moses/src/libmoses.a(mempool.o)
collect2: ld returned 1 exit status
make[2]: *** [processPhraseTable] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Have other people experienced this error? Is it MacOSX only? Has
anyone solved it?
After a browse through the code, it seems both moses and irstlm have
more-or-less identical mempool.{cpp,h} files, and perhaps trying to
linnk both of these in is causing the problem. As the moses mempool
seems to be a copy of the irstlm mempool, is there a way of removing it
from moses and having moses use the irstlm version?
Thank you and best wishes
Ivan
--
********************************
Ivan Uemlianin
Canolfan Bedwyr
Safle'r Normal Site
Prifysgol Bangor University
BANGOR
Gwynedd
LL57 2PZ
[email protected]
********************************
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support