[streaming] trying to compile for streaming

Ed _ ed_b_71 at hotmail.com
Sat Jul 22 02:35:48 CEST 2006


Trying to compile vlc for streaming on a Fedor 4 core - and not too good at 
programming so any help pointers would be appreciated. I have been 
downloading the dependencies and am stuck at the compile.

0. kernel
2.6.17-1.2142_FC4 #1 Tue Jul 11 22:41:14 EDT 2006 i686 i686 i386 GNU/Linux

1. Code is from svn
svn co svn://svn.videolan.org/vlc/trunk vlc-trunk

Use the following config - guess throwing it all in
../configure --enable-hal --enable-mkv --enable-lived555 --enable-faad 
--enable-flac --disable-speex --enable-theora --enable-debug 
--enable-release --disable-altivec --disable-shared-libvlc --enable-sout 
--enable-shout --enable-httpd --enable-vlm --enable-growl --enable-dv 
--enable-dvdread --enable-dvdnav --enable-smb --enable-dvbpsi --enable-pvr 
--disable-libcdio --enable-ffmpeg --enable-a52 --enable-real 
--enable-realrtsp --enable-dts --enable-libmpeg2 --enable-vorbis 
--enable-png --enable-x11 --enable-xvideo --enable-glx --enable-opengl 
--enable-sdl --enable-freetype --enable-fribidi --enable-libxml2 
--enable-snapshot --enable-gnutls --enable-xosd --enable-ncurses 
--enable-wxwidgets --enable-release --disable-macosx --enable-v4l 
--with-live555-tree=/opt/live --with-ffmpeg-tree=/opt/ffmpeg

3. ffmpeg also the latest svn compiles just fine  with the following 
configuration
./configure --enable-mp3lame --enable-libogg --enable-vorbis --enable-faad 
--enable-faac --enable-xvid --enable-a52 --enable-amr_nb --enable-x264 
--enable-dts --enable-pp --enable-gpl

4. I get the followign compile error -
gcc -Wsign-compare -Wall -pipe -o vlc vlc-vlc.o -g  src/libvlc.a 
./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/codec/ffmpeg/libffmpeg.a 
./modules/stream_out/libstream_out_switcher.a ./modules/codec/libtheora.a 
./modules/codec/libx264.a -L/usr/local/lib -lhal -ldbus-1 -lrt -lpthread 
-ldl -L/opt/ffmpeg/libavformat /opt/ffmpeg/libavformat/libavformat.a 
-L/opt/ffmpeg/libavcodec /opt/ffmpeg/libavcodec/libavcodec.a 
-L/opt/ffmpeg/libavutil /opt/ffmpeg/libavutil/libavutil.a -lxvidcore -lfaad 
-ldts_pic -lfaac -lmp3lame -lz -L/opt/ffmpeg/libpostproc 
/opt/ffmpeg/libpostproc/libpostproc.a -ltheora /usr/lib/libogg.so -lx264 
-L/opt/x264 -lm
/opt/ffmpeg/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x17): In function 
`oggvorbis_encode_init':
/opt/ffmpeg/libavcodec/oggvorbis.c:70: undefined reference to 
`vorbis_info_init'/opt/ffmpeg/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x3e):/opt/ffmpeg/libavcodec/oggvorbis.c:37: 
undefined reference to `vorbis_encode_setup_vbr'

now /usr/include/vorbis/*.h does have the defined.


-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list