[vlc-devel] [PATCH] Fix live555media libraries link order
Gilles Chanteperdrix
gilles.chanteperdrix at xenomai.org
Sat Nov 14 18:29:27 CET 2009
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.
---
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 00a89db..f3c0e13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1993,10 +1993,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])
--
1.5.6.5
More information about the vlc-devel
mailing list