Re: [gtk-vnc-devel] [patch] solaris ld does not support --version-script
- From: Halton Huo <Halton Huo Sun COM>
- To: Jonh Wendell <jwendell gnome org>
- Cc: gtk-vnc-devel List <gtk-vnc-devel lists sourceforge net>
- Subject: Re: [gtk-vnc-devel] [patch] solaris ld does not support --version-script
- Date: Tue, 30 Oct 2007 12:14:33 +0800
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,
--
Halton Huo
Solaris Desktop Team, Sun Microsystems
Tel: +86-10-82618200 ext. 82113/ +86-10-626732113
Fax: +86-10-62780969
eMail: Halton Huo Sun COM
# HG changeset patch
# User halton judo
# Date 1193717370 -28800
# Node ID ff818f6e498d0fbab37dcb4d6eed021520f61784
# 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 ff818f6e498d ChangeLog
--- a/ChangeLog Fri Oct 26 09:59:54 2007 -0400
+++ b/ChangeLog Tue Oct 30 12:09:30 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 ff818f6e498d src/Makefile.am
--- a/src/Makefile.am Fri Oct 26 09:59:54 2007 -0400
+++ b/src/Makefile.am Tue Oct 30 12:09:30 2007 +0800
@@ -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 ff818f6e498d 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]