Date: Thu, 25 Aug 2011 10:16:26 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: office@FreeBSD.org Subject: libreoffice and non-base gcc Message-ID: <4E55F6CA.5060609@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
It seems that in desktop/unx subdirectory, when building oosplash executable, the libreoffice build uses C compiler to link the executable. But it is linked with at least one C++ library and so the linking fails: Entering /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.2.3/desktop/unx/source Making: oosplash unx /usr/local/bin/gcc45 -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=sysv -Wl,-rpath,'$ORIGIN:$ORIGIN/../basis-link/program:$ORIGIN/../basis-link/ure-link/lib',--enable-new-dtags -Wl,-export-dynamic -Wl,-rpath-link,../../unxfbsdx.pro/lib:/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxfbsdx.pro/lib:/lib:/usr/lib -L../../unxfbsdx.pro/lib -L../lib -L/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.2.3/solenv/unxfbsdx/lib -L/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxfbsdx.pro/lib -L/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.2.3/solenv/unxfbsdx/lib -L/usr/local/lib ../../unxfbsdx.pro/obj/splashx.o ../../unxfbsdx.pro/obj/start.o ../../unxfbsdx.pro/obj/args.o ../../unxfbsdx.pro/obj/pagein.o ../../unxfbsdx.pro/obj/file_image_unx.o \ -pthread -Wl,--as-needed -lXext -lX11 -Wl,--no-as-needed -luno_sal -L/usr/local/lib -lpng -lz -lm -o ../../unxfbsdx.pro/bin/oosplash /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxfbsdx.pro/lib/libuno_sal.so: undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)@GLIBCXX_3.4.14' collect2: ld returned 1 exit status dmake: Error code 1, while making '../../unxfbsdx.pro/bin/oosplash' -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E55F6CA.5060609>