Re: Undefined symbols on Solaris

Nick Wellnhofer <[email protected]> Fri, 15 Feb 2019 16:32:05 +0100
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <[email protected]>
On 14/02/2019 14:43, Libor Bukata via xslt wrote:
> during the compilation of libxstl-1.1.33 I encountered the following linkage error on Solaris.
> 
>    CCLD     xsltproc
> ld: warning: file /builds/lbukata/29251802.libxslt.ST/components/libxslt/build/i86/libxslt/.libs/libxslt.so: linked to ../libxslt/.libs/libxslt.so: attempted multiple inclusion of file
> Undefined                       first referenced
>   symbol                             in file
> xsltCopyTree                        ../libxslt/.libs/libxslt.so
> xsltDefaultTrace                    ../libxslt/.libs/libxslt.so
> ld: fatal: symbol referencing errors
> 
> It seems that xsltCopyTree and xsltDefaultTrace symbols defined in transform.c are required to build xsltproc binary.

Both symbols are static and only used in transform.c. I suspect there's 
something else going on.

Nick