Re: Building on Solaris SPARC

Ben Walton <[email protected]>
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <[email protected]>
Excerpts from Floodeenjr, Thomas's message of Tue Feb 15 09:45:35 -0500 2011:

Hi Tom,

> I am getting this link error attempting to build on Solaris SPARC
> with SunStudio 11. How do I resolve this?

I used the attached patch.  It's a big hammer, but it gets the job
done.  I wasn't able to figure out why the symbol version map doesn't
work (the syntax looks fine to me[1]), so I simply disabled the symbol
map entirely.

Better solutions are welcomed! :)

Thanks
-Ben

[1] I did see a naming error where it looks as though the template
    from libxml was used and not updated to reflect xslt instead of
    xml though.
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt
0001-Forcefully-disable-version-script-use.patch (application/octet-stream, 839 B)
From ab7627feedff611e438f7a31fa27c7b0a8a3be96 Mon Sep 17 00:00:00 2001
From: Ben Walton <[email protected]>
Date: Sat, 9 Oct 2010 03:56:15 +0200
Subject: [PATCH] Forcefully disable version script use.

Signed-off-by: Ben Walton <[email protected]>
---
 libxslt/Makefile.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libxslt/Makefile.in b/libxslt/Makefile.in
index 8cba338..c163255 100644
--- a/libxslt/Makefile.in
+++ b/libxslt/Makefile.in
@@ -327,8 +327,8 @@ libxslt_la_SOURCES = \
 	xsltwin32config.h.in		\
 	libxslt.h
 
-@USE_VERSION_SCRIPT_FALSE@LIBXSLT_VERSION_SCRIPT = 
-@USE_VERSION_SCRIPT_TRUE@LIBXSLT_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxslt.syms
+LIBXSLT_VERSION_SCRIPT = 
+
 libxslt_la_LIBADD = $(EXTRA_LIBS)
 libxslt_la_LDFLAGS = \
 		$(WIN32_EXTRA_LDFLAGS)			\
-- 
1.7.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.