Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 20/02/15 09:52, Gabriele Bulfon a écrit :
Great Michael,
I had to double patch, both to have LDFLAGS with "
-Wl,-z,defs" and to enable some X11 linking
in vcl/Library_vcl.mk.
Specifically I borrowed the "ifeq ($(OS),LINUX)" various linkings, and added them into
the "ifeq ($(OS),SOLARIS)", before checking for SPARC or not.
Now, I get this stupid single one...:
Undefined                       first referenced
symbol                             in file
main                                /usr/lib/libcups.so

In pkgsrc this is patched as follows:

$NetBSD: patch-vcl_Library__vcl.mk,v 1.1 2015/02/04 18:19:34 ryoon Exp $

--- vcl/Library_vcl.mk.orig   2015-01-22 20:05:28.000000000 +0000
+++ vcl/Library_vcl.mk
@@ -703,7 +703,7 @@ endif
 endif
 endif
 
-ifeq ($(OS),LINUX)
+ifeq ($(GUIBASE),unx)
 $(eval $(call gb_Library_add_libs,vcl,\
      -lm \
      -ldl \

If this works for you, I'll prepare to upstream this patch.

As to the '-Wl,-Bdirect' and '-Wl,-zdefs' in solaris.mk I'm testing if this passes, if so
I'll upstream that as well.. (builds/runs here without it, at least on gcc49)

BTW I had far fewer difficulties to get a working LO with gcc>=4.8 on SunOS.

- -- 
Richard PALO

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJU6DPiAAoJECAB22fHtp27OX4H/Rpx7tt6VaTCHBCzBJAfF+nD
xuI0o7kNL1dudDyIaNbWIhXr+/JaJdOhvU8ttSyUrOeQgvGChqGBJfKzHPzzbfaZ
fIC0L3ejEQQRV59lSC15JjDAvQOQRKUfScoIcdeI6SqRGy2SebkanJsXtTmXHDy8
Y79l44NSYvzjVYBQx/zYprVoQfBlQeXrzRSJbz0osjsdeCls+HvYGlF5zKg6Ezk0
FMWKPJ+AzgcehXbAnNeDLHklpja7brkGa6MytLV7zDDOPfjwFQZLm06PqqkATvR1
rQIqGzHs2gp6u4anig8M+1BCAO7mlUy5HPMTj6SaS2gO8gdQW9mKVUMl/voKGv4=
=MVjx
-----END PGP SIGNATURE-----

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.