error during build of mork_helper, on illumos/xstreamos

Richard PALO richard at netbsd.org
Fri Feb 20 23:29:39 PST 2015


-----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-----


More information about the LibreOffice mailing list