[asterisk-commits] pcadach: branch pcadach/chan_h323-live r41812 -
/team/pcadach/chan_h323-live/...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sat Sep 2 11:46:15 MST 2006
Author: pcadach
Date: Sat Sep 2 13:46:15 2006
New Revision: 41812
URL: http://svn.digium.com/view/asterisk?rev=41812&view=rev
Log:
Do not export any symbols from chan_h323 to not create cross-bindings
on module load between chan_h323 and openh323/pwlib libraries because
some classes from openh323/pwlib automatically generates code in chan_h323
too. Forced unload of chan_h323 breaks bindings on openh323/pwlib and
causes crashes on Asterisk shutdown.
Good reading about DSO in GNU/UNIX environment is Ulrich Drepper's book "How
to write shared libraries" (http://people.redhat.com/drepper/dsohowto.pdf)
Added:
team/pcadach/chan_h323-live/channels/noexport.map (with props)
Modified:
team/pcadach/chan_h323-live/channels/Makefile
Modified: team/pcadach/chan_h323-live/channels/Makefile
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/Makefile?rev=41812&r1=41811&r2=41812&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/Makefile (original)
+++ team/pcadach/chan_h323-live/channels/Makefile Sat Sep 2 13:46:15 2006
@@ -65,6 +65,7 @@
ifneq ($(wildcard h323/Makefile.ast),)
include h323/Makefile.ast
+H323LDFLAGS += -Wl,--version-script=noexport.map
else
h323/libchanh323.a:
$(CMD_PREFIX) $(MAKE) -C h323
Added: team/pcadach/chan_h323-live/channels/noexport.map
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/noexport.map?rev=41812&view=auto
==============================================================================
--- team/pcadach/chan_h323-live/channels/noexport.map (added)
+++ team/pcadach/chan_h323-live/channels/noexport.map Sat Sep 2 13:46:15 2006
@@ -1,0 +1,3 @@
+{
+ local: *;
+};
Propchange: team/pcadach/chan_h323-live/channels/noexport.map
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: team/pcadach/chan_h323-live/channels/noexport.map
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: team/pcadach/chan_h323-live/channels/noexport.map
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-commits
mailing list