[vlc] problems with compiling vlc-0.9.9 and live555

b-vol bvl at btconnect.com
Sun Apr 5 03:28:51 CEST 2009


Greetings,

I am experiencing some difficulty compiling vlc-0.9.9.  The problem is 
live555.  (The host runs linux (64-bit  AMD64, kernel 2.6.27.7 gcc4.3.2).  

I compiled live555 (64-bit with fPIC)  as follows:-

tar xzvf  live.2008.12.20.tar.gz
cd  live
./genMakefiles linux
 CFLAGS="$CFLAGS $BUILD64" CC="gcc -fPIC" CXX="g++ -fPIC"  make
cd ..
cp -fR  live /usr/lib/


#######compiler output######
c++ -c -I../UsageEnvironment/include -I../groupsock/include -I../liveMedia/include -I../BasicUsageEnvironment/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -DBSD=1 
live555MediaServer.cpp
c++ -c -I../UsageEnvironment/include -I../groupsock/include -I../liveMedia/include -I../BasicUsageEnvironment/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -DBSD=1 
DynamicRTSPServer.cpp
DynamicRTSPServer.cpp: In function 'ServerMediaSession* 
createNewSMS(UsageEnvironment&, const char*, FILE*)':
DynamicRTSPServer.cpp:98: warning: deprecated conversion from string constant 
to 'char*'
DynamicRTSPServer.cpp:102: warning: deprecated conversion from string constant 
to 'char*'
DynamicRTSPServer.cpp:106: warning: deprecated conversion from string constant 
to 'char*'
DynamicRTSPServer.cpp:110: warning: deprecated conversion from string constant 
to 'char*'
DynamicRTSPServer.cpp:131: warning: deprecated conversion from string constant 
to 'char*'
DynamicRTSPServer.cpp:142: warning: deprecated conversion from string constant 
to 'char*'
DynamicRTSPServer.cpp:147: warning: deprecated conversion from string constant 
to 'char*'
c++ -olive555MediaServer -L. live555MediaServer.o 
DynamicRTSPServer.o ../liveMedia/libliveMedia.a ../groupsock/libgroupsock.a ../UsageEnvironment/libUsageEnvironment.a ../BasicUsageEnvironment/libBasicUsageEnvironment.a 


######  for volc-0.9.0  I do the foll##############
./configure  --enable-goom --enable-flac --with-live555-tree=/usr/lib/live 

####the compiler ouputs#######
/usr/bin/ld: /usr/lib/live/UsageEnvironment/libUsageEnvironment.a: relocation 
R_X86_64_32S against `vtable for UsageEnvironment' can not be used when 
making a shared object; recompile with -fPIC
/usr/lib/live/UsageEnvironment/libUsageEnvironment.a: could not read symbols: 
Bad value
collect2: ld returned 1 exit status
make[5]: *** [liblive555_plugin.la] Error 1




help will be appreciated

b-vol










-- 

###################################
“Common sense teaches that booksellers should not speculate in hops, 
or bankers in turpentine; that railways should not be promoted by maiden 
ladies, or canals by beneficed clergymen ....”
Walter Bagehot-economist: 1826-1877 



More information about the vlc mailing list