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 -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