it works for me.

you should compile from the beginning, it looks like there's some leftover dependencies from the last time you compiled. Do either
   1. ./bjam ... -a
   2. Delete & download moses again


On 30/11/15 16:31, Valmi Dufour-Lussier wrote:
Hello,

I'm afraid I must be doing something stupid because I built Moses in
the past without any problem, but I have just got a new computer and
I'm getting multiple linking errors, all related to things in the
Moses namespace.

Here are the first two errors, which look representative to me, and
I'm attaching the build log:

moses/bin/gcc-5.2.0/release/link-static/threading-multi/libmoses.a(ExportInterface.o):
In function `batch_run()':
ExportInterface.cpp:(.text+0x14d8): undefined reference to `typeinfo
for Moses::Mmsapt'
ExportInterface.cpp:(.text+0x1507): undefined reference to
`Moses::Mmsapt::add(std::string const&, std::string const&,
std::string const&)'

For reference, /opt is a symbolic link to /home/valmi/opt.

The file was generated with:

./bjam -j40 --with-irstlm=/opt/irstlm --with-boost=/opt/boost_1_59_0
--debug-configuration -d2

Moses is a fresh pull from this morning, IRSTLM is 5.80.08 and Boost is 1.59.0.

Thanks and regards,
Valmi


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

--
Hieu Hoang
http://www.hoang.co.uk/hieu

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to