vlc-0.9-git w/ live555 - 64-bit linux compile

*nix specific usage questions
jchambers
Blank Cone
Blank Cone
Posts: 42
Joined: 11 May 2006 03:28
VLC version: 0.8.x 0.9.x
Operating System: Windows / Linux
Location: California, USA

vlc-0.9-git w/ live555 - 64-bit linux compile

Postby jchambers » 08 May 2008 20:06

Hello all. I am having a tough time installing vlc with live555 on my 64-bit linux box.

Code: Select all

./configure \ --with-live555-tree=/home/downloads/live555 \ --with-x264-tree=/home/downloads/x264 \ --enable-ffmpeg \ --with-ffmpeg-x264 \ --with-ffmpeg-a52 \ --with-ffmpeg-mp3lame \ --enable-mp3lame \ --enable-a52 \ --enable-libmpeg2 \ --enable-fb \ --enable-dvdread \ --enable-optimizations \ --enable-release \ --disable-v4l \ --disable-pvr \ --disable-mozilla \ --disable-visual \ --disable-x11 \ --disable-qt4 \ --disable-optimize-memory \ --disable-xvideo \ --disable-glx \ --disable-mad \ --disable-hd1000v \ --disable-bonjour \ --disable-taglib \ --disable-libcddb \ --disable-screen \ --disable-ogg \ --disable-mkv \ --disable-libtar \ --disable-vorbis \ --disable-png \ --disable-zvbi \ --disable-alsa \ --disable-libcdio \ --disable-libcddb \ --disable-lua \ --disable-hal \ --disable-dbus \ CFLAGS="-fPIC"

Code: Select all

./compile MAKE : po MAKE : libs/loader MAKE : libs/srtp MAKE : src MAKE : modules MAKE : access MAKE : bda MAKE : dshow MAKE : dvb MAKE : mms MAKE : cdda MAKE : rtsp MAKE : rtmp MAKE : v4l2 MAKE : vcd MAKE : vcdx MAKE : screen MAKE : access_filter MAKE : access_output MAKE : audio_filter MAKE : channel_mixer MAKE : converter MAKE : resampler MAKE : spatializer MAKE : audio_mixer MAKE : audio_output MAKE : codec MAKE : cmml MAKE : dmo MAKE : ffmpeg MAKE : subtitles MAKE : spudec MAKE : xvmc MAKE : control MAKE : http MAKE : demux LINK : liblive555_plugin.so /usr/bin/ld: /home/downloads/live555/UsageEnvironment/libUsageEnvironment.a: relocation R_X86_64_32S against `vtable for UsageEnvironment' can not be used when making a shared object; recompile with -fPIC /home/downloads/live555/UsageEnvironment/libUsageEnvironment.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [all] Error 2


live555
config.liux

Code: Select all

COMPILE_OPTS = $(INCLUDES) -I. -O2 -I -fPIC -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 C = c C_COMPILER = cc C_FLAGS = $(COMPILE_OPTS) CPP = cpp CPLUSPLUS_COMPILER = c++ CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1 -Wno-deprecated OBJ = o LINK = c++ -o LINK_OPTS = -L. CONSOLE_LINK_OPTS = $(LINK_OPTS) LIBRARY_LINK = ld -o LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic LIB_SUFFIX = a LIBS_FOR_CONSOLE_APPLICATION = LIBS_FOR_GUI_APPLICATION = EXE =
I added:
"-I -fPIC" to COMPILE_OPTS
"-Wno-deprecated" to CPLUSPLUS_FLAGS

The live555 make give no erros and live555 works on its own.
But I still get the above error when trying compile VLC with it.


Any and all help is appreciated.
Jon
none for now

jchambers
Blank Cone
Blank Cone
Posts: 42
Joined: 11 May 2006 03:28
VLC version: 0.8.x 0.9.x
Operating System: Windows / Linux
Location: California, USA

vlc-0.9-git w/ live555 - 64-bit linux compile [solved]

Postby jchambers » 08 May 2008 21:14

Got it!

Here is the config.linux file I used.

Code: Select all

COMPILE_OPTS = $(INCLUDES) -I. -O2 -I. -fPIC -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 C = c C_COMPILER = cc C_FLAGS = $(COMPILE_OPTS) CPP = cpp CPLUSPLUS_COMPILER = c++ CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1 -Wno-deprecated OBJ = o LINK = c++ -o LINK_OPTS = -L. CONSOLE_LINK_OPTS = $(LINK_OPTS) LIBRARY_LINK = ld -o LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic LIB_SUFFIX = a LIBS_FOR_CONSOLE_APPLICATION = LIBS_FOR_GUI_APPLICATION = EXE =

./genMakefiles linux
find . -name 'Makefile' -exec fix-makefile {} \;
make

Hope this helps
none for now


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 3 guests