Re: [gtk-vnc-devel] [patch] solaris ld does not support --version-script



Halton Huo wrote:
Hi there,

I'm trying to build gtk-vnc trunk code on Solaris, but met ld fail,
it is because ld on Solaris does not support --version-script, can we just remove it?

Attach the patch here, do not know it is a right one.

I agree with Dan re: disabling conditionally on Solaris.

Please update this patch along with the CPP fix patch and resend the whole series. Please use hg export to generate the patches too so that they contain a proper manifest and username.

Regards,

Anthony Liguori

/opt/jdsbld/bin/ld-wrapper -G -h libgtk-vnc-1.0.so.0 -o .libs/libgtk-vnc-1.0.so.0.0.1 .libs/libgtk_vnc_1_0_la-continuation.o .libs/libgtk_vnc_1_0_la-coroutine.o .libs/libgtk_vnc_1_0_la-d3des.o .libs/libgtk_vnc_1_0_la-gvnc.o .libs/libgtk_vnc_1_0_la-vncdisplay.o .libs/libgtk_vnc_1_0_la-vncshmimage.o .libs/libgtk_vnc_1_0_la-vncmarshal.o -R/usr/X11/lib -L/usr/X11/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXi -lXext -lX11 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 -lfontconfig -lXrandr -lXcomposite -lXdamage -lpango-1.0 -lcairo -lXfixes -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgnutls -lc --version-script=./libgtk-vnc_sym.version
/usr/ccs/bin/ld: illegal option -- version-script=./libgtk-vnc_sym.version
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
        [-64]           enforce a 64-bit link-edit
        [-a]            create an absolute file
        [-b]            do not do special PIC relocations in a.out
        [-B direct | nodirect]
establish direct bindings, or inhibit direct binding
                        to, the object being created

Thanks,
Halton.
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
------------------------------------------------------------------------

_______________________________________________
Gtk-vnc-devel mailing list
Gtk-vnc-devel lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-vnc-devel





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]