did you also merge the files
    jam-files/sanity.jam
    moses/src/Jamfile
?

They contain the reference to the boost library
    libboost_filesystem
This library has been in boost for a long time so it should work with 
whatever boost version you have.

On 14/08/2012 14:36, Nicholas Ruiz wrote:
> Hi developers,
>
> I recently attempted to merge my source code with the master copy and
> now I'm receiving the following link errors:
>
> ./bjam --with-irstlm=/malet0/ssi/ruiz/apps/irstlm -j4
> --with-boost=/malet0/ssi/ruiz/apps/boost
>
> moses/src/bin/gcc-4.1.2/release/debug-symbols-on/link-static/threading-multi/libmoses_internal.a(StaticData.o):
> In function `initial_path':
> /malet0/ssi/ruiz/apps/boost/include/boost/filesystem/v3/operations.hpp:459:
> undefined reference to
> `boost::filesystem3::detail::initial_path(boost::system::error_code*)'
> moses/src/bin/gcc-4.1.2/release/debug-symbols-on/link-static/threading-multi/libmoses_internal.a(StaticData.o):
> In function `system_complete':
> /malet0/ssi/ruiz/apps/boost/include/boost/filesystem/v3/operations.hpp:531:
> undefined reference to
> `boost::filesystem3::detail::system_complete(boost::filesystem3::path
> const&, boost::system::error_code*)'
> moses/src/bin/gcc-4.1.2/release/debug-symbols-on/link-static/threading-multi/libmoses_internal.a(StaticData.o):
> In function `Moses::StaticData::SetExecPath(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)':
> /research/hlt/nicruiz/workspace/mosesdecoder/moses/src/StaticData.cpp:1489:
> undefined reference to `boost::filesystem3::path::parent_path() const'
> collect2: ld returned 1 exit status
>
> Looks like it's something to do with the Boost Filesystem library.
> Perhaps it has something to do with the link order? I'm using Boost
> version 1.49.
>
> Thanks for your suggestions.
> Nick
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>

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

Reply via email to