You are not logged in.

#1 2012-09-28 06:25:37

synthead
Member
Registered: 2006-05-09
Posts: 1,337

undefined reference to `boost::system::system_category()'

I'm trying to compile LibreOffice from GIT (using a modified PKGBUILD from ABS).  In doing so, I land at this:

[build LNK] StaticLibrary/libooopathutils.a
liborcus/.libs/liborcus-0.2.a(liborcus_0.2_la-pstring.o): In function `thread_exception':
/usr/include/boost/thread/exceptions.hpp:49: undefined reference to `boost::system::system_category()'
/usr/include/boost/thread/exceptions.hpp:49: undefined reference to `boost::system::system_category()'
liborcus/.libs/liborcus-0.2.a(liborcus_0.2_la-pstring.o): In function `__static_initialization_and_destruction_0':
/usr/include/boost/system/error_code.hpp:214: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: undefined reference to `boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: undefined reference to `boost::system::system_category()'
collect2: error: ld returned 1 exit status
make[6]: *** [orcus-format-xml] Error 1
make[6]: Leaving directory `/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/UnpackedTarball/orcus/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/UnpackedTarball/orcus/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/UnpackedTarball/orcus'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/UnpackedTarball/orcus'
S=/home/max/aur/libreoffice-git/src/libreoffice-core-build && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/LinkTarget/StaticLibrary/ && ar -rsu $W/LinkTarget/StaticLibrary/libooopathutils.a  $W/CxxObject/tools/source/misc/pathutils.o     2> /dev/null
make[2]: *** [/home/max/aur/libreoffice-git/src/libreoffice-core-build/workdir/unxlngx6.pro/ExternalProject/liborcus/build] Error 2
make[2]: *** Waiting for unfinished jobs....

How can I get this to use boost_system?

Offline

Board footer

Powered by FluxBB