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



Please ignore my previous one. Forget to remove .version from
src/Makefile.am, which will cause make dist error. 

A new one is attached, please check.
On Tue, 2007-10-30 at 12:14 +0800, Halton Huo wrote:
> Remake this patch, thanks a lot Jonh.
> 
> Cheers,
> Halton.
> On Sun, 2007-10-28 at 07:41 -0300, Jonh Wendell wrote:
> > Em Dom, 2007-10-28 às 12:16 +0800, Halton Huo escreveu:
> > > I'm new for Mercurial, I generate the patch using 'hg diff'.
> > > When I run 'hg export'  it tells me
> > > $hg export
> > > abort: export requires at least one changeset
> > 
> > Again, you should do a commit before:
> > hg commit
> > hg export
> > 
> > With the former you commit your changes in your local computer.
> > With the latter you do the same as 'svn diff'.
> > 
> > Bye,
> -------------------------------------------------------------------------
> 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

# HG changeset patch
# User halton judo
# Date 1193718780 -28800
# Node ID 260dc7164de84ac84410091b609c8be65c5548ae
# Parent  4a821c404746d5e1c0a7741eab7a2471672e2318
2007-10-30  Halton Huo <halton huo sun com>

	* src/Makefile.am: Use -export-symbols-regex to mark with symbols
	to export instead of a GNU LD --version-script. This allows us to
	build on Solaris' linker.

diff -r 4a821c404746 -r 260dc7164de8 ChangeLog
--- a/ChangeLog	Fri Oct 26 09:59:54 2007 -0400
+++ b/ChangeLog	Tue Oct 30 12:33:00 2007 +0800
@@ -1,3 +1,9 @@ 2007-09-13  "Daniel P. Berrange  <berran
+2007-10-30  Halton Huo <halton huo sun com>
+
+	* src/Makefile.am: Use -export-symbols-regex to mark with symbols
+	to export instead of a GNU LD --version-script. This allows us to 
+	build on Solaris' linker.
+
 2007-09-13  "Daniel P. Berrange  <berrange redhat com>
 
 	* src/gvnc.c:
diff -r 4a821c404746 -r 260dc7164de8 src/Makefile.am
--- a/src/Makefile.am	Fri Oct 26 09:59:54 2007 -0400
+++ b/src/Makefile.am	Tue Oct 30 12:33:00 2007 +0800
@@ -1,5 +1,5 @@
 
-EXTRA_DIST = libgtk-vnc_sym.version vncmarshal.txt
+EXTRA_DIST = vncmarshal.txt
 
 lib_LTLIBRARIES = libgtk-vnc-1.0.la
 
@@ -7,7 +7,7 @@ libgtk_vnc_1_0_la_CFLAGS = @GTK_CFLAGS@ 
 libgtk_vnc_1_0_la_CFLAGS = @GTK_CFLAGS@ @GNUTLS_CFLAGS@ @WARNING_CFLAGS@ \
                            -DSYSCONFDIR=\""$(sysconfdir)"\" \
                            @DEBUG_CFLAGS@
-libgtk_vnc_1_0_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libgtk-vnc_sym.version \
+libgtk_vnc_1_0_la_LDFLAGS = -export-symbols-regex 'vnc_display_' 'gvnc_' 'coroutine_' \
                             -version-info 0:1:0
 
 gtk_vnc_includedir = $(includedir)/gtk-vnc-1.0/
diff -r 4a821c404746 -r 260dc7164de8 src/libgtk-vnc_sym.version
--- a/src/libgtk-vnc_sym.version	Fri Oct 26 09:59:54 2007 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-{
-  global:
-    vnc_display_get_type;
-    vnc_display_credential_get_type;
-
-    vnc_display_new;
-    vnc_display_open_fd;
-    vnc_display_open_host;
-    vnc_display_is_open;
-    vnc_display_close;
-
-    vnc_display_send_keys;
-
-    vnc_display_set_credential;
-
-    vnc_display_set_use_shm;
-    vnc_display_set_pointer_local;
-    vnc_display_set_pointer_grab;
-    vnc_display_set_keyboard_grab;
-
-    vnc_display_get_pixbuf;
-
-    vnc_display_get_width;
-    vnc_display_get_height;
-    vnc_display_get_name;
-
-    vnc_display_client_cut_text;
-
-    gvnc_new;
-    gvnc_free;
-    gvnc_close;
-    gvnc_shutdown;
-
-    gvnc_open_fd;
-    gvnc_open_host;
-    gvnc_is_open;
-
-    gvnc_initialize;
-    gvnc_is_initialized;
-
-    gvnc_server_message;
-    gvnc_client_cut_text;
-    gvnc_pointer_event;
-    gvnc_key_event;
-    gvnc_framebuffer_update_request;
-    gvnc_set_encodings;
-    gvnc_set_pixel_format;
-    gvnc_set_shared_buffer;
-    gvnc_has_error;
-    gvnc_set_local;
-    gvnc_set_vnc_ops;
-    gvnc_shared_memory_enabled;
-    gvnc_get_name;
-    gvnc_get_width;
-    gvnc_get_height;
-
-    coroutine_init;
-    coroutine_release;
-    coroutine_swap;
-    coroutine_self;
-    coroutine_yieldto;
-    coroutine_yield;
-
-  local:
-      *;
-};


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