[vlc-devel] linking vlc with livemedia
Tom Van Leeuwen
tom.vanleeuwen at intec.ugent.be
Wed Aug 10 12:53:37 CEST 2005
Hello,
I am trying to link one of the latest vlc snapshot (200050807) with the
latest live media libraries (20050809) because the stable vlc version
0.8.2 has no support for RTP AVC video streaming.
I have sucessfully compiled live media with gcc/g++ 3.3.5 and the test
programs seem to work. However when I compile vlc with the mingw
crosscompiler (mingw-gcc3.3.1-linux-crosscompiler.tar.bz2) on linux, I
get the following error messages. It seems that linking vlc with the
live media libraries cause some 'undefined references':
i586-mingw32msvc-windres -DVERSION=snapshot-20050807
-DVERSION_NUMBER=`echo snapshot-20050807.0.0.0 | sed
's/\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\)[^.]*\.*\([0-9]*\).*/\1,\2,\3,\4/'`
--include-dir ./share -i share/vlc_win32_rc.rc -o share/vlc_win32_rc.o
i586-mingw32msvc-g++ -Wsign-compare -Wsign-compare -Wall -mms-bitfields
-pipe -L/usr/win32/lib -o vlc.exe src/vlc-vlc.o
./modules/misc/memcpy/libmemcpymmx.a
./modules/video_chroma/libi420_rgb_mmx.a
./modules/video_chroma/libi422_yuy2_mmx.a
./modules/video_chroma/libi420_ymga_mmx.a
./modules/video_chroma/libi420_yuy2_mmx.a
./modules/misc/memcpy/libmemcpymmxext.a
./modules/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblivedotcom.a
./modules/mux/mpeg/libmux_ts.a ./modules/codec/ffmpeg/libffmpeg.a
./modules/stream_out/libstream_out_switcher.a -L/usr/local/lib -g
-lkernel32 /usr/win32/lib/libiconv.a /usr/win32/lib/libintl.a
/usr/win32/lib/libiconv.a -lws2_32 -lnetapi32 -lwinmm -mwindows
-L/usr/win32/lib -L/work/live/UsageEnvironment -lUsageEnvironment
-L/work/live/groupsock -lgroupsock -L/work/live/BasicUsageEnvironment
-lBasicUsageEnvironment -L/work/live/liveMedia -lliveMedia -lws2_32
-ldvbpsi -lavformat -lz -lavcodec -lz -lfaac -lmp3lame
./modules/demux/liblivedotcom.a(liblivedotcom_a-livedotcom.o)(.text+0x50):
In function `Z41__static_initialization_and_destruction_0ii':
/work/live/BasicUsageEnvironment/include/DelayQueue.hh:114: undefined
reference to `SECOND'
./modules/demux/liblivedotcom.a(liblivedotcom_a-livedotcom.o)(.text+0x5c):/work/live/BasicUsageEnvironment/include/DelayQueue.hh:114:
undefined reference to `operator*(short, DelayInterval const&)'
./modules/demux/liblivedotcom.a(liblivedotcom_a-livedotcom.o)(.text+0x80):/work/live/BasicUsageEnvironment/include/DelayQueue.hh:115:
undefined reference to `operator*(short, DelayInterval const&)'
./modules/demux/liblivedotcom.a(liblivedotcom_a-livedotcom.o)(.text+0xa4):/work/live/BasicUsageEnvironment/include/DelayQueue.hh:116:
undefined reference to `operator*(short, DelayInterval const&)'
./modules/demux/liblivedotcom.a(liblivedotcom_a-livedotcom.o)(.text+0xa93):
In function `Z4OpenP12vlc_object_t':
/work/vlc-snapshot-20050807/modules/demux/livedotcom.cpp:237: undefined
reference to `BasicTaskScheduler::createNew()'
Has someone tried this before and if so can give me some pointers on how
to solve this ?
It would also be helpful if someone of the VLC gurus could update the
contributing sources (contrib-20040902-win32-bin-gcc3.3.1-only.tar.bz2)
because this is one is out of date for some time now.
Thanks,
TVL
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list