[vlc-devel] commit: Fix live555media libraries link order (Gilles Chanteperdrix )

git version control git at videolan.org
Sun Dec 6 19:05:09 CET 2009


vlc | branch: 1.0-bugfix | Gilles Chanteperdrix <gilles.chanteperdrix at xenomai.org> | Sat Nov 14 18:29:27 2009 +0100| [090751175a2b47c8acb072ca438d042f9ef3f2e7] | committer: Christophe Mutricy 

Fix live555media libraries link order

Since at least vlc 1.0.2, compiling vlc with a static version of a
recent version of the live555media library (the version released on
2009/11/12 for instance) results in the following warning while loading
the liblive555_plugin.so module:

[0x1901090] main libvlc warning: cannot load module `/usr/local/lib/vlc/demux/liblive555_plugin.so' (/usr/local/lib/vlc/demux/liblive555_plugin.so: undefined symbol: _ZTI9HashTable)

This warning is due to an error in the link order of the
live555_plugin, fixed by the following patch.

Signed-off-by: Christophe Mutricy <xtophe at videolan.org>
(cherry picked from commit 1d463ae8904bfbaa27bcde42de59623ac5f6e185)

Signed-off-by: Christophe Mutricy <xtophe at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=090751175a2b47c8acb072ca438d042f9ef3f2e7
---

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index deb4408..160da61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2008,10 +2008,10 @@ lternatively you can use --disable-live555 to disable the liveMedia plugin.])
         VLC_ADD_LIBS([live555],[-lws2_32])
       fi
 
-      VLC_ADD_LIBS([live555],[-L${real_live555_tree}/liveMedia -lliveMedia])
+      VLC_ADD_LIBS([live555],[-L${real_live555_tree}/UsageEnvironment -lUsageEnvironment])
       VLC_ADD_LIBS([live555],[-L${real_live555_tree}/BasicUsageEnvironment -lBasicUsageEnvironment])
       VLC_ADD_LIBS([live555],[-L${real_live555_tree}/groupsock -lgroupsock])
-      VLC_ADD_LIBS([live555],[-L${real_live555_tree}/UsageEnvironment -lUsageEnvironment])
+      VLC_ADD_LIBS([live555],[-L${real_live555_tree}/liveMedia -lliveMedia])
 
       VLC_ADD_CXXFLAGS([live555],[-I${real_live555_tree}/BasicUsageEnvironment/include])
       VLC_ADD_CXXFLAGS([live555],[-I${real_live555_tree}/groupsock/include])




More information about the vlc-devel mailing list